/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/ |
D | MessengerDelegateTest.java | 122 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnDeviceDisconnected_connectedDevice_withMessages() 132 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnDeviceDisconnected_notConnectedDevice_withMessagesFromConnectedDevice() 143 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnDeviceDisconnected_connectedDevice_retainsMessagesFromConnectedDevice() 161 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnMessageReceived_newMessage() 170 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnMessageReceived_duplicateMessage() 171 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testOnMessageReceived_duplicateMessage() 179 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testClearNotification_keepsNotificationData() 190 mMessengerDelegate.onMessageReceived(mMessageOneIntent); in testHandleMarkAsRead() 206 mMessengerDelegate.onMessageReceived(readMessageIntent); in testMessageReadOnPhone() 223 mMessengerDelegate.onMessageReceived(existingMessageIntent); in testNotificationsNotShownForExistingMessages()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 321 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in registerDeviceCallback_blacklistsDuplicateRecipientId() 328 verify(firstDeviceCallback, times(0)).onMessageReceived(any(), any()); in registerDeviceCallback_blacklistsDuplicateRecipientId() 329 verify(secondDeviceCallback, times(0)).onMessageReceived(any(), any()); in registerDeviceCallback_blacklistsDuplicateRecipientId() 384 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in deviceCallback_onMessageReceivedInvokedForSameRecipientId() 386 verify(deviceCallback).onMessageReceived(connectedDevice, payload); in deviceCallback_onMessageReceivedInvokedForSameRecipientId() 401 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in deviceCallback_onMessageReceivedNotInvokedForDifferentRecipientId() 445 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in registerDeviceCallback_sendsMissedMessageAfterRegistration() 450 verify(deviceCallback).onMessageReceived(connectedDevice, payload); in registerDeviceCallback_sendsMissedMessageAfterRegistration() 462 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in registerDeviceCallback_doesNotSendMissedMessageForDifferentRecipient() 481 mConnectedDeviceManager.onMessageReceived(otherDevice.getDeviceId(), message); in registerDeviceCallback_doesNotSendMissedMessageForDifferentDevice() [all …]
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | SecureBleChannelTest.java | 162 mMessageReceivedListener.onMessageReceived(message, OperationType.ENCRYPTION_HANDSHAKE); in sendDeviceId() 171 mMessageReceivedListener.onMessageReceived(message, OperationType.ENCRYPTION_HANDSHAKE); in initHandshakeMessage() 180 mMessageReceivedListener.onMessageReceived(message, OperationType.ENCRYPTION_HANDSHAKE); in respondToContinueMessage() 207 public void onMessageReceived(DeviceMessage deviceMessage) { in onMessageReceived() method in SecureBleChannelTest.ChannelCallback
|
D | BleDeviceMessageStreamTest.java | 106 verify(listener).onMessageReceived(messageCaptor.capture(), any()); in processPacket_notifiesWithEntireMessageForSinglePacketMessage() 119 verify(listener).onMessageReceived(messageCaptor.capture(), any()); in processPacket_notifiesWithEntireMessageForMultiPacketMessage() 142 verify(listener).onMessageReceived(messageCaptor.capture(), any()); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 149 verify(listener).onMessageReceived(messageCaptor.capture(), any()); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceFeature.java | 59 protected void onMessageReceived(CompanionDevice device, byte[] message) { in onMessageReceived() method in TrustedDeviceFeature 61 mCallback.onMessageReceived(device, message); in onMessageReceived() 95 void onMessageReceived(@NonNull CompanionDevice device, @NonNull byte[] message); in onMessageReceived() method
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothMonitor.java | 85 void onMessageReceived(Intent intent); in onMessageReceived() method 129 private void onMessageReceived(Intent intent) { in onMessageReceived() method in BluetoothMonitor 130 mListeners.forEach(listener -> listener.onMessageReceived(intent)); in onMessageReceived() 269 onMessageReceived(intent); in onReceive()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | LocalFeature.java | 164 protected void onMessageReceived(@NonNull ConnectedDevice device, @NonNull byte[] message) { } in onMessageReceived() method in LocalFeature 200 public void onMessageReceived(ConnectedDevice device, byte[] message) { 201 LocalFeature.this.onMessageReceived(device, message);
|
D | RemoteFeature.java | 200 protected void onMessageReceived(@NonNull CompanionDevice device, @NonNull byte[] message) { } in onMessageReceived() method in RemoteFeature 263 public void onMessageReceived(CompanionDevice companionDevice, byte[] message) { 264 RemoteFeature.this.onMessageReceived(companionDevice, message);
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | SecureBleChannel.java | 381 public void onMessageReceived(DeviceMessage deviceMessage, 398 notifyCallback(callback -> callback.onMessageReceived( 414 callback -> callback.onMessageReceived(deviceMessage)); 449 void onMessageReceived(@NonNull DeviceMessage deviceMessage); in onMessageReceived() method
|
D | BleDeviceMessageStream.java | 322 mMessageReceivedListener.onMessageReceived(deviceMessage, message.getOperation()); in processPacket() 359 void onMessageReceived(@NonNull DeviceMessage deviceMessage, OperationType operationType); in onMessageReceived() method
|
D | CarBlePeripheralManager.java | 540 public void onMessageReceived(DeviceMessage deviceMessage) { 551 callback ->callback.onMessageReceived(connectedDevice.mDeviceId,
|
D | CarBleManager.java | 244 void onMessageReceived(@NonNull String deviceId, @NonNull DeviceMessage message); in onMessageReceived() method
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 435 deviceCallback.onMessageReceived(device, message)); in registerDeviceCallback() 664 void onMessageReceived(@NonNull String deviceId, @NonNull DeviceMessage message) { in onMessageReceived() method in ConnectedDeviceManager 699 callback -> callback.onMessageReceived(connectedDevice.mConnectedDevice, in onMessageReceived() 808 public void onMessageReceived(String deviceId, DeviceMessage message) { in generateCarBleCallback() method in ConnectedDeviceManager 809 ConnectedDeviceManager.this.onMessageReceived(deviceId, message); in generateCarBleCallback() 898 void onMessageReceived(@NonNull ConnectedDevice device, @NonNull byte[] message);
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgFeature.java | 71 protected void onMessageReceived(CompanionDevice device, byte[] message) { in onMessageReceived() method in NotificationMsgFeature 86 mNotificationMsgDelegate.onMessageReceived(device, phoneToCarMessage); in onMessageReceived()
|
D | NotificationMsgDelegate.java | 80 public void onMessageReceived(CompanionDevice device, PhoneToCarMessage message) { in onMessageReceived() method in NotificationMsgDelegate
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarSyncFeatureTest.java | 129 public void onMessageReceived() { in onMessageReceived() method in CalendarSyncFeatureTest 133 mCalendarSyncFeature.onMessageReceived(mCompanionDevice, expectedCalendars.toByteArray()); in onMessageReceived()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushServer.java | 54 void onMessageReceived(NdefMessage msg); in onMessageReceived() method 103 mCallback.onMessageReceived(msg.getImmediate()); in run()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinder.java | 144 public void onMessageReceived(ConnectedDevice device, byte[] message) { in registerDeviceCallback() 146 callback.onMessageReceived(new CompanionDevice(device), message); in registerDeviceCallback()
|
D | IDeviceCallback.aidl | 30 void onMessageReceived(in CompanionDevice companionDevice, in byte[] message); in onMessageReceived() method
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 98 public static void onMessageReceived(final String conversationId, in onMessageReceived() method in BugleActionToasts
|
D | ReceiveMmsMessageAction.java | 125 BugleActionToasts.onMessageReceived(conversationId, sender, message); in executeAction()
|
D | ReceiveSmsMessageAction.java | 153 BugleActionToasts.onMessageReceived(conversationId, sender, message); in executeAction()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarSyncFeature.java | 88 protected void onMessageReceived(CompanionDevice device, byte[] message) { in onMessageReceived() method in CalendarSyncFeature
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinderTest.java | 201 public void onMessageReceived(CompanionDevice companionDevice, byte[] message) {
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MessengerDelegate.java | 100 public void onMessageReceived(Intent intent) { in onMessageReceived() method in MessengerDelegate
|