Home
last modified time | relevance | path

Searched refs:uuidList (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerTest.java236 List<UUID> uuidList = mTransactionTestUtils.getAllDeletedUuids(); in deleteAll_byId_generateChangeLogs() local
237 assertThat(uuidList).hasSize(1); in deleteAll_byId_generateChangeLogs()
238 assertThat(uuidList.get(0).toString()).isEqualTo(uuids.get(0)); in deleteAll_byId_generateChangeLogs()
258 List<UUID> uuidList = mTransactionTestUtils.getAllDeletedUuids(); in deleteAll_byTimeFilter_generateChangeLogs() local
259 assertThat(uuidList).hasSize(1); in deleteAll_byTimeFilter_generateChangeLogs()
260 assertThat(uuidList.get(0).toString()).isEqualTo(uuids.get(0)); in deleteAll_byTimeFilter_generateChangeLogs()
281 List<UUID> uuidList = mTransactionTestUtils.getAllDeletedUuids(); in deleteAll_bulkDeleteByTimeFilter_generateChangeLogs() local
282 assertThat(uuidList).hasSize(DEFAULT_PAGE_SIZE + 1); in deleteAll_bulkDeleteByTimeFilter_generateChangeLogs()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java399 List<ParcelUuid> uuidList; in removeUuidFromMetadata() local
403 uuidList = new ArrayList<ParcelUuid>(); in removeUuidFromMetadata()
405 uuidList = new ArrayList<>(Arrays.asList(Utils.byteArrayToUuid(gtbs_cccd))); in removeUuidFromMetadata()
407 if (!uuidList.contains(charUuid)) { in removeUuidFromMetadata()
416 uuidList.remove(charUuid); in removeUuidFromMetadata()
419 METADATA_GTBS_CCCD, Utils.uuidsToByteArray(uuidList.toArray(new ParcelUuid[0])))) { in removeUuidFromMetadata()
425 List<ParcelUuid> uuidList; in addUuidToMetadata() local
429 uuidList = new ArrayList<ParcelUuid>(); in addUuidToMetadata()
431 uuidList = new ArrayList<>(Arrays.asList(Utils.byteArrayToUuid(gtbs_cccd))); in addUuidToMetadata()
433 if (uuidList.contains(charUuid)) { in addUuidToMetadata()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlProfile.java922 List<ParcelUuid> uuidList; in setNotificationSubscription() local
925 uuidList = new ArrayList<ParcelUuid>(); in setNotificationSubscription()
927 uuidList = in setNotificationSubscription()
933 if (!uuidList.contains(charUuid)) { in setNotificationSubscription()
934 uuidList.add(charUuid); in setNotificationSubscription()
937 } else if (uuidList.contains(charUuid)) { in setNotificationSubscription()
938 uuidList.remove(charUuid); in setNotificationSubscription()
945 Utils.uuidsToByteArray(uuidList.toArray(new ParcelUuid[0])))) { in setNotificationSubscription()
DMediaControlGattService.java884 List<ParcelUuid> uuidList = mMcpService.getNotificationSubscriptions(mCcid, device); in restoreCccValuesForStoredDevices() local
890 + uuidList.size()); in restoreCccValuesForStoredDevices()
893 for (ParcelUuid uuid : uuidList) { in restoreCccValuesForStoredDevices()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DChangeLogsHelperTest.java46 List<UUID> uuidList = in changeLogs_getUpsertTableRequests_listLessThanDefaultPageSize() local
48 assertThat(uuidList).containsExactly(uuid); in changeLogs_getUpsertTableRequests_listLessThanDefaultPageSize()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DChangeLogsHelper.java162 List<UUID> uuidList = StorageUtils.getCursorUUIDList(cursor, UUIDS_COLUMN_NAME); in addChangeLogs() local
167 changeLogs.get(operationType).addUUIDs(recordType, appId, uuidList); in addChangeLogs()
168 return uuidList.size(); in addChangeLogs()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java518 List<UUID> uuidList = new ArrayList<>(); in bytesToUuids() local
522 uuidList.add(new UUID(high, low)); in bytesToUuids()
524 return uuidList; in bytesToUuids()