/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteStateMachineTest.java | 186 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 187 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 193 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 229 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 237 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 277 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 296 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 298 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 308 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 310 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() [all …]
|
D | BluetoothRouteManagerTest.java | 93 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 94 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 95 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 96 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 151 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 152 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 153 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 154 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() 170 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine() 205 waitForHandlerAction(brm.getHandler(), TEST_TIMEOUT); in executeRoutingAction()
|
D | ConnectionServiceFocusManagerTest.java | 112 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testRequestFocusWithActiveFocusExisted() 196 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusConnectionServiceReleased() 216 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 226 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 249 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent() 264 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusCallIsNullWhenRemoveTheFocusCall() 280 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testConnectionServiceFocusDeath() 296 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testNonExternalCallChangedToExternalCall() 309 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testExternalCallChangedToNonExternalCall() 332 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in requestFocus()
|
D | DtmfLocalTonePlayerTest.java | 67 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testSupportedStart() 77 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testUnsupportedStart() 88 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenUninitialized() 99 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenInitialized() 110 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenUninitialized() 121 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenInitialized() 132 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testProperTeardown()
|
D | IncomingCallFilterTest.java | 129 waitForHandlerAction(mHandler, 1000); in tearDown() 142 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testAsyncBlockCallResultFilter() 156 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testDirectToVoiceMailCallResultFilter() 170 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testCallScreeningServiceBlockCallResultFilter() 184 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testPassCallResultFilter() 210 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForAsyncBlockCheckFilter() 241 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForDirectToVoicemailCallFilter() 269 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testMultipleFiltersForCallScreeningServiceFilter() 292 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testFilterTimeout() 306 waitForHandlerAction(testFilter.getHandler(), SHORT_TIMEOUT * 2); in testFilterTimeoutDoesntTrip()
|
D | CallAudioModeStateMachineTest.java | 78 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 91 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 118 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 131 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 146 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() 159 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() 173 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced()
|
D | BasicCallTests.java | 307 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingEmergencyCallback() 335 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 343 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 345 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 372 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 378 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 422 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 428 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 473 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromBlockedNumberIsRejected() 479 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromBlockedNumberIsRejected() [all …]
|
D | TelecomSystemTest.java | 374 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp() 386 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in tearDown() 387 waitForHandlerAction(mHandlerThread.getThreadHandler(), TEST_TIMEOUT); in tearDown() 397 waitForHandlerAction(mConnectionServiceFocusManager.getHandler(), TEST_TIMEOUT); in tearDown() 423 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall() 692 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial() 760 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 767 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 786 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallPendingCreateConnection() 836 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete() [all …]
|
D | CallRedirectionProcessorTest.java | 149 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in tearDown() 210 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testCarrierServiceTimeoutNoUserDefinedService() 230 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutNoCarrierService() 258 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 346 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testStripPostDialDigits()
|
D | CallAudioRouteTransitionTests.java | 286 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 293 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 294 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 297 waitForHandlerAction(h, TEST_TIMEOUT); in testActiveTransition() 378 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition() 379 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition()
|
D | AnalyticsTests.java | 369 waitForHandlerAction( 373 waitForHandlerAction( 379 waitForHandlerAction( 383 waitForHandlerAction(
|
D | BluetoothRouteTransitionTests.java | 300 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 301 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 302 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 372 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine()
|
D | VideoCallTests.java | 265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() 280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
|
D | CallRecordingTonePlayerTest.java | 222 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater() 247 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
|
D | CallAudioModeTransitionTests.java | 136 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() 147 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() 152 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
|
D | MissedCallNotifierImplTest.java | 471 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 482 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 540 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
|
D | TelecomTestCase.java | 57 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
|
D | InCallControllerTests.java | 209 waitForHandlerAction(mInCallController.getHandler(), 1000); in tearDown() 398 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 76 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS /*ms timeout*/); in tearDown() 90 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForCallback() 115 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 120 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() 139 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout() 144 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout()
|
D | TelephonyConnectionServiceTest.java | 906 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 915 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 61 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | UserCapabilityExchangeImplTest.java | 284 waitForHandlerAction(uceImpl.getHandler(), 1000); in createUserCapabilityExchangeImpl()
|