Home
last modified time | relevance | path

Searched refs:mMessageQueue (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DClassZeroActivity.java64 private ArrayList<ContentValues> mMessageQueue = null; field in ClassZeroActivity
85 if (mMessageQueue.size() == 0) { in queueMsgFromIntent()
90 mMessageQueue.add(messageValues); in queueMsgFromIntent()
95 if (mMessageQueue.size() > 0) { in processNextMessage()
96 mMessageQueue.remove(0); in processNextMessage()
98 if (mMessageQueue.size() == 0) { in processNextMessage()
101 displayZeroMessage(mMessageQueue.get(0)); in processNextMessage()
116 if (mMessageQueue == null) { in onCreate()
117 mMessageQueue = new ArrayList<ContentValues>(); in onCreate()
122 Assert.isTrue(mMessageQueue.size() == 1); in onCreate()
[all …]
/packages/services/Car/service/src/com/android/car/trust/
DBleMessageStreamV1.java65 private final Deque<BLEMessage> mMessageQueue = new ArrayDeque<>(); field in BleMessageStreamV1
145 if (!mMessageQueue.isEmpty()) { in writeMessage()
146 mMessageQueue.clear(); in writeMessage()
151 mMessageQueue.addAll(bleMessages); in writeMessage()
226 if (mMessageQueue.isEmpty()) { in writeNextMessageInQueue()
231 if (mMessageQueue.size() == 1) { in writeNextMessageInQueue()
232 writeValueAndNotify(mMessageQueue.remove().toByteArray()); in writeNextMessageInQueue()
247 if (mMessageQueue.isEmpty()) { in handleClientAckMessage()
253 mMessageQueue.remove(); in handleClientAckMessage()
287 writeValueAndNotify(mMessageQueue.peek().toByteArray());
[all …]