/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteStateMachineTest.java | 169 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 170 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 176 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 211 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 219 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 258 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 277 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 279 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 289 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 291 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() [all …]
|
D | BluetoothRouteManagerTest.java | 86 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 87 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 88 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 89 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 144 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 145 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 146 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 147 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 163 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine() 198 waitForHandlerAction(brm.getHandler(), TEST_TIMEOUT); in executeRoutingAction()
|
D | ConnectionServiceFocusManagerTest.java | 105 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testRequestFocusWithActiveFocusExisted() 189 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusConnectionServiceReleased() 209 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 219 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 242 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent() 257 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusCallIsNullWhenRemoveTheFocusCall() 273 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testConnectionServiceFocusDeath() 289 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testNonExternalCallChangedToExternalCall() 302 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testExternalCallChangedToNonExternalCall() 325 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in requestFocus()
|
D | DtmfLocalTonePlayerTest.java | 59 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testSupportedStart() 69 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testUnsupportedStart() 80 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenUninitialized() 91 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenInitialized() 102 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenUninitialized() 113 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenInitialized() 124 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testProperTeardown()
|
D | CallAudioModeStateMachineTest.java | 63 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 77 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 105 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 119 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 134 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() 148 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() 162 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced()
|
D | IncomingCallFilterTest.java | 129 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testAsyncBlockCallResultFilter() 143 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testDirectToVoiceMailCallResultFilter() 157 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testCallScreeningServiceBlockCallResultFilter() 171 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testPassCallResultFilter() 197 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForAsyncBlockCheckFilter() 229 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForDirectToVoicemailCallFilter() 258 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForCallScreeningServiceFilter() 282 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testFilterTimeout() 296 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testFilterTimeoutDoesntTrip()
|
D | BasicCallTests.java | 309 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingEmergencyCallback() 336 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 343 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 344 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 369 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected() 374 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected() 414 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 419 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 463 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromBlockedNumberIsRejected() 468 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromBlockedNumberIsRejected() [all …]
|
D | TelecomSystemTest.java | 372 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp() 395 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall() 632 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial() 696 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 703 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 722 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallPendingCreateConnection() 772 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete() 789 waitForHandlerAction(mTelecomSystem.getCallsManager() in outgoingCallCreateConnectionComplete() 796 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete() 801 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete() [all …]
|
D | CallAudioRouteTransitionTests.java | 262 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 269 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 270 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 273 waitForHandlerAction(h, TEST_TIMEOUT); in testActiveTransition() 353 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition() 354 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition()
|
D | AnalyticsTests.java | 357 waitForHandlerAction( 361 waitForHandlerAction( 367 waitForHandlerAction( 371 waitForHandlerAction(
|
D | BluetoothRouteTransitionTests.java | 293 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 294 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 295 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 363 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine()
|
D | CallRedirectionProcessorTest.java | 182 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testCarrierServiceTimeoutNoUserDefinedService() 202 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutNoCarrierService() 230 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutAndCarrierServiceTimeout()
|
D | VideoCallTests.java | 265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() 280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
|
D | CallRecordingTonePlayerTest.java | 215 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater() 240 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
|
D | CallAudioModeTransitionTests.java | 123 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() 129 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
|
D | MissedCallNotifierImplTest.java | 470 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 481 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 539 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
|
D | TelecomTestCase.java | 52 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
|
D | VideoProviderTest.java | 121 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp()
|
D | InCallControllerTests.java | 355 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 71 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS /*ms timeout*/); in tearDown() 85 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForCallback() 105 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 110 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 128 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout() 133 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout()
|
D | TelephonyConnectionServiceTest.java | 785 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 794 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 58 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase
|