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/hal/
DVmsHalService.java83 private final MessageQueue mMessageQueue; field in VmsHalService
116 mMessageQueue.enqueue(VmsMessageType.SUBSCRIPTIONS_CHANGE,
126 mMessageQueue.enqueue(VmsMessageType.DATA, createDataMessage(layer, payload));
141 mMessageQueue.enqueue(VmsMessageType.AVAILABILITY_CHANGE,
206 mMessageQueue = new MessageQueue(); in VmsHalService()
214 return mMessageQueue.mHandler; in getHandler()
257 mMessageQueue.init(); in init()
258 mMessageQueue.enqueue(VmsMessageType.START_SESSION, in init()
264 mMessageQueue.release(); in release()
385 mMessageQueue.clear(); in handleStartSessionEvent()
[all …]
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentBleManager.java111 private Queue<BLEMessage> mMessageQueue = new LinkedList<>(); field in CarTrustAgentBleManager
138 mMessageQueue.clear(); in onRemoteDeviceConnected()
153 mMessageQueue.clear(); in onRemoteDeviceDisconnected()
505 mMessageQueue.remove(); in handleClientAckMessage()
533 mMessageQueue.addAll(bleMessages); in sendMessage()
544 if (mMessageQueue.isEmpty()) { in writeNextMessageInQueue()
549 if (mMessageQueue.size() == 1) { in writeNextMessageInQueue()
550 setValueOnCharacteristicAndNotify(device, mMessageQueue.remove().toByteArray(), in writeNextMessageInQueue()
563 setValueOnCharacteristicAndNotify(device, mMessageQueue.peek().toByteArray(), in writeNextMessageInQueue()