/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 84 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetServiceAndStateMachineTest 293 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testConnectFromApi() 309 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testConnectFromApi() 337 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectBeforeUnbond() 348 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectBeforeUnbond() 357 verify(mObjectsFactory, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).destroyStateMachine( in testUnbondDevice_disconnectBeforeUnbond() 381 verify(mNativeInterface, after(ASYNC_CALL_TIMEOUT_MILLIS)).connectHfp(device); in testUnbondDevice_disconnectAfterUnbond() 382 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectAfterUnbond() 392 waitAndVerifyConnectionStateIntent(ASYNC_CALL_TIMEOUT_MILLIS, device, in testUnbondDevice_disconnectAfterUnbond() 405 verify(mObjectsFactory, after(ASYNC_CALL_TIMEOUT_MILLIS).never()).destroyStateMachine( in testUnbondDevice_disconnectAfterUnbond() [all …]
|
D | HeadsetStateMachineTest.java | 65 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetStateMachineTest 169 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_Connect() 186 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnected() 203 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnecting() 225 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected() 237 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected() 276 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected() 287 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected() 298 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected() 320 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_DisconnectingToDisconnected_StackDisconnected() [all …]
|
D | HeadsetServiceTest.java | 69 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in HeadsetServiceTest 718 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_noDeviceSaveState() 776 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_oneDeviceSaveState() 841 ASYNC_CALL_TIMEOUT_MILLIS); in testPhoneStateChange_multipleDevicesSaveState()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 57 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 100; field in AvrcpControllerStateMachineTest 124 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testDisconnect() 149 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testControlOnly() 176 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcast( in testBrowsingOnly() 222 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPlay() 225 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPlay() 241 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPause() 244 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testPause() 260 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testStop() 263 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendPassThroughCommandNative( in testStop() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 52 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 250; field in PhonePolicyTest 122 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(eq(device), in testProcessInitProfilePriorities() 124 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(eq(device), in testProcessInitProfilePriorities() 157 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevices[0])); in testAdapterOnAutoConnect() 158 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevices[0])); in testAdapterOnAutoConnect() 196 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[0], in testDisconnectNoAutoConnect() 198 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[1], in testDisconnectNoAutoConnect() 200 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[2], in testDisconnectNoAutoConnect() 202 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[0], in testDisconnectNoAutoConnect() 219 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).setPriority( in testDisconnectNoAutoConnect() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientStateMachineTest.java | 54 private static final int ASYNC_CALL_TIMEOUT_MILLIS = 100; field in MapClientStateMachineTest 128 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testStateTransitionFromConnectingToDisconnected() 148 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testStateTransitionFromConnectingToConnected() 166 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).sendBroadcast( in testReceiveEmptyEvent() 179 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).sendBroadcast( in setupSdpRecordReceipt()
|