/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | MmTelFeatureConnectionTest.java | 121 TestCallback testCallback = new TestCallback(); in testCallbackAdapter_addAndRemoveCallback() local 122 mCallbackManagerUT.addCallback(testCallback); in testCallbackAdapter_addAndRemoveCallback() 123 assertTrue(mCallbackManagerUT.doesCallbackExist(testCallback)); in testCallbackAdapter_addAndRemoveCallback() 125 mCallbackManagerUT.removeCallback(testCallback); in testCallbackAdapter_addAndRemoveCallback() 126 assertFalse(mCallbackManagerUT.doesCallbackExist(testCallback)); in testCallbackAdapter_addAndRemoveCallback() 136 TestCallback testCallback = new TestCallback(); in testCallbackAdapter_addCallbackForSubAndRemove() local 138 mCallbackManagerUT.addCallbackForSubscription(testCallback, testSub); in testCallbackAdapter_addCallbackForSubAndRemove() 139 assertTrue(mCallbackManagerUT.doesCallbackExist(testCallback)); in testCallbackAdapter_addCallbackForSubAndRemove() 141 mCallbackManagerUT.removeCallback(testCallback); in testCallbackAdapter_addCallbackForSubAndRemove() 142 assertFalse(mCallbackManagerUT.doesCallbackExist(testCallback)); in testCallbackAdapter_addCallbackForSubAndRemove()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableScheduler.h | 147 std::function<void(bool isReset)>&& testCallback = nullptr) { 153 [this, testCallback] { 155 if (testCallback != nullptr) { 156 testCallback(true); 159 [this, testCallback] { 161 if (testCallback != nullptr) { 162 testCallback(false);
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 578 @Nullable StyleRunCallback testCallback) { in buildForStaticLayoutTest() argument 580 hyphenationMode, computeLayout, false, null, null, testCallback); in buildForStaticLayoutTest() 595 @Nullable StyleRunCallback testCallback) { in buildForStaticLayoutInternal() argument 615 start, end, builder, testCallback); in buildForStaticLayoutInternal() 636 spanEnd, builder, testCallback); in buildForStaticLayoutInternal() 767 @Nullable StyleRunCallback testCallback) { in applyReplacementRun() argument 783 if (testCallback != null) { in applyReplacementRun() 784 testCallback.onAppendReplacementRun(paint, end - start, width); in applyReplacementRun() 793 @Nullable StyleRunCallback testCallback) { in applyStyleRun() argument 813 if (testCallback != null) { in applyStyleRun() [all …]
|
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/ |
D | BackgroundInstallControlServiceTest.java | 124 IRemoteCallback testCallback = in testRegisterBackgroundInstallControlCallback() local 137 bics.registerBackgroundInstallCallback(testCallback); in testRegisterBackgroundInstallControlCallback() 153 IRemoteCallback testCallback = in testUnregisterBackgroundInstallControlCallback() local 166 bics.registerBackgroundInstallCallback(testCallback); in testUnregisterBackgroundInstallControlCallback() 167 bics.unregisterBackgroundInstallCallback(testCallback); in testUnregisterBackgroundInstallControlCallback()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/configupdate/ |
D | TelephonyConfigUpdateInstallReceiverTest.java | 269 ConfigProviderAdaptor.Callback testCallback = new ConfigProviderAdaptor.Callback() { in testRegisterUnRegisterCallback() local 277 testReceiver.registerCallback(executor, testCallback); in testRegisterUnRegisterCallback() 278 assertSame(testCallback, testReceiver.getCallbackMap().get(executor)); in testRegisterUnRegisterCallback() 280 testReceiver.unregisterCallback(testCallback); in testRegisterUnRegisterCallback()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/ |
D | ScrimManagerTest.java | 80 public void testCallback() { in testCallback() method in ScrimManagerTest
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/ |
D | AccessibilityValidatorTests.java | 262 LayoutLibTestCallback testCallback = in testClassLoaderOverride() local 286 }, true, testCallback); in testClassLoaderOverride()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ServiceListingTest.java | 151 public void testCallback() { in testCallback() method in ServiceListingTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 197 public void testCallback() { in testCallback() method in ExtensionControllerImplTest
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayStateControllerTest.java | 99 public void testCallback() { in testCallback() method in DreamOverlayStateControllerTest
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | AccessNetworksManagerTest.java | 274 public void testCallback() throws Exception { in testCallback() method in AccessNetworksManagerTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextManagerTest.java | 338 public void testCallback() { in testCallback() method in CarrierTextManagerTest
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/ |
D | SubscriptionDatabaseManagerTest.java | 2198 public void testCallback() { in testCallback() method in SubscriptionDatabaseManagerTest
|