/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioModeStateMachineTest.java | 93 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 106 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() 125 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testSwitchToStreamingMode() 140 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testSwitchToStreamingMode() 155 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testExitStreamingMode() 169 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testExitStreamingMode() 191 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 204 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() 219 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() 232 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() [all …]
|
D | CallAudioRouteStateMachineTest.java | 217 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testTrackedCallsReceiveAudioRouteChange() 218 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testTrackedCallsReceiveAudioRouteChange() 266 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSystemAudioStateIsNotUpdatedFlagOff() 267 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSystemAudioStateIsNotUpdatedFlagOff() 319 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testSystemAudioStateIsUpdatedFlagOn() 320 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testSystemAudioStateIsUpdatedFlagOn() 418 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 419 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 425 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testSpeakerPersistence() 464 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() [all …]
|
D | DtmfLocalTonePlayerTest.java | 68 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testSupportedStart() 78 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testUnsupportedStart() 89 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenUninitialized() 100 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testPlayToneWhenInitialized() 111 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenUninitialized() 122 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testStopToneWhenInitialized() 133 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); in testProperTeardown()
|
D | BluetoothRouteManagerTest.java | 163 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 164 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 165 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 166 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileNotConnected() 226 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 227 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 228 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 229 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectBtRetryWhileConnectedToAnotherDevice() 277 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in verifyConnectBtWithoutAddress() 278 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in verifyConnectBtWithoutAddress() [all …]
|
D | ConnectionServiceFocusManagerTest.java | 113 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testRequestFocusWithActiveFocusExisted() 197 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusConnectionServiceReleased() 217 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 227 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedAffectCallFocus() 250 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent() 265 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testFocusCallIsNullWhenRemoveTheFocusCall() 281 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testConnectionServiceFocusDeath() 297 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testNonExternalCallChangedToExternalCall() 310 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in testExternalCallChangedToNonExternalCall() 333 waitForHandlerAction(mFocusManagerUT.getHandler(), CHECK_HANDLER_INTERVAL_MS); in requestFocus()
|
D | HeadsetMediaButtonTest.java | 92 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testAddCall() 99 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testAddCall() 114 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal() 123 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal() 131 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testRegularCallThatBecomesExternal() 142 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testExternalCallNotChangesState() 146 waitForHandlerAction(mHeadsetMediaButton.getHandler(), TEST_TIMEOUT_MILLIS); in testExternalCallNotChangesState()
|
D | BasicCallTests.java | 188 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingCall() 247 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingVideoCallAsAudio() 279 waitForHandlerAction(mTelecomSystem.getCallsManager() in testTelecomManagerAcceptRingingInvalidVideoState() 343 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingEmergencyCallback() 371 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 379 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 381 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testOutgoingCallAndSelectPhoneAccount() 408 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 414 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallFromContactWithSendToVoicemailIsRejected() 458 waitForHandlerAction(mConnectionServiceFixtureA.mConnectionServiceDelegate.getHandler(), in testIncomingCallCallerInfoLookupTimesOutIsAllowed() [all …]
|
D | TelecomSystemTest.java | 407 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp() 422 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in tearDown() 423 waitForHandlerAction(mHandlerThread.getThreadHandler(), TEST_TIMEOUT); in tearDown() 434 waitForHandlerAction(mConnectionServiceFocusManager.getHandler(), TEST_TIMEOUT); in tearDown() 465 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall() 740 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial() 810 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 817 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 837 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallPendingCreateConnection() 887 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete() [all …]
|
D | CallRedirectionProcessorTest.java | 147 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() 362 waitForHandlerAction(mProcessor.getHandler(), HANDLER_TIMEOUT_DELAY); in testUnbindOnNullBind()
|
D | CallRecordingTonePlayerTest.java | 133 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT); in testToneLooping() 283 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater() 308 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
|
D | CallAudioRouteTransitionTests.java | 298 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testActiveTransition() 305 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testActiveTransition() 306 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testActiveTransition() 309 waitForHandlerAction(h, TEST_TIMEOUT); in testActiveTransition() 400 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testQuiescentTransition() 401 waitForHandlerAction(stateMachine.getAdapterHandler(), TEST_TIMEOUT); in testQuiescentTransition()
|
D | AnalyticsTests.java | 383 waitForHandlerAction( 387 waitForHandlerAction( 393 waitForHandlerAction( 397 waitForHandlerAction(
|
D | VideoCallTests.java | 267 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() 282 waitForHandlerAction(cara.getAdapterHandler(), TEST_TIMEOUT); in verifyAudioRoute()
|
D | BluetoothRouteTransitionTests.java | 338 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 339 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 340 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() 426 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine()
|
D | TelecomTestCase.java | 64 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
|
D | CallAudioModeTransitionTests.java | 140 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() 152 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() 157 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
|
D | CallAudioRouteControllerTest.java | 221 waitForHandlerAction(mController.getAdapterHandler(), TEST_TIMEOUT); in testNormalCallRouteToEarpiece() 239 waitForHandlerAction(mController.getAdapterHandler(), TEST_TIMEOUT); in testVideoCallHoldRouteToEarpiece() 252 waitForHandlerAction(mController.getAdapterHandler(), TEST_TIMEOUT); in testVideoCallRouteToSpeaker() 269 waitForHandlerAction(mController.getAdapterHandler(), TEST_TIMEOUT); in testVideoCallRouteToSpeaker()
|
D | CallAudioManagerTest.java | 436 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); 574 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); 830 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); 860 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT);
|
D | MissedCallNotifierImplTest.java | 559 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 570 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb() 629 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
|
D | InCallControllerTests.java | 329 waitForHandlerAction(mInCallController.getHandler(), 1000); in tearDown() 587 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency() 1834 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testGetUserFromCall_TargetPhoneAccountNotSet() 1858 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testGetUserFromCall_IncomingCall() 1895 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testRemoveAllServiceConnections_MultiUser() 1906 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testRemoveAllServiceConnections_MultiUser() 1912 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testRemoveAllServiceConnections_MultiUser()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | ImsStateTrackerTest.java | 235 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateBeforeAddingListener() 242 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateBeforeAddingListener() 252 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateAfterAddingListener() 259 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateAfterAddingListener() 273 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testAddAndRemoveServiceStateListener() 283 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoBeforeAddingListener() 290 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoBeforeAddingListener() 300 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoAfterAddingListener() 307 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoAfterAddingListener() 321 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testAddAndRemoveBarringInfoListener() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastListActivityTest.java | 324 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnContextItemSelectedDelete() 346 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnContextItemSelectedDeleteForWatch() 375 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnActionItemClickedDelete() 524 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnActionItemClickedDeleteOnMultiSelect() 657 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testFragmentOnOptionsItemSelected()
|
D | CellBroadcastActivityTestCase.java | 108 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in CellBroadcastActivityTestCase
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 91 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 1247 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 1256 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification() 1717 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testIncomingDoesntRequestDisconnect() 1747 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallSameSubWontDisconnect() 1779 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallDifferentSubWillDisconnect() 1813 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallDifferentSubWontDisconnectForDsdaDevice() 2060 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testOutgoingCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice() 2094 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testEmergencyCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice() 2133 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testEmergencyCallOnOtherSubDisconnectsExistingCallForVirtualDsdaDevice()
|