/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 116 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 …]
|
D | BasicCallTests.java | 125 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 …]
|
D | TelecomSystemTest.java | 108 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 …]
|
D | ContactsAsyncHelperTest.java | 53 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()
|
D | MissedCallNotifierImplTest.java | 137 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()
|
D | AsyncBlockCheckFilterTest.java | 62 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()
|
D | CallAudioRouteStateMachineTest.java | 133 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()
|
D | VideoCallTests.java | 142 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local 157 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
|
D | ConnectionServiceFixture.java | 627 mExtrasLock.await(TelecomSystemTest.TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForExtras()
|
D | InCallControllerTests.java | 299 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()
|