Home
last modified time | relevance | path

Searched refs:waitForHandlerAction (Results 1 – 23 of 23) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeStateMachineTest.java78 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 …]
DCallAudioRouteStateMachineTest.java233 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 …]
DDtmfLocalTonePlayerTest.java67 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()
DConnectionServiceFocusManagerTest.java112 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()
DBluetoothRouteManagerTest.java99 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()
DHeadsetMediaButtonTest.java70 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()
DBasicCallTests.java186 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 …]
DTelecomSystemTest.java377 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 …]
DCallRedirectionProcessorTest.java147 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()
DCallAudioRouteTransitionTests.java288 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()
DCallRecordingTonePlayerTest.java134 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()
DAnalyticsTests.java382 waitForHandlerAction(
386 waitForHandlerAction(
392 waitForHandlerAction(
396 waitForHandlerAction(
DVideoCallTests.java265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
DBluetoothRouteTransitionTests.java335 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()
DCallAudioModeTransitionTests.java136 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
147 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
152 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest()
DTelecomTestCase.java58 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
DMissedCallNotifierImplTest.java535 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
546 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
605 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
DInCallControllerTests.java294 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/
DRadioOnStateListenerTest.java76 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()
DTelephonyConnectionServiceTest.java925 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/
DCellBroadcastListActivityTest.java227 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testOnContextItemSelectedDelete()
316 waitForHandlerAction(Handler.getMain(), TEST_TIMEOUT_MILLIS); in testFragmentOnOptionsItemSelected()
DCellBroadcastActivityTestCase.java103 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in CellBroadcastActivityTestCase
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java79 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase