Searched refs:listener1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 851 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/ |
D | dumpstate_smoke_test.cpp | 572 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/ |
D | PeopleServiceTest.java | 193 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/ |
D | BiometricSchedulerTest.java | 143 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()
|