/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 121 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 …]
|
D | BasicCallTests.java | 166 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 …]
|
D | CallAudioRouteStateMachineTest.java | 88 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 …]
|
D | TelecomSystemTest.java | 119 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 …]
|
D | BluetoothRouteManagerTest.java | 56 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 …]
|
D | CallAudioModeStateMachineTest.java | 44 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
|
D | ContactsAsyncHelperTest.java | 61 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()
|
D | AsyncBlockCheckFilterTest.java | 82 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()
|
D | CallAudioRouteTransitionTests.java | 154 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()
|
D | MissedCallNotifierImplTest.java | 145 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()
|
D | BluetoothRouteTransitionTests.java | 234 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
|
D | CallRecordingTonePlayerTest.java | 19 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()
|
D | AnalyticsTests.java | 360 TEST_TIMEOUT); 364 TEST_TIMEOUT); 370 TEST_TIMEOUT); 374 TEST_TIMEOUT);
|
D | CallAudioModeTransitionTests.java | 99 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
|
D | VideoCallTests.java | 265 waitForHandlerAction(camsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local 280 waitForHandlerAction(carsm.getHandler(), TEST_TIMEOUT); in verifyAudioRoute() local
|
D | CallsManagerTest.java | 110 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()
|
D | ConnectionServiceFixture.java | 655 mExtrasLock.await(TelecomSystemTest.TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForExtras()
|
D | InCallControllerTests.java | 355 waitForHandlerAction(new Handler(Looper.getMainLooper()), TelecomSystemTest.TEST_TIMEOUT); in testBindToService_SystemDialer_Emergency()
|