Home
last modified time | relevance | path

Searched refs:testCallback (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/
DMmTelFeatureConnectionTest.java121 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/
DTestableScheduler.h147 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/
DMeasuredParagraph.java578 @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/
DBackgroundInstallControlServiceTest.java124 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/
DTelephonyConfigUpdateInstallReceiverTest.java269 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/
DScrimManagerTest.java80 public void testCallback() { in testCallback() method in ScrimManagerTest
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
DAccessibilityValidatorTests.java262 LayoutLibTestCallback testCallback = in testClassLoaderOverride() local
286 }, true, testCallback); in testClassLoaderOverride()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DServiceListingTest.java151 public void testCallback() { in testCallback() method in ServiceListingTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java197 public void testCallback() { in testCallback() method in ExtensionControllerImplTest
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayStateControllerTest.java99 public void testCallback() { in testCallback() method in DreamOverlayStateControllerTest
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAccessNetworksManagerTest.java274 public void testCallback() throws Exception { in testCallback() method in AccessNetworksManagerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextManagerTest.java338 public void testCallback() { in testCallback() method in CarrierTextManagerTest
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionDatabaseManagerTest.java2198 public void testCallback() { in testCallback() method in SubscriptionDatabaseManagerTest