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.java61 private IImsFeatureStatusCallback mTestCallback; field in ImsServiceTest
66 mTestCallback = mock(IImsFeatureStatusCallback.class); in setUp()
75 mTestCallback = null; in tearDown()
83 IImsMmTelFeature f = mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testCreateMMTelFeature()
97 verify(mTestImsService.mSpyMmTelFeature).addImsFeatureStatusCallback(eq(mTestCallback)); in testCreateMMTelFeature()
104 mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testRemoveMMTelFeature()
107 mTestCallback); in testRemoveMMTelFeature()
110 verify(mTestImsService.mSpyMmTelFeature).removeImsFeatureStatusCallback(mTestCallback); in testRemoveMMTelFeature()
118 IImsMmTelFeature f = mTestImsServiceBinder.createMmTelFeature(TEST_SLOT_0, mTestCallback); in testCallMethodOnCreatedFeature()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java110 private StubbedCallback mTestCallback; field in SuspendPackagesTest
384 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedNewAndOld()
415 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedNewAndOld()
430 mTestCallback = new StubbedCallback() { in testOnPackagesSuspendedOld()
449 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedOld()
582 if (mTestCallback != null) { in tearDown()
583 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()