Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsServiceTest.java63 private IImsFeatureStatusCallback mTestCallback; field in ImsServiceTest
69 mTestCallback = mock(IImsFeatureStatusCallback.class); in setUp()
71 when(mTestCallback.asBinder()).thenReturn(mImsFeatureStatusCallbackBinder); in setUp()
80 mTestCallback = null; in tearDown()
88 IImsMmTelFeature f = mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testCreateMMTelFeature()
102 verify(mTestImsService.mSpyMmTelFeature).addImsFeatureStatusCallback(eq(mTestCallback)); in testCreateMMTelFeature()
109 mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testRemoveMMTelFeature()
112 mTestCallback); in testRemoveMMTelFeature()
115 verify(mTestImsService.mSpyMmTelFeature).removeImsFeatureStatusCallback(mTestCallback); in testRemoveMMTelFeature()
123 IImsMmTelFeature f = mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testCallMethodOnCreatedFeature()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java112 private StubbedCallback mTestCallback; field in SuspendPackagesTest
386 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedNewAndOld()
417 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedNewAndOld()
432 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedOld()
451 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedOld()
598 if (mTestCallback != null) { in tearDown()
599 mLauncherApps.unregisterCallback(mTestCallback); in tearDown()
/frameworks/base/services/core/java/com/android/server/am/
DAppCompactor.java108 private PropertyChangedCallbackForTest mTestCallback; field in AppCompactor
157 if (mTestCallback != null) {
158 mTestCallback.onPropertyChanged();
227 mTestCallback = callback; in AppCompactor()