Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreService.java98 String populationName, String taskId, String collectionUri) { in getTaskIdentifier() argument
99 return populationName + "_" + taskId + "_" + collectionUri; in getTaskIdentifier()
102 private static boolean isCollectionUriPresent(String collectionUri) { in isCollectionUriPresent() argument
103 return collectionUri != null && !collectionUri.isEmpty(); in isCollectionUriPresent()
118 String collectionUri = params.getString(ClientConstants.EXTRA_COLLECTION_URI); in startQuery() local
170 isCollectionUriPresent(collectionUri) in startQuery()
171 ? getTaskIdentifier(populationName, taskId, collectionUri) in startQuery()
184 if (isCollectionUriPresent(collectionUri)) { in startQuery()
185 input.setCollectionName(collectionUri); in startQuery()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/
DExampleConsumptionRecorder.java58 String taskId, byte[] criteria, @Nullable String collectionUri) { in SingleQueryRecorder() argument
63 this.mCollectionUri = collectionUri; in SingleQueryRecorder()
101 String taskId, byte[] criteria, String collectionUri) { in createRecorderForTracking() argument
102 SingleQueryRecorder recorder = new SingleQueryRecorder(taskId, criteria, collectionUri); in createRecorderForTracking()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPhotoPickerUtils.kt104 collectionUri: Uri, in <lambda>()
108 stageMedia(context, resId, collectionUri, mimeType) in <lambda>()
115 collectionUri: Uri, in <lambda>()
119 val params = MediaStoreUtils.PendingParams(collectionUri, displayName, mimeType) in <lambda>()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java466 private void doLegacy(Uri collectionUri, ContentValues values) throws Exception { in doLegacy() argument
478 legacyUri = rewriteToLegacy(legacy.insert(rewriteToLegacy(collectionUri), values)); in doLegacy()
498 assertOrientationColumn(collectionUri, values, context, legacyFile); in doLegacy()
503 MediaStore.getVolumeName(collectionUri)); in doLegacy()
504 assertColumnsHaveExpectedValues(collectionUri, values, context, legacyFile); in doLegacy()
508 private void assertOrientationColumn(Uri collectionUri, ContentValues originalValues, in assertOrientationColumn() argument
512 assertColumnsHaveExpectedValues(collectionUri, values, context, legacyFile); in assertOrientationColumn()
515 private void assertColumnsHaveExpectedValues(Uri collectionUri, ContentValues values, in assertColumnsHaveExpectedValues() argument
529 try (Cursor cursor = pollForCursor(modern, collectionUri, extras)) { in assertColumnsHaveExpectedValues() argument
552 private static Cursor pollForCursor(ContentProviderClient modern, Uri collectionUri, in pollForCursor() argument
[all …]
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DExampleConsumptionRecorderTest.java64 String collectionUri = "collection"; in testIncrementWithCollectionUri() local
69 recorder.createRecorderForTracking(taskName, selectionCriteria, collectionUri); in testIncrementWithCollectionUri()
79 .setCollectionUri(collectionUri) in testIncrementWithCollectionUri()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/
DExampleConsumption.java64 @Nullable String collectionUri) { in ExampleConsumption() argument
70 this.mCollectionUri = collectionUri; in ExampleConsumption()
169 String collectionUri = (flg & 0x10) == 0 ? null : in.readString(); in ExampleConsumption() local
176 this.mCollectionUri = collectionUri; in ExampleConsumption()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DFederatedComputeWorkerTest.java1119 String collectionUri = params.getString(ClientConstants.EXTRA_COLLECTION_URI); in startQuery() local
1120 if (!collectionUri.equals(COLLECTION_URI)) { in startQuery()