Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyRegistryManagerTest.java519 TestTelephonyCallback testCb = new TestTelephonyCallback(queue); in testNotifyPreciseCallStateWithImsCall() local
523 (tm) -> tm.registerTelephonyCallback(context.getMainExecutor(), testCb)); in testNotifyPreciseCallStateWithImsCall()
560 (tm) -> tm.unregisterTelephonyCallback(testCb)); in testNotifyPreciseCallStateWithImsCall()
568 TestTelephonyCallback testCb = new TestTelephonyCallback(queue); in testNotifyPreciseCallStateWithCsCall() local
572 (tm) -> tm.registerTelephonyCallback(context.getMainExecutor(), testCb)); in testNotifyPreciseCallStateWithCsCall()
604 (tm) -> tm.unregisterTelephonyCallback(testCb)); in testNotifyPreciseCallStateWithCsCall()
612 TestTelephonyCallbackLegacy testCb = new TestTelephonyCallbackLegacy(queue); in testNotifyPreciseCallStateLegacyCallback() local
616 (tm) -> tm.registerTelephonyCallback(context.getMainExecutor(), testCb)); in testNotifyPreciseCallStateLegacyCallback()
648 (tm) -> tm.unregisterTelephonyCallback(testCb)); in testNotifyPreciseCallStateLegacyCallback()
715 TestTelephonyCallback testCb = new TestTelephonyCallback(queue); in testNotifyOutgoingEmergencyCall() local
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingTest.java1232 ImsCallingTest.TestTelephonyCallbackForCallStateChange testCb = in testNotifyCallStateChanged() local
1237 sTelephonyManager.registerTelephonyCallback(Runnable::run, testCb); in testNotifyCallStateChanged()
1244 sTelephonyManager, (tm) -> tm.registerTelephonyCallback(Runnable::run, testCb)); in testNotifyCallStateChanged()
1316 ImsCallingTest.TestTelephonyCallback testCb = in testNotifyMediaCallStatusChanged() local
1321 sTelephonyManager.registerTelephonyCallback(Runnable::run, testCb); in testNotifyMediaCallStatusChanged()
1329 (tm) -> tm.registerTelephonyCallback(Runnable::run, testCb)); in testNotifyMediaCallStatusChanged()
1381 ImsCallingTest.TestTelephonyCallbackForCallStateChange testCb = in testOutGoingEmergencyCall() local
1384 sTelephonyManager, (tm) -> tm.registerTelephonyCallback(Runnable::run, testCb)); in testOutGoingEmergencyCall()
1386 testCb.setTestEmergencyNumber(TEST_EMERGENCY_NUMBER); in testOutGoingEmergencyCall()
1388 assertTrue(testCb.waitForTestEmergencyNumberConfigured()); in testOutGoingEmergencyCall()
[all …]
DEmergencyCallDomainSelectionTestOnMockModem.java1084 TestTelephonyCallbackForCallStateChange testCb = in testOutGoingEmergencyCall() local
1090 telephonyManager, (tm) -> tm.registerTelephonyCallback(Runnable::run, testCb)); in testOutGoingEmergencyCall()
1104 assertTrue(testCb.waitForOutgoingEmergencyCall(TEST_EMERGENCY_NUMBER)); in testOutGoingEmergencyCall()
1105 assertTrue(testCb.waitForCallActive()); in testOutGoingEmergencyCall()
1118 telephonyManager, (tm) -> tm.unregisterTelephonyCallback(testCb)); in testOutGoingEmergencyCall()