Home
last modified time | relevance | path

Searched refs:TEST_TIMEOUT (Results 1 – 18 of 18) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java121 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp()
150 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChange()
157 verify(mVideoCallCallback, timeout(TEST_TIMEOUT).times(2)) in testCameraChange()
188 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangePermissionFail()
192 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangePermissionFail()
217 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsFail()
221 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangeAppOpsFail()
248 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsBelowNMR1Fail()
252 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangeAppOpsBelowNMR1Fail()
276 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeUserFail()
[all …]
DBasicCallTests.java166 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingCall()
195 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingVideoCall()
223 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingVideoCallAsAudio()
252 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingInvalidVideoState()
309 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingEmergencyCallback()
336 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount()
343 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount()
344 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount()
369 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
374 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
[all …]
DCallAudioRouteStateMachineTest.java88 private static final int TEST_TIMEOUT = 500; field in CallAudioRouteStateMachineTest
169 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() local
170 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() local
176 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() local
211 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() local
219 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOff() local
258 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() local
277 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() local
279 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() local
289 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testUserBluetoothSwitchOffAndOnAgain() local
[all …]
DTelecomSystemTest.java119 static final int TEST_TIMEOUT = 1000; // milliseconds field in TelecomSystemTest
372 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp()
395 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall()
435 .thenReturn(TEST_TIMEOUT / 5L); in setupTelecomSystem()
615 verify(connectionServiceFixture.getTestDouble(), timeout(TEST_TIMEOUT)) in startOutgoingPhoneCall()
632 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial()
696 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster()
703 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster()
707 verify(mInCallServiceFixtureX.getTestDouble(), timeout(TEST_TIMEOUT)) in startOutgoingPhoneCallWaitForBroadcaster()
710 verify(mInCallServiceFixtureY.getTestDouble(), timeout(TEST_TIMEOUT)) in startOutgoingPhoneCallWaitForBroadcaster()
[all …]
DBluetoothRouteManagerTest.java56 private static final int TEST_TIMEOUT = 1000; field in BluetoothRouteManagerTest
86 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() local
87 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() local
88 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() local
89 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileNotConnected() local
144 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() local
145 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() local
146 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() local
147 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testConnectHfpRetryWhileConnectedToAnotherDevice() local
163 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine() local
[all …]
DCallAudioModeStateMachineTest.java44 private static final int TEST_TIMEOUT = 1000; field in CallAudioModeStateMachineTest
63 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() local
77 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoFocusWhenRingerSilenced() local
105 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() local
119 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testNoRingWhenDeviceIsAtEar() local
134 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() local
148 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() local
162 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testRegainFocusWhenHfpIsConnectedSilenced() local
DContactsAsyncHelperTest.java61 private static final int TEST_TIMEOUT = 500; field in ContactsAsyncHelperTest
108 Thread.sleep(TEST_TIMEOUT); in testEmptyUri()
119 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testNullReturnFromOpenInputStream()
132 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testImageScaling()
153 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testNoScaling()
DAsyncBlockCheckFilterTest.java82 private static final int TEST_TIMEOUT = 1000; field in AsyncBlockCheckFilterTest
108 verify(mCallback, timeout(TEST_TIMEOUT)) in testBlockNumber()
128 verify(mCallback, timeout(TEST_TIMEOUT)) in testBlockNumber_enhancedBlockingEnabled()
147 verify(mCallback, timeout(TEST_TIMEOUT)) in testDontBlockNumber()
167 verify(mCallback, timeout(TEST_TIMEOUT)) in testDontBlockNumber_enhancedBlockingEnabled()
DCallAudioRouteTransitionTests.java154 private static final int TEST_TIMEOUT = 500; field in CallAudioRouteTransitionTests
262 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() local
269 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() local
270 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testActiveTransition() local
273 waitForHandlerAction(h, TEST_TIMEOUT); in testActiveTransition()
353 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition() local
354 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testQuiescentTransition() local
756 verify(mockCallsManager, timeout(TEST_TIMEOUT).atLeastOnce()).onCallAudioStateChanged( in verifyNewSystemCallAudioState()
758 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
DMissedCallNotifierImplTest.java145 private static final int TEST_TIMEOUT = 1000; field in MissedCallNotifierImplTest
470 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
481 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
487 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedHandle), in testLoadOneCallFromDb()
539 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
548 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedTelHandle), in testLoadTwoCallsFromDb()
550 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedSipHandle), in testLoadTwoCallsFromDb()
DBluetoothRouteTransitionTests.java234 private static final int TEST_TIMEOUT = 1000; field in BluetoothRouteTransitionTests
293 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() local
294 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() local
295 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in testTransitions() local
363 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in setupStateMachine() local
DCallRecordingTonePlayerTest.java19 import static com.android.server.telecom.tests.TelecomSystemTest.TEST_TIMEOUT;
215 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater()
240 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
DAnalyticsTests.java360 TEST_TIMEOUT);
364 TEST_TIMEOUT);
370 TEST_TIMEOUT);
374 TEST_TIMEOUT);
DCallAudioModeTransitionTests.java99 private static final int TEST_TIMEOUT = 1000; field in CallAudioModeTransitionTests
123 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() local
129 waitForHandlerAction(sm.getHandler(), TEST_TIMEOUT); in modeTransitionTest() local
DVideoCallTests.java265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
DCallsManagerTest.java110 private static final int TEST_TIMEOUT = 5000; // milliseconds field in CallsManagerTest
1057 int newCapabilities = capabilitiesQueue.poll(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testPhoneAccountVideoAvailability()
1062 newCapabilities = capabilitiesQueue.poll(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testPhoneAccountVideoAvailability()
1070 newCapabilities = capabilitiesQueue.poll(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testPhoneAccountVideoAvailability()
DConnectionServiceFixture.java655 mExtrasLock.await(TelecomSystemTest.TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForExtras()
DInCallControllerTests.java355 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()