Home
last modified time | relevance | path

Searched refs:listener1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java851 ILocationListener listener1 = createMockLocationListener(); in testProviderRequest() local
854 mManager.registerLocationRequest(request1, IDENTITY, PERMISSION_FINE, listener1); in testProviderRequest()
875 mManager.unregisterLocationRequest(listener1); in testProviderRequest()
892 ILocationListener listener1 = createMockLocationListener(); in testProviderRequest_DelayedRequest() local
896 mManager.registerLocationRequest(request1, IDENTITY, PERMISSION_FINE, listener1); in testProviderRequest_DelayedRequest()
898 verify(listener1).onLocationChanged(any(List.class), in testProviderRequest_DelayedRequest()
912 ILocationListener listener1 = createMockLocationListener(); in testProviderRequest_SpamRequesting() local
917 mManager.registerLocationRequest(request1, IDENTITY, PERMISSION_FINE, listener1); in testProviderRequest_SpamRequesting()
919 mManager.unregisterLocationRequest(listener1); in testProviderRequest_SpamRequesting()
921 mManager.registerLocationRequest(request1, IDENTITY, PERMISSION_FINE, listener1); in testProviderRequest_SpamRequesting()
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp572 sp<DumpstateListener> listener1(new DumpstateListener(dup(fileno(stdout)))); in TEST_F() local
575 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener1, true); in TEST_F()
588 WaitTillExecutionComplete(listener1.get()); in TEST_F()
593 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
594 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java193 TestableConversationListener listener1 = new TestableConversationListener(); in testUnregisterConversationListener() local
195 listener1); in testUnregisterConversationListener()
211 listener1); in testUnregisterConversationListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java143 final ClientMonitorCallbackConverter listener1 = mock(ClientMonitorCallbackConverter.class); in testRemovesOnlyBiometricPromptOperation_whenNullHal() local
146 new BiometricPromptClientMonitor(mContext, mToken, lazyDaemon1, listener1); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
168 verify(listener1).onError(eq(TEST_SENSOR_ID), anyInt(), in testRemovesOnlyBiometricPromptOperation_whenNullHal()