Searched refs:mQueuedActions (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 160 @VisibleForTesting Queue<Pair<Integer, Object>> mQueuedActions; field in HeadsetClientStateMachine 335 mQueuedActions.add(new Pair<Integer, Object>(action, data)); in addQueuedAction() 339 mQueuedActions.add(new Pair<Integer, Object>(action, data)); in addQueuedAction() 935 mQueuedActions = new LinkedList<Pair<Integer, Object>>(); in HeadsetClientStateMachine() 1071 mQueuedActions = new LinkedList<Pair<Integer, Object>>(); in enter() 1260 + mQueuedActions.size()); in processMessage() 1261 if (!mQueuedActions.isEmpty()) { in processMessage() 1262 debug("queuedAction:" + mQueuedActions.peek().first); in processMessage() 1264 Pair<Integer, Object> queuedAction = mQueuedActions.poll(); in processMessage() 1755 Pair<Integer, Object> queuedAction = mQueuedActions.poll(); in processMessage()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 1064 Assert.assertEquals(mHeadsetClientStateMachine.mQueuedActions.peek(), expectedPair); 1084 Assert.assertEquals(mHeadsetClientStateMachine.mQueuedActions.peek(), expectedPair); 1411 Assert.assertEquals(0, mHeadsetClientStateMachine.mQueuedActions.size()); 1417 Assert.assertEquals(1, mHeadsetClientStateMachine.mQueuedActions.size()); 1418 mHeadsetClientStateMachine.mQueuedActions.clear(); 1423 Assert.assertEquals(0, mHeadsetClientStateMachine.mQueuedActions.size());
|