/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
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() 190 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testDoNotRingTwiceWhenHfpConnected() 203 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testDoNotRingTwiceWhenHfpConnected() 215 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testDoNotRingTwiceWhenHfpConnected() [all …]
|
D | CallAudioRouteStateMachineTest.java | 233 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 234 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 240 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 276 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 284 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() 324 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 328 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 329 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 347 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() 349 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() [all …]
|
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 | 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 | BluetoothRouteManagerTest.java | 99 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 100 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 101 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 102 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 162 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 163 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 164 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 165 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 181 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine() 221 waitForHandlerAction(brm.getHandler(), TEST_TIMEOUT); in executeRoutingAction()
|
D | HeadsetMediaButtonTest.java | 70 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testAddCall() 77 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testAddCall() 91 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal() 100 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal() 108 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal()
|
D | BasicCallTests.java | 186 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingCall() 245 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingVideoCallAsAudio() 277 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingInvalidVideoState() 341 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingEmergencyCallback() 369 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 377 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 379 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 406 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 412 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 456 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallCallerInfoLookupTimesOutIsAllowed() [all …]
|
D | TelecomSystemTest.java | 377 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp() 389 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in tearDown() 390 waitForHandlerAction(mHandlerThread.getThreadHandler(), TEST_TIMEOUT); in tearDown() 400 waitForHandlerAction(mConnectionServiceFocusManager.getHandler(), TEST_TIMEOUT); in tearDown() 425 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall() 681 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial() 751 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 758 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 778 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallPendingCreateConnection() 828 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete() [all …]
|
D | CallRedirectionProcessorTest.java | 147 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in tearDown() 208 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testCarrierServiceTimeoutNoUserDefinedService() 228 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutNoCarrierService() 256 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 344 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testStripPostDialDigits() 360 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUnbindOnNullBind()
|
D | CallAudioRouteTransitionTests.java | 288 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 295 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 296 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() 299 waitForHandlerAction(h, TEST_TIMEOUT); in testActiveTransition() 387 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition() 388 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition()
|
D | CallRecordingTonePlayerTest.java | 134 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT); in testToneLooping() 284 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater() 309 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
|
D | AnalyticsTests.java | 382 waitForHandlerAction( 386 waitForHandlerAction( 392 waitForHandlerAction( 396 waitForHandlerAction(
|
D | VideoCallTests.java | 265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() 280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
|
D | BluetoothRouteTransitionTests.java | 335 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 336 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 337 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 419 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine()
|
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 | TelecomTestCase.java | 58 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
|
D | MissedCallNotifierImplTest.java | 535 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 546 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 605 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
|
D | InCallControllerTests.java | 294 waitForHandlerAction(mInCallController.getHandler(), 1000); in tearDown() 535 waitForHandlerAction(new Handler(Looper.getMainLooper()), 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 | 925 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 934 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 1175 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testIncomingDoesntRequestDisconnect() 1205 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallSameSubWontDisconnect() 1237 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallDifferentSubWillDisconnect()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastListActivityTest.java | 227 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnContextItemSelectedDelete() 316 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testFragmentOnOptionsItemSelected()
|
D | CellBroadcastActivityTestCase.java | 103 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in CellBroadcastActivityTestCase
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 79 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase
|