Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java116 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp()
143 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChange()
150 verify(mVideoCallCallback, timeout(TEST_TIMEOUT).times(2)) in testCameraChange()
180 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangePermissionFail()
184 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangePermissionFail()
208 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsFail()
212 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangeAppOpsFail()
238 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsBelowNMR1Fail()
242 verify(mVideoCallCallback, timeout(TEST_TIMEOUT)).onCallSessionEvent( in testCameraChangeAppOpsBelowNMR1Fail()
265 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeUserFail()
[all …]
DBasicCallTests.java125 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingCall()
153 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingVideoCall()
180 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingVideoCallAsAudio()
208 verify(mConnectionServiceFixtureA.getTestDouble(), timeout(TEST_TIMEOUT)) in testTelecomManagerAcceptRingingInvalidVideoState()
258 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingEmergencyCallback()
309 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
314 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
351 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed()
356 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed()
360 verify(mInCallServiceFixtureX.getTestDouble(), timeout(TEST_TIMEOUT)) in testIncomingCallCallerInfoLookupTimesOutIsAllowed()
[all …]
DTelecomSystemTest.java108 static final int TEST_TIMEOUT = 1000; // milliseconds field in TelecomSystemTest
376 .thenReturn(TEST_TIMEOUT / 5L); in setupTelecomSystem()
556 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial()
625 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster()
689 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete()
711 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete()
713 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete()
716 verify(connectionServiceFixture.getTestDouble(), timeout(TEST_TIMEOUT)) in outgoingCallCreateConnectionComplete()
765 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startIncomingPhoneCall()
768 verify(connectionServiceFixture.getTestDouble(), timeout(TEST_TIMEOUT)) in startIncomingPhoneCall()
[all …]
DContactsAsyncHelperTest.java53 private static final int TEST_TIMEOUT = 500; field in ContactsAsyncHelperTest
98 Thread.sleep(TEST_TIMEOUT); in testEmptyUri()
108 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testNullReturnFromOpenInputStream()
120 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testImageScaling()
140 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN), in testNoScaling()
DMissedCallNotifierImplTest.java137 private static final int TEST_TIMEOUT = 1000; field in MissedCallNotifierImplTest
450 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
461 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadOneCallFromDb()
467 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedHandle), in testLoadOneCallFromDb()
518 waitForHandlerAction(h, TEST_TIMEOUT); in testLoadTwoCallsFromDb()
527 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedTelHandle), in testLoadTwoCallsFromDb()
529 verify(mockCallerInfoLookupHelper, timeout(TEST_TIMEOUT)).startLookup(eq(escapedSipHandle), in testLoadTwoCallsFromDb()
DAsyncBlockCheckFilterTest.java62 private static final int TEST_TIMEOUT = 100; field in AsyncBlockCheckFilterTest
81 verify(mCallback, timeout(TEST_TIMEOUT)) in testBlockNumber()
95 verify(mCallback, timeout(TEST_TIMEOUT)) in testDontBlockNumber()
DCallAudioRouteStateMachineTest.java133 private static final int TEST_TIMEOUT = 500; field in CallAudioRouteStateMachineTest
206 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() local
207 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence() local
945 verify(mockCallsManager, timeout(TEST_TIMEOUT).atLeastOnce()).onCallAudioStateChanged( in verifyNewSystemCallAudioState()
947 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
DVideoCallTests.java142 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
157 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
DConnectionServiceFixture.java627 mExtrasLock.await(TelecomSystemTest.TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForExtras()
DInCallControllerTests.java299 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()