Home
last modified time | relevance | path

Searched refs:TestCallback (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/
DMmTelFeatureConnectionTest.java44 private class TestCallback extends Binder implements IInterface { class in MmTelFeatureConnectionTest
53 ImsCallbackAdapterManager<TestCallback> {
55 List<TestCallback> mCallbacks = new ArrayList<>();
65 public void registerCallback(TestCallback localCallback) { in registerCallback()
74 public void unregisterCallback(TestCallback localCallback) { in unregisterCallback()
81 public boolean doesCallbackExist(TestCallback callback) { in doesCallbackExist()
121 TestCallback testCallback = new TestCallback(); in testCallbackAdapter_addAndRemoveCallback()
136 TestCallback testCallback = new TestCallback(); in testCallbackAdapter_addCallbackForSubAndRemove()
152 TestCallback testCallback1 = new TestCallback(); in testCallbackAdapter_closeSub()
169 TestCallback testCallback1 = new TestCallback(); in testCallbackAdapter_closeSlotBasedCallbacks()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DDisplayTrackerImplTest.kt89 tracker.addDisplayChangeCallback(TestCallback(), executor) in registerCallback_registersDisplayListener()
95 tracker.addBrightnessChangeCallback(TestCallback(), executor) in registerBrightnessCallback_registersDisplayListener()
102 val callback1 = TestCallback() in unregisterCallback_displayListenerStillRegistered()
104 tracker.addDisplayChangeCallback(TestCallback(), executor) in unregisterCallback_displayListenerStillRegistered()
112 val callback = TestCallback() in unregisterLastCallback_unregistersDisplayListener()
122 val callback = TestCallback() in callbackCalledOnDisplayAdd()
132 val callback = TestCallback() in callbackCalledOnDisplayRemoved()
142 val callback = TestCallback() in callbackCalledOnDisplayChanged()
152 val callback = TestCallback() in callbackCalledOnBrightnessChanged()
159 private class TestCallback : DisplayTracker.Callback { class
DUserTrackerImplTest.kt328 val callback = TestCallback() in <lambda>()
339 val callback = TestCallback() in <lambda>()
366 val callback = TestCallback() in <lambda>()
391 val callback = TestCallback() in <lambda>()
412 val callback = TestCallback() in <lambda>()
446 val callback = TestCallback() in <lambda>()
467 private class TestCallback : UserTracker.Callback { in <lambda>() class
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DDeviceSelectActionFromPlaybackTest.java241 private static class TestCallback extends IHdmiControlCallback.Stub { class in DeviceSelectActionFromPlaybackTest
257 TestCallback callback, in createDeviceSelectActionFromPlayback()
273 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
295 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
321 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b()
349 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b()
376 TestCallback callback = new TestCallback(); in testDeviceSelect_ReachmSetStreamPath_Cec14b()
404 TestCallback callback = new TestCallback(); in testDeviceSelect_ReachmSetStreamPathDeviceInPowerOnStatus_Cec20()
427 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
444 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
[all …]
DDeviceSelectActionFromTvTest.java196 private static class TestCallback extends IHdmiControlCallback.Stub { class in DeviceSelectActionFromTvTest
211 TestCallback callback, in createDeviceSelectAction()
226 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
247 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
273 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b()
300 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b()
328 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
344 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
367 TestCallback callback = new TestCallback(); in testDeviceSelect_DeviceInStandbyStatus_Cec20()
DOneTouchPlayActionTest.java137 TestActionTimer actionTimer, TestCallback callback, boolean isCec20) { in createOneTouchPlayAction()
152 TestCallback callback = new TestCallback(); in succeedWithUnknownTvDevice()
201 TestCallback callback = new TestCallback(); in succeedAfterGettingPowerStatusOn_Cec14b()
250 TestCallback callback = new TestCallback(); in succeedAfterGettingTransientPowerStatus_Cec14b()
312 TestCallback callback = new TestCallback(); in timeOut_Cec14b()
359 TestCallback callback = new TestCallback(); in succeedIfPowerStatusOn_Cec20()
396 TestCallback callback = new TestCallback(); in succeedIfPowerStatusUnknown_Cec20()
446 TestCallback callback = new TestCallback(); in succeedIfPowerStatusStandby_Cec20()
488 TestCallback callback = new TestCallback(); in succeedWithAddressNotAllocated_Cec14b()
530 TestCallback callback = new TestCallback(); in succeedWithAddressAllocated_Cec14b()
[all …]
DHdmiCecLocalDeviceTvTest.java243 private static class TestCallback extends IHdmiControlCallback.Stub { class in HdmiCecLocalDeviceTvTest
1368 TestCallback callback = new TestCallback(); in startArcAction_initiation_noAvr()
1387 TestCallback callback = new TestCallback(); in startArcAction_initiation_portNotConnected()
1405 TestCallback callback = new TestCallback(); in startArcAction_initiation_portDoesNotSupportArc()
1423 TestCallback callback = new TestCallback(); in startArcAction_initiation_indirectPhysicalAddress()
1443 TestCallback callback = new TestCallback(); in startArcAction_initiation_earcBlocksArc()
1465 TestCallback callback = new TestCallback(); in startArcAction_initiation_messageNotAcked()
1487 TestCallback callback = new TestCallback(); in startArcAction_initiation_timeout()
1511 TestCallback callback = new TestCallback(); in startArcAction_initiation_featureAbort()
1542 TestCallback callback = new TestCallback(); in startArcAction_initiation_success()
[all …]
DArcTerminationActionFromAvrTest.java57 private TestCallback mCallback;
120 mCallback = new TestCallback(); in setUp()
131 private static class TestCallback extends IHdmiControlCallback.Stub { class in ArcTerminationActionFromAvrTest
DSetAudioVolumeLevelDiscoveryActionTest.java73 private TestCallback mTestCallback;
123 mTestCallback = new TestCallback(); in setUp()
207 private static class TestCallback extends IHdmiControlCallback.Stub { class in SetAudioVolumeLevelDiscoveryActionTest
DHdmiCecLocalDeviceAudioSystemTest.java534 TestCallback callback = new TestCallback(); in handleRequestArcTerminate_callbackIsPreserved()
890 private static class TestCallback extends IHdmiControlCallback.Stub { class in HdmiCecLocalDeviceAudioSystemTest
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java86 private static class TestCallback extends FontsContract.FontRequestCallback { class in FontsContractE2ETest
119 final TestCallback callback = new TestCallback(); in typefaceCacheTest()
130 final TestCallback callback2 = new TestCallback(); in typefaceCacheTest()
141 final TestCallback callback3 = new TestCallback(); in typefaceCacheTest()
/frameworks/av/media/libaudiousecasevalidation/tests/
DUsecaseValidator-test.h38 class TestCallback : public UsecaseValidator::AttributesChangedCallback {
40 TestCallback() { in TestCallback() function
43 virtual ~TestCallback() { } in ~TestCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImplTest.kt72 controller.addCallback(TestCallback) in listeningUserChanges_isWorkModeEnabled_returnsTrue()
97 controller.addCallback(TestCallback) in callbackRemovedWhileDispatching_doesntCrash()
114 private object TestCallback : ManagedProfileController.Callback { object in com.android.systemui.statusbar.phone.ManagedProfileControllerImplTest
/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/
DAppFusePerfTest.java53 ParcelFileDescriptor.MODE_READ_ONLY, new TestCallback()); in testReadWriteFile()
65 new TestCallback()); in testReadWriteFile()
100 private static class TestCallback extends ProxyFileDescriptorCallback { class in AppFusePerfTest
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
DVtsFwkDisplayServiceV1_0TargetTest.cpp56 class TestCallback : public IEventCallback { class
89 cb = new TestCallback(); in SetUp()
97 sp<TestCallback> cb;
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java141 interface TestCallback { interface in ViewShowHidePerfTest
145 private void testParentWithChild(TestCallback callback) throws Throwable { in testParentWithChild()
/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt64 open class TestCallback : ParseInput.Callback { in createInput() class
74 mockCallback = spy(TestCallback()) in createInput()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java97 private static class TestCallback extends IImsServiceFeatureCallback.Stub { class in ImsServiceControllerTest
698 TestCallback cb = new TestCallback(); in testBindMoveToReady()
913 TestCallback cb = new TestCallback(); in testBindServiceAndAddRemoveEmergency()
1456 TestCallback cb = new TestCallback(); in validateMmTelFeatureExistsInCallback()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderControllerTest.java111 private TestCallback mTestCallback;
123 mTestCallback = new TestCallback(mTestThreadingDomain); in setUp()
1731 private static class TestCallback extends LocationTimeZoneProviderController.Callback { class in LocationTimeZoneProviderControllerTest
1735 TestCallback(ThreadingDomain threadingDomain) { in TestCallback() method in LocationTimeZoneProviderControllerTest.TestCallback