Home
last modified time | relevance | path

Searched refs:randomUUID (Results 1 – 25 of 231) sorted by relevance

12345678910

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java172 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()
426 BluetoothCall parentCall = createActiveCall(UUID.randomUUID()); in testListCurrentCallsCdmaHold()
[all …]
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/data/
DDockAppItemTest.kt34 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/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV7Test.java71 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.java94 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.java76 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()
310 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesEventReport()
[all …]
DMeasurementDbMigratorV12Test.java56 String source1Id = UUID.randomUUID().toString(); in performMigration_v11ToV12WithData_maintainsDataIntegrity()
112 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV11()
135 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV11()
144 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV11()
152 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV11()
162 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV11()
172 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV11()
182 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV11()
193 UUID.randomUUID().toString()); in createFakeDataV11()
DMeasurementDbMigratorV18Test.java54 String source1Id = UUID.randomUUID().toString(); in performMigration_v17ToV18WithData_maintainsDataIntegrity()
105 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV17()
125 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV17()
133 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV17()
140 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV17()
149 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV17()
158 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV17()
167 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV17()
177 UUID.randomUUID().toString()); in createFakeDataV17()
DMeasurementDbMigratorV10Test.java53 String source1Id = UUID.randomUUID().toString(); in performMigration_v9ToV10WithData_maintainsDataIntegrity()
105 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV9()
128 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV9()
137 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV9()
145 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV9()
155 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV9()
165 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV9()
175 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV9()
186 UUID.randomUUID().toString()); in createFakeDataV9()
DMeasurementDbMigratorV9Test.java124 String source1Id = UUID.randomUUID().toString(); in createFakeDataV8()
134 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataV8()
142 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV8()
151 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV8()
159 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV8()
169 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV8()
179 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV8()
189 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV8()
200 UUID.randomUUID().toString()); in createFakeDataV8()
DMeasurementDbMigratorV11Test.java129 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
134 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
139 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
146 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
153 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
DMeasurementDbMigratorV15Test.java75 String sourceId = UUID.randomUUID().toString(); in performMigration_v14ToV15WithData_maintainsDataIntegrity()
83 debugReportRows.add(buildDebugReportV14(UUID.randomUUID().toString(), ENROLLMENT_ID_1)); in performMigration_v14ToV15WithData_maintainsDataIntegrity()
105 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesDebugReport()
107 reportRows.add(buildDebugReportV14(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_whenEnrollmentIdNotFound_removesDebugReport()
159 reportRows.add(buildDebugReportV14(UUID.randomUUID().toString(), ENROLLMENT_ID_1)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesDebugReport()
160 reportRows.add(buildDebugReportV14(UUID.randomUUID().toString(), ENROLLMENT_ID_3)); in performMigration_whenReportingUrlNotFoundOrEmpty_removesDebugReport()
215 triggerRows.add(buildTriggerV14(UUID.randomUUID().toString(), ENROLLMENT_ID_1)); in createFakeDataSourceAndTriggerV14()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java152 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
168 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
192 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
206 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
224 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
231 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
240 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
248 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
260 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
267 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistration.java65 UUID.randomUUID().toString(), in appSourceOrTriggerRegistrationRequest()
82 UUID.randomUUID().toString(), in appSourceOrTriggerRegistrationRequest()
104 String registrationId = UUID.randomUUID().toString();
111 UUID.randomUUID().toString(),
147 String registrationId = UUID.randomUUID().toString();
154 UUID.randomUUID().toString(),
192 String registrationId = UUID.randomUUID().toString();
199 UUID.randomUUID().toString(),
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDbHelperTest.java154 source1.put(MeasurementTables.SourceContract.ID, UUID.randomUUID().toString()); in createFakeData()
162 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeData()
170 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeData()
179 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeData()
187 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeData()
197 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeData()
207 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeData()
217 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeData()
228 UUID.randomUUID().toString()); in createFakeData()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java48 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/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationTest.java66 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppSource()
82 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppTrigger()
97 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForWebSource()
116 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForWebTrigger()
131 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppSources()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DContentControlIdKeeperTest.java94 ParcelUuid uuid_one = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcid()
95 ParcelUuid uuid_two = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcid()
107 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAcquireReleaseCcidForCompoundContext()
119 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAcquireInvalidContext()
133 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAcquireContextMoreThanOnce()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DEventReportFixture.java32 .setId(UUID.randomUUID().toString()) in getBaseEventReportBuild()
44 .setSourceId(UUID.randomUUID().toString()) in getBaseEventReportBuild()
45 .setTriggerId(UUID.randomUUID().toString()) in getBaseEventReportBuild()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java89 .setUuid(UUID.randomUUID()) in buildExerciseSessionInternal()
109 .setUuid(UUID.randomUUID()) in buildPlannedExerciseSessionInternal()
150 .setUuid(UUID.randomUUID()) in buildSleepSessionInternal()
180 .setUuid(UUID.randomUUID()) in buildExerciseSessionInternalNoExtraFields()
189 .setUuid(UUID.randomUUID()) in buildSleepSessionInternalNoExtraFields()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DUserProfileIdDaoSharedPreferencesImplTest.java63 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DConsentedDebugConfigurationDaoTest.java45 private static final String DEBUG_TOKEN = UUID.randomUUID().toString();
99 UUID.randomUUID().toString(), in testGetAllActiveConsentedDebugConfigurations_fetchesRecentlyCreated()
106 UUID.randomUUID().toString(), in testGetAllActiveConsentedDebugConfigurations_fetchesRecentlyCreated()
181 UUID.randomUUID().toString(), in testDeleteExistingConsentedDebugConfigurationsAndPersist()
188 UUID.randomUUID().toString(), in testDeleteExistingConsentedDebugConfigurationsAndPersist()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherPasswordPreferenceController.java152 String randomUUID = UUID.randomUUID().toString(); in generateRandomPassword() local
154 return randomUUID.substring(0, 8) + randomUUID.substring(9, 13); in generateRandomPassword()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DAdvertiseHelperTest.java58 .addServiceUuid(new ParcelUuid(UUID.randomUUID())) in advertiseDataToBytes()
59 .addServiceData(new ParcelUuid(UUID.randomUUID()), serviceData) in advertiseDataToBytes()
60 .addServiceSolicitationUuid(new ParcelUuid(UUID.randomUUID())) in advertiseDataToBytes()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java121 Parcelable parcelable1 = new ParcelUuid(UUID.randomUUID()); in testDeepEquals_sparseArray()
122 Parcelable parcelable2 = new ParcelUuid(UUID.randomUUID()); in testDeepEquals_sparseArray()
123 Parcelable parcelable3 = new ParcelUuid(UUID.randomUUID()); in testDeepEquals_sparseArray()
176 Parcelable parcelable1 = new ParcelUuid(UUID.randomUUID()); in testHashCode_sparseArray()
177 Parcelable parcelable2 = new ParcelUuid(UUID.randomUUID()); in testHashCode_sparseArray()
178 Parcelable parcelable3 = new ParcelUuid(UUID.randomUUID()); in testHashCode_sparseArray()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGenericTest.java201 UUID.randomUUID(), in testCallAdded()
230 UUID callUuid = UUID.randomUUID(); in testCallRemoved()
264 UUID callUuid = UUID.randomUUID(); in testCallStateChanged()
309 UUID.randomUUID(), in testCurrentCallsList()
316 UUID.randomUUID(), in testCurrentCallsList()
341 UUID callUuid = UUID.randomUUID(); in testCallAccept()
399 UUID callUuid = UUID.randomUUID(); in testCallTerminate()
455 UUID callUuid = UUID.randomUUID(); in testCallHold()
511 UUID callUuid = UUID.randomUUID(); in testCallRetrieve()
618 List<UUID> callUuids = Arrays.asList(UUID.randomUUID(), UUID.randomUUID()); in testCallJoin()

12345678910