android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr fd87fb65fb Use completeExceptionally instead of second future
The onError callback can use the same future as the onResult callback by
calling completeExceptionally.
This change is also removing the test for a specific exception message.
Testing for a specific exception message would mean that tests break if we
ever were to update them. If we decide that there is value to
distinguish between different types of
EthernetNetworkManagementException we should probably subclass it
internally.

Test: atest EthernetNetworkFactoryTest
Change-Id: Ib6f8cf79fc26e0f856c880cbe505b101f12aa187
2022-04-04 14:59:42 +02:00
..
connectivity Merge "Revert "Use RECEIVER_NOT_EXPORTED in CarrierPrivilegeAuthenticator."" 2022-03-31 01:39:28 +00:00
ethernet Use completeExceptionally instead of second future 2022-04-04 14:59:42 +02:00
net Use Sources.bp for building 2022-03-25 14:58:43 +00:00
BpfNetMapsTest.java Merge "Remove ConnectivityManager swapActiveStatsMap API" 2022-03-08 06:31:23 +00:00
ConnectivityServiceTest.java Merge "Add tests for VPN validation in NetworkMonitor" 2022-03-28 13:51:34 +00:00
IpSecServiceParameterizedTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
IpSecServiceRefcountedResourceTest.java Change to use Dependencies in IpSecService Tests 2021-11-27 00:27:33 +08:00
IpSecServiceTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NativeDaemonConnectorTest.java Move f/b/packages/Nsd files to f/b/packages/ConnectivityT 2021-12-09 16:22:00 +08:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Split updateMeteredNetwork{Allow, Deny}List into add and remove 2022-03-09 11:17:27 +08:00
NsdServiceTest.java Add APIs for discover/resolve on specific networks 2022-02-03 16:05:02 +09:00