Home
last modified time | relevance | path

Searched refs:optionsCaptor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaskAnimationManagerTest.java71 final ArgumentCaptor<ActivityOptions> optionsCaptor = in startRecentsActivity_allowBackgroundLaunch() local
73 verify(mSystemUiProxy).startRecentsActivity(any(), optionsCaptor.capture(), any()); in startRecentsActivity_allowBackgroundLaunch()
74 assertTrue(optionsCaptor.getValue() in startRecentsActivity_allowBackgroundLaunch()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallMonitorTest.java103 ArgumentCaptor<ForegroundServiceDelegationOptions> optionsCaptor = in testVerifyForegroundServiceTypesBeingPassedToActivityManager() local
109 optionsCaptor.capture(), any(ServiceConnection.class)); in testVerifyForegroundServiceTypesBeingPassedToActivityManager()
115 optionsCaptor.getValue().mForegroundServiceTypes); in testVerifyForegroundServiceTypesBeingPassedToActivityManager()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1295 final ArgumentCaptor<MdnsSearchOptions> optionsCaptor = in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes() local
1298 optionsCaptor.capture()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()
1299 assertEquals(Collections.singletonList("subtype"), optionsCaptor.getValue().getSubtypes()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()
1318 final ArgumentCaptor<MdnsSearchOptions> optionsCaptor = in testResolutionWithMdnsDiscoveryManager() local
1322 optionsCaptor.capture()); in testResolutionWithMdnsDiscoveryManager()
1323 assertEquals(network, optionsCaptor.getValue().getNetwork()); in testResolutionWithMdnsDiscoveryManager()
1325 assertEquals(Collections.emptyList(), optionsCaptor.getValue().getSubtypes()); in testResolutionWithMdnsDiscoveryManager()
1675 final ArgumentCaptor<MdnsSearchOptions> optionsCaptor = in testStopServiceResolutionWithMdnsDiscoveryManager() local
1679 optionsCaptor.capture()); in testStopServiceResolutionWithMdnsDiscoveryManager()
1680 assertEquals(network, optionsCaptor.getValue().getNetwork()); in testStopServiceResolutionWithMdnsDiscoveryManager()
[all …]