Home
last modified time | relevance | path

Searched refs:ASYNC_CALL_TIMEOUT_MILLIS (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java84 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetServiceAndStateMachineTest
292 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testConnectFromApi()
308 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testConnectFromApi()
335 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectBeforeUnbond()
346 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectBeforeUnbond()
355 verify(mObjectsFactory, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).destroyStateMachine( in testUnbondDevice_disconnectBeforeUnbond()
378 verify(mNativeInterface, after(ASYNC_CALL_TIMEOUT_MILLIS)).connectHfp(device); in testUnbondDevice_disconnectAfterUnbond()
379 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectAfterUnbond()
389 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectAfterUnbond()
402 verify(mObjectsFactory, after(ASYNC_CALL_TIMEOUT_MILLIS).never()).destroyStateMachine( in testUnbondDevice_disconnectAfterUnbond()
[all …]
DHeadsetStateMachineTest.java70 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetStateMachineTest
174 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_Connect()
192 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnected()
210 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnecting()
233 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
245 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
286 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
297 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
308 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
331 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
[all …]
DHeadsetServiceTest.java69 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetServiceTest
711 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_noDeviceSaveState()
774 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_oneDeviceSaveState()
850 verify(mAudioManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS)) in testPhoneStateChange_multipleDevicesSaveState()
859 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_multipleDevicesSaveState()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java68 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 100; field in AvrcpControllerStateMachineTest
204 verify(mAvrcpControllerService, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in setUpConnectedState()
365 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testDisconnectInternal()
394 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testControlOnly()
423 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testBrowsingOnly()
468 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPlay()
471 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPlay()
487 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPause()
490 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPause()
506 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testStop()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientStateMachineTest.java77 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 100; field in MapClientStateMachineTest
178 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testStateTransitionFromConnectingToDisconnected()
199 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testStateTransitionFromConnectingToConnected()
221 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testStateTransitionFromConnectedWithMasDisconnected()
229 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(4)).sendBroadcast( in testStateTransitionFromConnectedWithMasDisconnected()
250 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testReceiveEmptyEvent()
274 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testSetMessageStatus()
300 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testDisconnect()
307 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(4)).sendBroadcast( in testDisconnect()
326 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testDisconnectTimeout()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java54 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in PhonePolicyTest
130 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS)) in testProcessInitProfilePriorities()
133 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS)) in testProcessInitProfilePriorities()
167 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevice)); in testAdapterOnAutoConnect()
168 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevice)); in testAdapterOnAutoConnect()
207 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setConnection( in testDisconnectNoAutoConnect()
222 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
224 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
240 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
242 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setDisconnection( in testDisconnectNoAutoConnect()
[all …]