/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 41 private NdefMessage[] mMessages; field in NdefPushProtocol 47 mMessages = new NdefMessage[1]; in NdefPushProtocol() 48 mMessages[0] = msg; in NdefPushProtocol() 61 mMessages = new NdefMessage[numMessages]; in NdefPushProtocol() 62 System.arraycopy(messages, 0, mMessages, 0, numMessages); in NdefPushProtocol() 98 mMessages = new NdefMessage[mNumMessages]; in NdefPushProtocol() 131 mMessages[i] = new NdefMessage(bytes); in NdefPushProtocol() 142 return mMessages[i]; in getImmediate() 157 byte[] bytes = mMessages[i].toByteArray(); in toByteArray()
|
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/ |
D | MessengerDelegateTest.java | 125 assertThat(mMessengerDelegate.mMessages).isEmpty(); in testOnDeviceDisconnected_connectedDevice_withMessages() 135 assertThat(mMessengerDelegate.mMessages).hasSize(1); in testOnDeviceDisconnected_notConnectedDevice_withMessagesFromConnectedDevice() 146 assertThat(mMessengerDelegate.mMessages).containsKey(mMessageOneKey); in testOnDeviceDisconnected_connectedDevice_retainsMessagesFromConnectedDevice() 164 mMessengerDelegate.mMessages.get(mMessageOneKey))).isTrue(); in testOnMessageReceived_newMessage() 185 assertThat(mMessengerDelegate.mMessages.containsKey(mMessageOneKey)).isTrue(); in testClearNotification_keepsNotificationData() 197 assertThat(mMessengerDelegate.mMessages.get(key).shouldIncludeInNotification()).isFalse(); in testHandleMarkAsRead() 211 assertThat(mMessengerDelegate.mMessages.get(key).shouldIncludeInNotification()).isTrue(); in testMessageReadOnPhone() 212 assertThat(mMessengerDelegate.mMessages.get(key).isReadOnPhone()).isTrue(); in testMessageReadOnPhone()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | BaseNotificationDelegate.java | 102 protected final Map<MessageKey, Message> mMessages = new HashMap<>(); field in BaseNotificationDelegate 145 mMessages.entrySet().removeIf( in cleanupMessagesAndNotifications() 168 boolean repeatMessage = mMessages.containsKey(messageKey); in addMessageToNotificationInfo() 169 mMessages.put(messageKey, message); in addMessageToNotificationInfo() 190 Message lastMessage = mMessages.get(notificationInfo.mMessageKeys.getLast()); in postNotification() 222 notificationInfo.mMessageKeys.stream().map(mMessages::get).forEachOrdered(message -> { in postNotification() 331 return mMessages.get(info.getLastMessageKey()).getSenderKey(); in getSenderKeyFromConversation()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedVmsTestBase.java | 170 private BlockingQueue<Pair<VmsLayer, byte[]>> mMessages = new LinkedBlockingQueue<>(); field in MockedVmsTestBase.MockSubscriberClient 176 mMessages.add(Pair.create(layer, payload)); in onVmsMessageReceived() 186 return receiveWithTimeout(mMessages); in receiveMessage() 195 private BlockingQueue<VehiclePropValue> mMessages = new LinkedBlockingQueue<>(); field in MockedVmsTestBase.MockHalClient 201 mMessages.add(value); in onPropertySet() 221 return receiveWithTimeout(mMessages); in receiveMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | MessagesListing.java | 34 private final ArrayList<Message> mMessages; field in MessagesListing 37 mMessages = new ArrayList<Message>(); in MessagesListing() 62 mMessages.add(msg); in parse() 82 return mMessages; in getList()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MessengerDelegate.java | 62 final Map<MessageKey, MapMessage> mMessages = new HashMap<>(); field in MessengerDelegate 107 boolean repeatMessage = mMessages.containsKey(messageKey); in onMessageReceived() 108 mMessages.put(messageKey, message); in onMessageReceived() 228 MapMessage message = mMessages.get(key); in excludeFromNotification() 261 for (MessageKey key : mMessages.keySet()) { in cleanupMessagesAndNotifications() 269 mMessages.entrySet().removeIf( in cleanupMessagesAndNotifications() 349 long lastReceiveTime = mMessages.get(notificationInfo.mMessageKeys.getLast()) in createNotification() 377 notificationInfo.mMessageKeys.stream().map(mMessages::get).forEachOrdered(message -> { in createNotification()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ActionModeController.java | 53 private final MessageBuilder mMessages; field in ActionModeController 70 mMessages = messages; in ActionModeController() 95 final String title = mMessages.getQuantityString( in onSelectionChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 66 private final MessageBuilder mMessages; field in DialogController.RuntimeDialogController 73 mMessages = messages; in RuntimeDialogController() 83 message.setText(mMessages.generateDeleteMessage(docs)); in confirmDelete()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MceStateMachine.java | 171 private ConcurrentHashMap<String, MessageMetadata> mMessages = field in MceStateMachine 643 if (!mMessages.contains(ev.getHandle())) { in processNotification() 647 mMessages.put(ev.getHandle(), metadata); in processNotification() 664 MessageMetadata metadata = mMessages.get(request.getHandle()); in markMessageRead() 698 mMessages.put(msg.getHandle(), new MessageMetadata(msg.getHandle(), in processMessageListing() 778 MessageMetadata metadata = mMessages.get(request.getHandle()); in processInboundMessage()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgDelegate.java | 139 Message message = mMessages.get(key); in excludeFromNotification()
|