Searched refs:mTestCallback (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderControllerTest.java | 111 private TestCallback mTestCallback; field in LocationTimeZoneProviderControllerTest 123 mTestCallback = new TestCallback(mTestThreadingDomain); in setUp() 154 controller.initialize(testEnvironment, mTestCallback); in initializationFailure_primary() 166 mTestCallback.assertEventWithNoSuggestionReportedAndCommit( in initializationFailure_primary() 185 controller.initialize(testEnvironment, mTestCallback); in initializationFailure_secondary() 197 mTestCallback.assertEventWithNoSuggestionReportedAndCommit( in initializationFailure_secondary() 215 controller.initialize(testEnvironment, mTestCallback); in initializationFailure_both() 225 mTestCallback.assertEventWithNoSuggestionReportedAndCommit( in initializationFailure_both() 242 controller.initialize(testEnvironment, mTestCallback); in initialState_started() 254 mTestCallback.assertEventWithNoSuggestionReportedAndCommit( in initialState_started() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsServiceTest.java | 70 private IImsFeatureStatusCallback mTestCallback; field in ImsServiceTest 76 mTestCallback = mock(IImsFeatureStatusCallback.class); in setUp() 78 when(mTestCallback.asBinder()).thenReturn(mImsFeatureStatusCallbackBinder); in setUp() 92 mTestCallback = null; in tearDown() 105 mTestCallback); in testCreateMMTelFeatureCompat() 122 .addImsFeatureStatusCallback(eq(mTestCallback)); in testCreateMMTelFeatureCompat() 132 mTestCallback); in testNotCreateMMTelFeatureCompat() 149 .addImsFeatureStatusCallback(eq(mTestCallback)); in testNotCreateMMTelFeatureCompat() 155 mTestCallback); in testNotCreateMMTelFeatureCompat() 158 .addImsFeatureStatusCallback(eq(mTestCallback)); in testNotCreateMMTelFeatureCompat() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | SetAudioVolumeLevelDiscoveryActionTest.java | 73 private TestCallback mTestCallback; field in SetAudioVolumeLevelDiscoveryActionTest 123 mTestCallback = new TestCallback(); in setUp() 125 Constants.ADDR_TV, mTestCallback); in setUp() 166 assertThat(mTestCallback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 186 assertThat(mTestCallback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported() 203 assertThat(mTestCallback.getResult()).isEqualTo( in messageFailedToSend_actionFailsAndDoesNotUpdateFeatureSupport()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 94 private StubbedCallback mTestCallback; field in SuspendPackagesTest 184 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedNewAndOld() 215 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedNewAndOld() 229 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedOld() 248 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedOld() 297 if (mTestCallback != null) { in tearDown() 298 mLauncherApps.unregisterCallback(mTestCallback); in tearDown()
|
/frameworks/av/services/audiopolicy/tests/ |
D | spatializer_tests.cpp | 47 mSpatializer = Spatializer::create(&mTestCallback, effectsFactoryHal); in SetUp() 108 TestSpatializerPolicyCallback mTestCallback; member in SpatializerTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 253 private KeyguardUpdateMonitorCallback mTestCallback; field in KeyguardUpdateMonitorTest 382 mKeyguardUpdateMonitor.registerCallback(mTestCallback); in setupBiometrics() 648 verify(mTestCallback, times(1)).onRefreshCarrierInfo(); in serviceProvidersUpdated_broadcastTriggersInfoRefresh() 660 verify(mTestCallback, times(2)).onRefreshCarrierInfo(); in serviceProvidersUpdated_broadcastTriggersInfoRefresh() 827 verify(mTestCallback).onBiometricDetected( in whenDetectFingerprint_biometricDetectCallback() 829 verify(mTestCallback, never()).onBiometricAuthenticated( in whenDetectFingerprint_biometricDetectCallback() 844 verify(mTestCallback).onBiometricError( in whenDetectFingerprint_detectError() 846 verify(mTestCallback, never()).onBiometricAuthenticated( in whenDetectFingerprint_detectError() 857 verify(mTestCallback).onBiometricDetected( in whenDetectFace_biometricDetectCallback() 859 verify(mTestCallback, never()).onBiometricAuthenticated( in whenDetectFace_biometricDetectCallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CachedAppOptimizer.java | 296 private PropertyChangedCallbackForTest mTestCallback; field in CachedAppOptimizer 408 if (mTestCallback != null) { 409 mTestCallback.onPropertyChanged(); 435 if (mTestCallback != null) { 436 mTestCallback.onPropertyChanged(); 680 mTestCallback = callback; in CachedAppOptimizer()
|