Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java186 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 …]
DBluetoothRouteManagerTest.java93 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()
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()
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()
DIncomingCallFilterTest.java129 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()
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()
DBasicCallTests.java307 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 …]
DTelecomSystemTest.java374 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 …]
DCallRedirectionProcessorTest.java149 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()
DCallAudioRouteTransitionTests.java286 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()
DAnalyticsTests.java369 waitForHandlerAction(
373 waitForHandlerAction(
379 waitForHandlerAction(
383 waitForHandlerAction(
DBluetoothRouteTransitionTests.java300 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()
DVideoCallTests.java265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute()
DCallRecordingTonePlayerTest.java222 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater()
247 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
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()
DMissedCallNotifierImplTest.java471 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
482 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
540 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
DTelecomTestCase.java57 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelecomTestCase
DInCallControllerTests.java209 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/
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.java906 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification()
915 waitForHandlerAction(handler, TIMEOUT_MS); in testSuppServiceNotification()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java61 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() method in TelephonyTestBase
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DUserCapabilityExchangeImplTest.java284 waitForHandlerAction(uceImpl.getHandler(), 1000); in createUserCapabilityExchangeImpl()