Searched refs:optionsCaptor (Results 1 – 3 of 3) sorted by relevance
71 final ArgumentCaptor<ActivityOptions> optionsCaptor = in startRecentsActivity_allowBackgroundLaunch() local73 verify(mSystemUiProxy).startRecentsActivity(any(), optionsCaptor.capture(), any()); in startRecentsActivity_allowBackgroundLaunch()74 assertTrue(optionsCaptor.getValue() in startRecentsActivity_allowBackgroundLaunch()
103 ArgumentCaptor<ForegroundServiceDelegationOptions> optionsCaptor = in testVerifyForegroundServiceTypesBeingPassedToActivityManager() local109 optionsCaptor.capture(), any(ServiceConnection.class)); in testVerifyForegroundServiceTypesBeingPassedToActivityManager()115 optionsCaptor.getValue().mForegroundServiceTypes); in testVerifyForegroundServiceTypesBeingPassedToActivityManager()
1295 final ArgumentCaptor<MdnsSearchOptions> optionsCaptor = in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes() local1298 optionsCaptor.capture()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()1299 assertEquals(Collections.singletonList("subtype"), optionsCaptor.getValue().getSubtypes()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()1318 final ArgumentCaptor<MdnsSearchOptions> optionsCaptor = in testResolutionWithMdnsDiscoveryManager() local1322 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() local1679 optionsCaptor.capture()); in testStopServiceResolutionWithMdnsDiscoveryManager()1680 assertEquals(network, optionsCaptor.getValue().getNetwork()); in testStopServiceResolutionWithMdnsDiscoveryManager()[all …]