Home
last modified time | relevance | path

Searched refs:waitForLooperToFinishScheduledTask (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java146 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testMetadataDefault()
252 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testRemoveUnusedMetadata_WithSingleBondedDevice()
269 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testRemoveUnusedMetadata_WithSingleBondedDevice()
304 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testRemoveUnusedMetadata_WithMultiBondedDevices()
323 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testRemoveUnusedMetadata_WithMultiBondedDevices()
451 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testSetConnection()
463 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testSetConnection()
478 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testSetConnection()
493 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testSetConnection()
508 TestUtils.waitForLooperToFinishScheduledTask(mDatabaseManager.getHandlerLooper()); in testSetConnection()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java169 TestUtils.waitForLooperToFinishScheduledTask(sm.getHandler().getLooper()); in destroyStateMachine()
203 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in setUpConnectedState()
257 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in setCurrentTrack()
267 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in setPlaybackState()
276 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in setPlaybackPosition()
318 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in setNowPlayingList()
750 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in testAvailablePlayersReceived_AddressedPlayerExists()
775 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in testAvailablePlayersReceived_AddressedPlayerExists()
831 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in testAvailablePlayersReceived_AddressedPlayerDoesNotExist()
896 TestUtils.waitForLooperToFinishScheduledTask(mAvrcpStateMachine.getHandler().getLooper()); in testAddressedPlayerChangedToNewKnownPlayer()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java120 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceConnectedCase()
128 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceConnectedCase()
157 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceDisconnectedCase()
180 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in a2dpConnected()
192 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in a2dpDisconnected()
204 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in headsetConnected()
216 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in headsetDisconnected()
DActiveDeviceManagerTest.java158 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in a2dpActiveDeviceSelected_setActive()
209 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in headsetActiveDeviceSelected_setActive()
246 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hearingAidActive_dontSetA2dpAndHeadsetActive()
264 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hearingAidActive_setA2dpActiveExplicitly()
285 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hearingAidActive_setHeadsetActiveExplicitly()
DBondStateMachineTest.java113 TestUtils.waitForLooperToFinishScheduledTask(mBondStateMachine.getHandler().getLooper()); in testCreateBondAfterRemoveBond()
117 TestUtils.waitForLooperToFinishScheduledTask(mBondStateMachine.getHandler().getLooper()); in testCreateBondAfterRemoveBond()
124 TestUtils.waitForLooperToFinishScheduledTask(mBondStateMachine.getHandler().getLooper()); in testCreateBondAfterRemoveBond()
127 TestUtils.waitForLooperToFinishScheduledTask(mBondStateMachine.getHandler().getLooper()); in testCreateBondAfterRemoveBond()
136 TestUtils.waitForLooperToFinishScheduledTask(mBondStateMachine.getHandler().getLooper()); in testCreateBondAfterRemoveBond()
DPhonePolicyTest.java345 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testReconnectOnPartialConnect_PreviousPartialFail()
363 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testReconnectOnPartialConnect_PreviousPartialFail()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java101 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in setUp()
109 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in tearDown()
303 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone()
305 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone()
329 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientStateMachineTest.java353 TestUtils.waitForLooperToFinishScheduledTask(mMceStateMachine.getHandler().getLooper()); in testSendSMSMessage()
373 TestUtils.waitForLooperToFinishScheduledTask(mMceStateMachine.getHandler().getLooper()); in testSMSMessageSent()
394 TestUtils.waitForLooperToFinishScheduledTask(mMceStateMachine.getHandler().getLooper()); in testSMSMessageSent()
DMapClientTest.java127 TestUtils.waitForLooperToFinishScheduledTask(mService.getMainLooper()); in testConnect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java243 public static void waitForLooperToFinishScheduledTask(Looper looper) { in waitForLooperToFinishScheduledTask() method in TestUtils
280 waitForLooperToFinishScheduledTask(looper); in waitForLooperToBeIdle()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java572 TestUtils.waitForLooperToFinishScheduledTask( in testDialingOutCall_NormalDialingOut()
580 TestUtils.waitForLooperToFinishScheduledTask( in testDialingOutCall_NormalDialingOut()
589 TestUtils.waitForLooperToFinishScheduledTask( in testDialingOutCall_NormalDialingOut()
659 TestUtils.waitForLooperToFinishScheduledTask( in testDialingOutCall_DialingOutPreemptVirtualCall()
DHeadsetServiceTest.java707 TestUtils.waitForLooperToFinishScheduledTask( in testPhoneStateChange_noDeviceSaveState()
764 TestUtils.waitForLooperToFinishScheduledTask( in testPhoneStateChange_oneDeviceSaveState()
783 TestUtils.waitForLooperToFinishScheduledTask( in testPhoneStateChange_oneDeviceSaveState()