Home
last modified time | relevance | path

Searched refs:recipientId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/
DConnectedDeviceManager.java407 public void registerDeviceCallback(@NonNull ConnectedDevice device, @NonNull UUID recipientId, in registerDeviceCallback() argument
409 if (isRecipientBlacklisted(recipientId)) { in registerDeviceCallback()
410 notifyOfBlacklisting(device, recipientId, callback, executor); in registerDeviceCallback()
414 + recipientId); in registerDeviceCallback()
422 if (recipientCallbacks.containsKey(recipientId)) { in registerDeviceCallback()
423 blacklistRecipient(deviceId, recipientId); in registerDeviceCallback()
424 notifyOfBlacklisting(device, recipientId, callback, executor); in registerDeviceCallback()
430 recipientCallbacks.put(recipientId, newCallbacks); in registerDeviceCallback()
432 byte[] message = popMissedMessage(recipientId, device.getDeviceId()); in registerDeviceCallback()
448 private void notifyOfBlacklisting(@NonNull ConnectedDevice device, @NonNull UUID recipientId, in notifyOfBlacklisting() argument
[all …]
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinder.java131 public void registerDeviceCallback(CompanionDevice companionDevice, ParcelUuid recipientId, in registerDeviceCallback() argument
162 recipientId.getUuid(), deviceCallback, mCallbackExecutor); in registerDeviceCallback()
165 iBinder -> unregisterDeviceCallback(companionDevice, recipientId, callback)); in registerDeviceCallback()
170 public void unregisterDeviceCallback(CompanionDevice companionDevice, ParcelUuid recipientId, in unregisterDeviceCallback() argument
186 recipientId.getUuid(), deviceCallback); in unregisterDeviceCallback()
192 public boolean sendMessageSecurely(CompanionDevice companionDevice, ParcelUuid recipientId, in sendMessageSecurely() argument
196 recipientId.getUuid(), message); in sendMessageSecurely()
205 public void sendMessageUnsecurely(CompanionDevice companionDevice, ParcelUuid recipientId, in sendMessageUnsecurely() argument
208 recipientId.getUuid(), message); in sendMessageUnsecurely()
DIConnectedDeviceManager.aidl54 void registerDeviceCallback(in CompanionDevice companionDevice, in ParcelUuid recipientId, in registerDeviceCallback() argument
64 void unregisterDeviceCallback(in CompanionDevice companionDevice, in ParcelUuid recipientId, in unregisterDeviceCallback() argument
75 boolean sendMessageSecurely(in CompanionDevice companionDevice, in ParcelUuid recipientId, in sendMessageSecurely() argument
85 void sendMessageUnsecurely(in CompanionDevice companionDevice, in ParcelUuid recipientId, in sendMessageUnsecurely() argument
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java171 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_throwsIllegalStateExceptionIfNoSecureChannel() local
173 mConnectedDeviceManager.sendMessageSecurely(device, recipientId, message); in sendMessageSecurely_throwsIllegalStateExceptionIfNoSecureChannel()
181 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_sendsEncryptedMessage() local
183 mConnectedDeviceManager.sendMessageSecurely(device, recipientId, message); in sendMessageSecurely_sendsEncryptedMessage()
194 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_doesNotSendIfDeviceDisconnected() local
196 mConnectedDeviceManager.sendMessageSecurely(device, recipientId, message); in sendMessageSecurely_doesNotSendIfDeviceDisconnected()
204 UUID recipientId = UUID.randomUUID(); in sendMessageUnsecurely_sendsMessageWithoutEncryption() local
206 mConnectedDeviceManager.sendMessageUnsecurely(device, recipientId, message); in sendMessageUnsecurely_sendsMessageWithoutEncryption()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java928 private String getRecipient(int recipientId) { in getRecipient() argument
929 return id2Recipient.get(recipientId-1); in getRecipient()
955 final int recipientId = (int)ContentUris.parseId(uri); in query() local
956 final String recipient = getRecipient(recipientId); in query()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java366 int recipientId = Integer.parseInt(recip); in removeUnferencedCanonicalAddresses() local
367 recipientIds.add(recipientId); in removeUnferencedCanonicalAddresses()