Home
last modified time | relevance | path

Searched refs:mMessageQueue (Results 1 – 3 of 3) 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/
DCarTrustAgentBleManager.java128 private Queue<BLEMessage> mMessageQueue = new LinkedList<>(); field in CarTrustAgentBleManager
155 mMessageQueue.clear(); in onRemoteDeviceConnected()
170 mMessageQueue.clear(); in onRemoteDeviceDisconnected()
529 mMessageQueue.remove(); in handleClientAckMessage()
557 mMessageQueue.addAll(bleMessages); in sendMessage()
568 if (mMessageQueue.isEmpty()) { in writeNextMessageInQueue()
573 if (mMessageQueue.size() == 1) { in writeNextMessageInQueue()
574 setValueOnCharacteristicAndNotify(device, mMessageQueue.remove().toByteArray(), in writeNextMessageInQueue()
587 setValueOnCharacteristicAndNotify(device, mMessageQueue.peek().toByteArray(), in writeNextMessageInQueue()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java86 private final MessageQueue mMessageQueue; field in VmsHalService
118 mMessageQueue.enqueue(VmsMessageType.SUBSCRIPTIONS_CHANGE,
128 mMessageQueue.enqueue(VmsMessageType.DATA, createDataMessage(layer, payload));
143 mMessageQueue.enqueue(VmsMessageType.AVAILABILITY_CHANGE,
205 mMessageQueue = new MessageQueue(); in VmsHalService()
232 return mMessageQueue.mHandler; in getHandler()
271 mMessageQueue.init(); in init()
272 mMessageQueue.enqueue(VmsMessageType.START_SESSION, in init()
278 mMessageQueue.release(); in release()
422 mMessageQueue.clear(); in handleStartSessionEvent()