/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 63 import java.util.UUID; 80 private final UUID mRecipientId = UUID.randomUUID(); 136 String deviceId = UUID.randomUUID().toString(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser() 137 String otherUserDeviceId = UUID.randomUUID().toString(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser() 171 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_throwsIllegalStateExceptionIfNoSecureChannel() 181 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_sendsEncryptedMessage() 194 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_doesNotSendIfDeviceDisconnected() 204 UUID recipientId = UUID.randomUUID(); in sendMessageUnsecurely_sendsMessageWithoutEncryption() 236 String deviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser() 237 String otherUserDeviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser() [all …]
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 52 import java.util.UUID; 91 private final Map<String, Map<UUID, ThreadSafeCallbacks<DeviceCallback>>> mDeviceCallbacks = 99 private final Map<UUID, Map<String, byte[]>> mRecipientMissedMessages = 106 private final Set<UUID> mBlacklistedRecipients = new CopyOnWriteArraySet<>(); 150 UUID.fromString(context.getString(R.string.car_service_uuid)), in ConnectedDeviceManager() 151 UUID.fromString(context.getString(R.string.car_association_service_uuid)), in ConnectedDeviceManager() 153 UUID.fromString(context.getString(R.string.car_secure_write_uuid)), in ConnectedDeviceManager() 154 UUID.fromString(context.getString(R.string.car_secure_read_uuid)), in ConnectedDeviceManager() 163 @NonNull UUID serviceUuid, in ConnectedDeviceManager() 164 @NonNull UUID associationServiceUuid, in ConnectedDeviceManager() [all …]
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustAgentBleManager.java | 50 import java.util.UUID; 69 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = 70 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); 117 private UUID mEnrollmentServiceUuid; 118 private UUID mEnrollmentClientWriteUuid; 119 private UUID mEnrollmentServerWriteUuid; 123 private UUID mUnlockServiceUuid; 124 private UUID mUnlockClientWriteUuid; 125 private UUID mUnlockServerWriteUuid; 201 UUID uuid = characteristic.getUuid(); in onCharacteristicWrite() [all …]
|
D | CarTrustedDeviceService.java | 47 import java.util.UUID; 98 private UUID mUniqueId; 215 UUID getUniqueId() { in getUniqueId() 222 mUniqueId = UUID.fromString( in getUniqueId() 229 mUniqueId = UUID.randomUUID(); in getUniqueId()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanFilterQueue.java | 27 import java.util.UUID; 53 public UUID uuid; 54 public UUID uuid_mask; 78 void addUuid(UUID uuid) { in addUuid() 82 entry.uuid_mask = new UUID(0, 0); in addUuid() 86 void addUuid(UUID uuid, UUID uuidMask) { in addUuid() 94 void addSolicitUuid(UUID uuid) { in addSolicitUuid() 98 entry.uuid_mask = new UUID(0, 0); in addSolicitUuid() 102 void addSolicitUuid(UUID uuid, UUID uuidMask) { in addSolicitUuid()
|
D | HandleMap.java | 25 import java.util.UUID; 40 public UUID uuid = null; 48 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() 57 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, in Entry() 68 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() 76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() 100 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, in addService() 105 void addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) { in addCharacteristic() 110 void addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) { in addDescriptor() 137 boolean checkServiceExists(UUID uuid, int handle) { in checkServiceExists()
|
D | ScanClient.java | 27 import java.util.UUID; 36 public UUID[] uuids; 56 this(scannerId, new UUID[0], DEFAULT_SCAN_SETTINGS, null, null); in ScanClient() 59 ScanClient(int scannerId, UUID[] uuids) { in ScanClient() 64 this(scannerId, new UUID[0], settings, filters, null); in ScanClient() 69 this(scannerId, new UUID[0], settings, filters, storages); in ScanClient() 72 private ScanClient(int scannerId, UUID[] uuids, ScanSettings settings, List<ScanFilter> filters, in ScanClient()
|
D | GattDbElement.java | 19 import java.util.UUID; 37 public UUID uuid; 55 public static GattDbElement createPrimaryService(UUID uuid) { in createPrimaryService() 62 public static GattDbElement createSecondaryService(UUID uuid) { in createSecondaryService() 69 public static GattDbElement createCharacteristic(UUID uuid, int properties, int permissions) { in createCharacteristic() 78 public static GattDbElement createDescriptor(UUID uuid, int permissions) { in createDescriptor()
|
D | GattService.java | 76 import java.util.UUID; 103 private static final UUID HID_SERVICE_UUID = 104 UUID.fromString("00001812-0000-1000-8000-00805F9B34FB"); 106 private static final UUID[] HID_UUIDS = { 107 UUID.fromString("00002A4A-0000-1000-8000-00805F9B34FB"), 108 UUID.fromString("00002A4B-0000-1000-8000-00805F9B34FB"), 109 UUID.fromString("00002A4C-0000-1000-8000-00805F9B34FB"), 110 UUID.fromString("00002A4D-0000-1000-8000-00805F9B34FB") 113 private static final UUID ANDROID_TV_REMOTE_SERVICE_UUID = 114 UUID.fromString("AB5E0001-5A21-4F05-BC7D-AF01F617B664"); [all …]
|
D | ContextMap.java | 35 import java.util.UUID; 67 public UUID uuid; 113 App(UUID uuid, C callback, T info, String name, AppScanStats appScanStats) { in App() 176 App add(UUID uuid, WorkSource workSource, C callback, T info, GattService service) { in add() 199 void remove(UUID uuid) { in remove() 306 App getByUuid(UUID uuid) { in getByUuid()
|
D | GattDebugUtils.java | 23 import java.util.UUID; 100 UUID uuid = getUuidExtra(intent); in handleDebugAction() 146 private static UUID getUuidExtra(Intent intent) { in getUuidExtra() 151 return (uuidStr != null) ? UUID.fromString(uuidStr) : null; in getUuidExtra()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 43 private static final String UUID = "AVRCP-ITEM-TEST-UUID"; field in AvrcpItemTest 85 builder.setUuid(UUID); in buildAvrcpItem() 102 Assert.assertEquals(UUID, item.getUuid()); in buildAvrcpItem() 258 builder.setUuid(UUID); in avrcpMediaItem_toMediaMetadata() 273 Assert.assertEquals(UUID, metadata.getString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID)); in avrcpMediaItem_toMediaMetadata() 314 builder.setUuid(UUID); in avrcpFolderItem_toMediaMetadata() 327 Assert.assertEquals(UUID, metadata.getString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID)); in avrcpFolderItem_toMediaMetadata() 359 builder.setUuid(UUID); in avrcpItemNoDisplayName_toMediaItem() 369 Assert.assertEquals(UUID, mediaItem.getMediaId()); in avrcpItemNoDisplayName_toMediaItem() 371 Assert.assertEquals(UUID, desc.getMediaId()); in avrcpItemNoDisplayName_toMediaItem() [all …]
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBleCentralManager.java | 43 import java.util.UUID; 57 private static final UUID CHARACTERISTIC_CONFIG = 58 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); 74 private final UUID mServiceUuid; 76 private final UUID mWriteCharacteristicUuid; 78 private final UUID mReadCharacteristicUuid; 97 @NonNull UUID serviceUuid, in CarBleCentralManager() 99 @NonNull UUID writeCharacteristicUuid, in CarBleCentralManager() 100 @NonNull UUID readCharacteristicUuid) { in CarBleCentralManager()
|
D | CarBlePeripheralManager.java | 45 import java.util.UUID; 66 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = 67 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); 79 private final UUID mAssociationServiceUuid; 111 @NonNull UUID associationServiceUuid, @NonNull UUID writeCharacteristicUuid, in CarBlePeripheralManager() 112 @NonNull UUID readCharacteristicUuid) { in CarBlePeripheralManager() 177 public void connectToDevice(@NonNull UUID deviceId, int timeoutSeconds) { in connectToDevice() 179 if (UUID.fromString(device.mDeviceId).equals(deviceId)) { in connectToDevice() 280 private void startAdvertising(@NonNull UUID serviceUuid, @NonNull AdvertiseCallback callback, in startAdvertising()
|
D | DeviceMessage.java | 26 import java.util.UUID; 33 private final UUID mRecipient; 39 public DeviceMessage(@Nullable UUID recipient, boolean isMessageEncrypted, in DeviceMessage() 48 public UUID getRecipient() { in getRecipient()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManagerTest.java | 56 import java.util.UUID; 62 private static final UUID ASSOCIATION_SERVICE_UUID = UUID.randomUUID(); 63 private static final UUID WRITE_UUID = UUID.randomUUID(); 64 private static final UUID READ_UUID = UUID.randomUUID(); 67 private static final UUID TEST_REMOTE_DEVICE_ID = UUID.randomUUID(); 203 mCarBlePeripheralManager.connectToDevice(UUID.randomUUID(), timeoutSeconds); in connectToDevice_stopsAdvertisingAfterTimeout()
|
D | SecureBleChannelTest.java | 46 import java.util.UUID; 52 private static final UUID CLIENT_DEVICE_ID = 53 UUID.fromString("a5645523-3280-410a-90c1-582a6c6f4969"); 54 private static final UUID SERVER_DEVICE_ID = 55 UUID.fromString("a29f0c74-2014-4b14-ac02-be6ed15b545a");
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/trust/ |
D | CarTrustAgentEnrollmentServiceTest.java | 49 import java.util.UUID; 60 private static final UUID TEST_ID1 = UUID.fromString("9a138a69-7c29-400f-9e71-fc29516f9f8b"); 61 private static final UUID TEST_ID2 = UUID.fromString("3e344860-e688-4cce-8411-16161b61ad57"); 131 UUID uuid = UUID.randomUUID(); in testEncryptionHandshake() 280 private void setupEncryptionHandshake(UUID uuid) { in setupEncryptionHandshake()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinderTest.java | 48 import java.util.UUID; 55 private final ParcelUuid mRecipientId = new ParcelUuid(UUID.randomUUID()); 81 ConnectedDevice connectedDevice = new ConnectedDevice(UUID.randomUUID().toString(), in getActiveUserConnectedDevices_mirrorsConnectedDeviceManager() 111 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in registerDeviceCallback_mirrorsConnectedDeviceManager() 124 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in unregisterDeviceCallback_mirrorsConnectedDeviceManager() 136 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in sendMessageSecurely_mirrorsConnectedDeviceManager() 148 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in sendMessageUnsecurely_mirrorsConnectedDeviceManager()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | IsoInterface.java | 42 import java.util.UUID; 100 public UUID uuid; 126 private static @NonNull UUID readUuid(@NonNull FileDescriptor fd) in readUuid() 130 return new UUID(high, low); in readUuid() 251 public @NonNull long[] getBoxRanges(@NonNull UUID uuid) { in getBoxRanges() 277 public @Nullable byte[] getBoxBytes(@NonNull UUID uuid) { in getBoxBytes()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | ByteUtils.java | 27 import java.util.UUID; 86 public static byte[] uuidToBytes(@NonNull UUID uuid) { in uuidToBytes() 102 public static UUID bytesToUUID(@NonNull byte[] bytes) { in bytesToUUID() 108 return new UUID(buffer.getLong(), buffer.getLong()); in bytesToUUID()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 42 import java.util.UUID; 278 UUID sUuid = UUID.fromString(GattServer.TEST_SERVICE_UUID); in writeCharacteristic() 284 UUID cUuid = UUID.fromString(GattServer.WRITABLE_CHAR_UUID); in writeCharacteristic()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | LocalFeature.java | 33 import java.util.UUID; 46 private final UUID mFeatureId; 51 @NonNull ConnectedDeviceManager connectedDeviceManager, @NonNull UUID featureId) { in LocalFeature() 94 public UUID getFeatureId() { in getFeatureId()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
D | BluetoothConnection.java | 28 import java.util.UUID; 35 …private static final UUID SERIAL_PORT_PROFILE = UUID.fromString("00001101-0000-1000-8000-00805F9B3…
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/ |
D | ConnectedDeviceStorage.java | 49 import java.util.UUID; 82 private UUID mUniqueId; 275 public UUID getUniqueId() { in getUniqueId() 282 mUniqueId = UUID.fromString(prefs.getString(UNIQUE_ID_KEY, null)); in getUniqueId() 288 mUniqueId = UUID.randomUUID(); in getUniqueId()
|