Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Datt_filter_by_size_type.rs86 const UUID: Uuid = Uuid::new(1234); constant
95 type_: UUID, in test_single_matching_attr()
105 UUID, in test_single_matching_attr()
127 type_: UUID, in test_skip_mismatching_attrs()
143 type_: UUID, in test_skip_mismatching_attrs()
154 UUID, in test_skip_mismatching_attrs()
182 type_: UUID, in test_stop_once_length_changes()
190 type_: UUID, in test_stop_once_length_changes()
198 type_: UUID, in test_stop_once_length_changes()
209 UUID, in test_stop_once_length_changes()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassConstants.java21 import java.util.UUID;
27 public static final UUID BASS_UUID = UUID.fromString("0000184F-0000-1000-8000-00805F9B34FB");
28 public static final UUID BASS_BCAST_AUDIO_SCAN_CTRL_POINT =
29 UUID.fromString("00002BC7-0000-1000-8000-00805F9B34FB");
30 public static final UUID BASS_BCAST_RECEIVER_STATE =
31 UUID.fromString("00002BC8-0000-1000-8000-00805F9B34FB");
32 public static final UUID CLIENT_CHARACTERISTIC_CONFIG =
33 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb");
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DProfileManager.java51 import java.util.UUID;
57 public final Map<UUID, ServiceProfileInfo> mServiceProfileMap =
90 public Map<UUID, ServiceProfileInfo> toSerialize() { in toSerialize()
96 public void fromDeserialized(Map<UUID, ServiceProfileInfo> serviceProfileDataMap) { in fromDeserialized() argument
117 public Optional<UUID> addServiceProfile(@ServiceID int serviceID) { in addServiceProfile()
118 UUID serviceInstanceID; in addServiceProfile()
122 serviceInstanceID = UUID.randomUUID(); in addServiceProfile()
147 public int removeServiceProfile(UUID serviceInstanceID) { in removeServiceProfile()
176 public void provisioningAdf(@NonNull UUID serviceInstanceId, @NonNull byte[] script, in provisioningAdf()
191 public void onAdfCreated(@NonNull UUID serviceInstanceId, in provisioningAdf()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java69 import java.util.UUID;
172 BluetoothCall mockCall = createRingingCall(UUID.randomUUID()); in testHeadsetAnswerCall()
190 BluetoothCall mockCall = createForegroundCall(UUID.randomUUID()); in testHeadsetHangupCall()
208 BluetoothCall mockCall = createForegroundCall(UUID.randomUUID()); in testHeadsetSendDTMF()
267 BluetoothCall activeCall = createActiveCall(UUID.randomUUID()); in testListCurrentCallsOneCall()
296 BluetoothCall activeCall = createForegroundCall(UUID.randomUUID()); in testBluetoothCallQualityReport()
329 BluetoothCall silentRingingCall = createActiveCall(UUID.randomUUID()); in testListCurrentCallsSilentRinging()
362 BluetoothCall parentCall = createActiveCall(UUID.randomUUID()); in testConferenceInProgressCDMA()
363 final BluetoothCall confCall1 = getMockCall(UUID.randomUUID()); in testConferenceInProgressCDMA()
364 final BluetoothCall confCall2 = createHeldCall(UUID.randomUUID()); in testConferenceInProgressCDMA()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java61 import java.util.UUID;
118 public static UUID generateMedicalResourceUUID( in generateMedicalResourceUUID()
128 private static UUID getUUID(byte[]... byteArrays) { in getUUID()
134 return UUID.nameUUIDFromBytes(byteBuffer.array()); in getUUID()
145 medicalResourceInternal.setUuid(UUID.randomUUID()); in addNameBasedUUIDTo()
157 recordInternal.setUuid(UUID.randomUUID()); in addNameBasedUUIDTo()
161 final UUID uuid = in addNameBasedUUIDTo()
178 final UUID uuid = in updateNameBasedUUIDIfRequired()
187 public static UUID getUUIDFor(@NonNull MedicalResourceId medicalResourceId) { in getUUIDFor()
200 public static UUID getUUIDFor( in getUUIDFor()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DProvisioningManager.java31 import java.util.UUID;
51 public void provisioningAdf(@NonNull UUID serviceInstanceId, @NonNull byte[] scriptData, in provisioningAdf()
66 public void deleteAdf(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid, in deleteAdf()
93 void onAdfCreated(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfCreated()
96 void onAdfProvisioned(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfProvisioned()
99 void onAdfImported(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid, in onAdfImported()
103 void onAdfDeleted(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfDeleted()
106 void onFail(@NonNull UUID serviceInstanceId); in onFail()
112 void onSuccess(UUID serviceInstanceId, ObjectIdentifier adfOid); in onSuccess()
115 void onFail(UUID serviceInstanceId, ObjectIdentifier adfOid); in onFail()
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dfind_by_type_value.rs93 const UUID: Uuid = Uuid::new(0); constant
106 type_: UUID, in test_uuid_match()
122 type_: UUID, in test_uuid_match()
133 attribute_type: UUID.try_into().unwrap(), in test_uuid_match()
168 type_: UUID, in test_value_match()
176 type_: UUID, in test_value_match()
184 type_: UUID, in test_value_match()
195 attribute_type: UUID.try_into().unwrap(), in test_value_match()
232 attribute_type: UUID.try_into().unwrap(), in test_range_check()
256 type_: UUID, in test_empty_response()
[all …]
Dread_by_type_request.rs93 const UUID: Uuid = Uuid::new(1234); constant
102 type_: UUID, in test_single_matching_attr()
112 attribute_type: UUID.into(), in test_single_matching_attr()
140 type_: UUID, in test_type_filtering()
156 type_: UUID, in test_type_filtering()
167 attribute_type: UUID.into(), in test_type_filtering()
202 type_: UUID, in test_limit_total_size()
210 type_: UUID, in test_limit_total_size()
221 attribute_type: UUID.into(), in test_limit_total_size()
249 type_: UUID, in test_no_results()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java30 import java.util.UUID;
48 UUID uuid = UUID.randomUUID(); in scanFilterQueueParams()
51 UUID uuidMask = UUID.randomUUID(); in scanFilterQueueParams()
54 UUID solicitUuid = UUID.randomUUID(); in scanFilterQueueParams()
55 UUID solicitUuidMask = UUID.randomUUID(); in scanFilterQueueParams()
175 ParcelUuid serviceUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter()
176 ParcelUuid serviceSolicitationUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter()
179 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DChangeLogsHelperTest.java34 import java.util.UUID;
41 UUID uuid = UUID.randomUUID(); in changeLogs_getUpsertTableRequests_listLessThanDefaultPageSize()
46 List<UUID> uuidList = in changeLogs_getUpsertTableRequests_listLessThanDefaultPageSize()
56 UUID uuid = UUID.randomUUID(); in changeLogs_getUpsertTableRequests_listMoreThanDefaultPageSize()
62 List<UUID> uuidList1 = in changeLogs_getUpsertTableRequests_listMoreThanDefaultPageSize()
65 List<UUID> uuidList2 = in changeLogs_getUpsertTableRequests_listMoreThanDefaultPageSize()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DUserProfileIdDaoSharedPreferencesImplTest.java36 import java.util.UUID;
63 UUID uuid = UUID.randomUUID(); in testSetAndReadId()
77 UUID uuid1 = UUID.randomUUID(); in testSetId_idExist_overrideExistingId()
89 UUID uuid2 = UUID.randomUUID(); in testSetId_idExist_overrideExistingId()
102 UUID uuid = UUID.randomUUID(); in testDeleteStorage()
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/data/
DDockAppItemTest.kt24 import java.util.UUID
34 val id = UUID.randomUUID() in compareAppItems_equal()
43 val id = UUID.randomUUID() in compareAppItems_notEqual_differentApps()
52 val id = UUID.randomUUID() in compareAppItems_notEqual_differentNames()
61 val id = UUID.randomUUID() in compareAppItems_notEqual_differentStates()
74 val id = UUID.randomUUID() in compareAppItems_notEqual_differentIcons()
83 val id = UUID.randomUUID() in compareAppItems_notEqual_differentDrivingOptimized()
92 val id = UUID.randomUUID() in compareAppItems_notEqual_differentMediaType()
101 val id = UUID.randomUUID() in compareAppItems_notEqual_differentIconColor()
110 val id = UUID.randomUUID() in compareAppItems_notEqual_differentIconColorScrim()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/utils/
DStorageUtilsTest.java36 import java.util.UUID;
48 UUID uuid1 = UUID.randomUUID(); in uuidToBytesAndBack_oneUuid()
49 UUID uuid2 = UUID.randomUUID(); in uuidToBytesAndBack_oneUuid()
69 UUID expected = UUID.nameUUIDFromBytes(bytes); in generateMedicalResourceUuid_correctResult()
71 UUID result = in generateMedicalResourceUuid_correctResult()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/profile/
DUuidBundleWrapper.java22 import java.util.UUID;
30 private final Optional<UUID> mServiceInstanceID;
35 public UuidBundleWrapper(Optional<UUID> serviceInstanceID) { in UuidBundleWrapper()
43 public Optional<UUID> getServiceInstanceID() { in getServiceInstanceID()
73 builder.setServiceInstanceID(Optional.of(UUID.fromString( in parseVersion1()
81 private Optional<UUID> mServiceInstanceID = Optional.empty();
83 public UuidBundleWrapper.Builder setServiceInstanceID(Optional<UUID> serviceInstanceID) { in setServiceInstanceID()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DServiceProfileDataTest.java43 import java.util.UUID;
65 UUID serviceInstanceID = new UUID(100, 500); in testSerializeData()
100 public Map<UUID, ServiceProfileData.ServiceProfileInfo> mData =
103 public Map<UUID, ServiceProfileInfo> toSerialize() { in toSerialize()
104 Map<UUID, ServiceProfileInfo> mServiceProfileMap = in toSerialize()
106 UUID serviceInstanceID = new UUID(100, 500); in toSerialize()
121 Map<UUID, ServiceProfileData.ServiceProfileInfo> serviceProfileData) { in fromDeserialized() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DHandleMap.java22 import java.util.UUID;
38 public UUID uuid = null;
46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry()
58 UUID uuid, in Entry()
71 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry()
79 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry()
106 UUID uuid, in addService()
113 void addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) { in addCharacteristic()
118 void addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) { in addDescriptor()
152 boolean checkServiceExists(UUID uuid, int handle) { in checkServiceExists()
DGattDbElement.java19 import java.util.UUID;
36 public UUID uuid;
54 public static GattDbElement createPrimaryService(UUID uuid) { in createPrimaryService()
61 public static GattDbElement createSecondaryService(UUID uuid) { in createSecondaryService()
68 public static GattDbElement createCharacteristic(UUID uuid, int properties, int permissions) { in createCharacteristic()
77 public static GattDbElement createDescriptor(UUID uuid, int permissions) { in createDescriptor()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DProfileManagerTest.java51 import java.util.UUID;
81 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testAddServiceProfile()
82 Optional<UUID> uuid2 = mProfileManager.addServiceProfile(2); in testAddServiceProfile()
97 for (Map.Entry<UUID, ServiceProfileInfo> entry : in testRemoveServiceProfile()
107 UUID serviceInstanceID = new UUID(100, 50); in testLoadServiceProfile()
112 Map<UUID, ServiceProfileInfo> testMap = new HashMap<>(); in testLoadServiceProfile()
124 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testActivateProfile()
137 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testStartRanging()
154 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testStopRanging()
174 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testCloseRanging()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java63 import java.util.UUID;
78 public static final UUID UUID_PLAYER_NAME =
79 UUID.fromString("00002b93-0000-1000-8000-00805f9b34fb");
80 public static final UUID UUID_PLAYER_ICON_OBJ_ID =
81 UUID.fromString("00002b94-0000-1000-8000-00805f9b34fb");
82 public static final UUID UUID_PLAYER_ICON_URL =
83 UUID.fromString("00002b95-0000-1000-8000-00805f9b34fb");
84 public static final UUID UUID_TRACK_CHANGED =
85 UUID.fromString("00002b96-0000-1000-8000-00805f9b34fb");
86 public static final UUID UUID_TRACK_TITLE =
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV7Test.java35 import java.util.UUID;
71 String source1Id = UUID.randomUUID().toString(); in createFakeDataV6()
80 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
88 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
97 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV6()
105 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
115 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV6()
125 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
135 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
146 UUID.randomUUID().toString()); in createFakeDataV6()
DMeasurementDbMigratorV8Test.java39 import java.util.UUID;
94 String source1Id = UUID.randomUUID().toString(); in createFakeDataV7()
103 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
111 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
120 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV7()
128 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
138 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV7()
148 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
158 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
169 UUID.randomUUID().toString()); in createFakeDataV7()
DMeasurementDbMigratorV14Test.java44 import java.util.UUID;
76 String sourceId = UUID.randomUUID().toString(); in performMigration_v13ToV14WithData_maintainsDataIntegrity()
116 String id1 = UUID.randomUUID().toString(); in performMigration_enrollmentIdNotFound_removesSource()
118 sourceRows.add(buildSourceV13(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_enrollmentIdNotFound_removesSource()
168 sourceRows.add(buildSourceV13(UUID.randomUUID().toString(), ENROLLMENT_ID_1)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesSource()
169 sourceRows.add(buildSourceV13(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesSource()
206 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesTrigger()
208 triggerRows.add(buildTriggerV13(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_whenEnrollmentIdNotFound_removesTrigger()
259 triggerRows.add(buildTriggerV13(UUID.randomUUID().toString(), ENROLLMENT_ID_1)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesTrigger()
260 triggerRows.add(buildTriggerV13(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesTrigger()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattDescriptor.java25 import java.util.UUID;
74 protected UUID mUuid;
110 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor()
122 BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor()
127 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor()
132 BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) { in initDescriptor()
192 public UUID getUuid() { in getUuid()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerTest.java78 import java.util.UUID;
127 assertThat(records.get(0).getUuid()).isEqualTo(UUID.fromString(uuid)); in readRecordsById_returnsAllRecords()
140 List<UUID> stepsUuids = ImmutableList.of(UUID.fromString(uuids.get(0))); in readRecordsById_multipleRecordTypes_returnsAllRecords()
141 List<UUID> bloodPressureUuids = ImmutableList.of(UUID.fromString(uuids.get(1))); in readRecordsById_multipleRecordTypes_returnsAllRecords()
152 assertThat(records.get(0).getUuid()).isEqualTo(UUID.fromString(uuids.get(0))); in readRecordsById_multipleRecordTypes_returnsAllRecords()
153 assertThat(records.get(1).getUuid()).isEqualTo(UUID.fromString(uuids.get(1))); in readRecordsById_multipleRecordTypes_returnsAllRecords()
203 assertThat(result.first.get(0).getUuid()).isEqualTo(UUID.fromString(uuids.get(0))); in readRecordsAndPageToken_returnsRecordsAndPageToken()
211 .addId(UUID.randomUUID().toString()) in readRecordsAndPageToken_readByIdRequest_throws()
236 List<UUID> uuidList = mTransactionTestUtils.getAllDeletedUuids(); in deleteAll_byId_generateChangeLogs()
258 List<UUID> uuidList = mTransactionTestUtils.getAllDeletedUuids(); in deleteAll_byTimeFilter_generateChangeLogs()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java51 import java.util.UUID;
61 @VisibleForTesting static final UUID UUID_TBS = makeUuid("184B");
62 @VisibleForTesting public static final UUID UUID_GTBS = makeUuid("184C");
63 @VisibleForTesting static final UUID UUID_BEARER_PROVIDER_NAME = makeUuid("2BB3");
64 @VisibleForTesting static final UUID UUID_BEARER_UCI = makeUuid("2BB4");
65 @VisibleForTesting static final UUID UUID_BEARER_TECHNOLOGY = makeUuid("2BB5");
66 @VisibleForTesting static final UUID UUID_BEARER_URI_SCHEMES_SUPPORTED_LIST = makeUuid("2BB6");
67 @VisibleForTesting static final UUID UUID_BEARER_LIST_CURRENT_CALLS = makeUuid("2BB9");
68 @VisibleForTesting static final UUID UUID_CONTENT_CONTROL_ID = makeUuid("2BBA");
69 @VisibleForTesting static final UUID UUID_STATUS_FLAGS = makeUuid("2BBB");
[all …]

12345678910>>...18