/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/domain/interactor/ |
D | UndoInteractor.kt | 59 restorerByOwnerId.forEach { (ownerId, restorer) -> in <lambda>() method 65 return repository.getSnapshot(ownerId) in <lambda>() 73 val initialSnapshot = repository.getSnapshot(ownerId) in <lambda>() 75 ownerId = ownerId, in <lambda>() 83 ownerId = ownerId, in <lambda>() 92 repository.getAllDirty().forEach { ownerId -> in <lambda>() method 93 val restorer = restorerByOwnerId[ownerId] in <lambda>() 94 val snapshot = repository.getSnapshot(ownerId) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/data/repository/ |
D | UndoRepository.kt | 36 fun putSnapshot(ownerId: Int, snapshot: RestorableSnapshot) { in putSnapshot() 37 snapshotByOwnerId[ownerId] = snapshot in putSnapshot() 41 fun getSnapshot(ownerId: Int): RestorableSnapshot? { in getSnapshot() 42 return snapshotByOwnerId[ownerId] in getSnapshot() 51 fun putDirty(ownerId: Int, isDirty: Boolean) { in putDirty() 53 dirtyOwnerIds.value = dirtyOwnerIds.value + setOf(ownerId) in putDirty() 55 dirtyOwnerIds.value = dirtyOwnerIds.value - setOf(ownerId) in putDirty()
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | UndoTestUtil.kt | 31 fun snapshot(ownerId: Int, version: Int): RestorableSnapshot { in snapshot() 34 KEY_OWNER_ID to "$ownerId", in snapshot() 41 private val ownerId: Int, constant in com.android.wallpaper.testing.FakeSnapshotRestorer 48 store.store(snapshot(ownerId, version)) in update() 56 ownerId = ownerId, in setUpSnapshotRestorer()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | FuseDaemon.java | 297 public void createOwnerIdRelation(String ownerId, String ownerPackageIdentifier) in createOwnerIdRelation() argument 303 native_create_owner_id_relation(mPtr, ownerId, ownerPackageIdentifier); in createOwnerIdRelation() 310 public void removeOwnerIdRelation(String ownerId, String ownerPackageIdentifier) in removeOwnerIdRelation() argument 316 native_remove_owner_id_relation(mPtr, ownerId, ownerPackageIdentifier); in removeOwnerIdRelation() 356 private native void native_create_owner_id_relation(long daemon, String ownerId, in native_create_owner_id_relation() argument 358 private native void native_remove_owner_id_relation(long daemon, String ownerId, in native_remove_owner_id_relation() argument
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/ |
D | AuthorizationContext.java | 70 @NonNull String ownerId, in AuthorizationContext() 75 mOwnerId = ownerId; in AuthorizationContext() 84 Context context, @NonNull String ownerId, @NonNull String ownerCert) { in create() argument 86 ownerId, in create()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | FileAccessAttributes.java | 34 boolean isTrashed, int ownerId, String ownerPackageName) { in FileAccessAttributes() argument 39 this.mOwnerId = ownerId; in FileAccessAttributes()
|
D | DatabaseBackupAndRecovery.java | 648 String ownerId = fuseDaemon.readFromOwnershipBackup(ownerPackageIdentifier); in getOwnerPackageId() local 649 if (!ownerId.trim().isEmpty()) { in getOwnerPackageId() 651 int val = Integer.parseInt(ownerId); in getOwnerPackageId() 712 String ownerId = fuseDaemon.readFromOwnershipBackup(ownerPackageIdentifier); in removeOwnerIdToPackageRelation() local 714 fuseDaemon.removeOwnerIdRelation(ownerId, ownerPackageIdentifier); in removeOwnerIdToPackageRelation() 946 protected String readOwnerPackageName(String ownerId) throws IOException { in readOwnerPackageName() argument 948 if (ownerIdRelationMap.containsKey(String.valueOf(ownerId))) { in readOwnerPackageName() 949 return getPackageNameAndUserId(ownerIdRelationMap.get(ownerId)).first; in readOwnerPackageName()
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.h | 122 void CreateOwnerIdRelation(const std::string& ownerId, 128 void RemoveOwnerIdRelation(const std::string& ownerId,
|
D | FuseDaemon.cpp | 2784 void FuseDaemon::CreateOwnerIdRelation(const std::string& ownerId, in CreateOwnerIdRelation() argument 2795 leveldb::WriteOptions(), ownerId, ownerPackageIdentifier); in CreateOwnerIdRelation() 2797 leveldb::WriteOptions(), ownerPackageIdentifier, ownerId); in CreateOwnerIdRelation() 2801 ownerId); in CreateOwnerIdRelation() 2804 LOG(ERROR) << "Failure in leveldb insert for owner_id: " << ownerId in CreateOwnerIdRelation() 2810 void FuseDaemon::RemoveOwnerIdRelation(const std::string& ownerId, in RemoveOwnerIdRelation() argument 2821 ownerId); in RemoveOwnerIdRelation() 2825 LOG(INFO) << "Successfully deleted rows in leveldb for owner_id: " << ownerId in RemoveOwnerIdRelation() 2830 leveldb::WriteOptions(), ownerId, ownerPackageIdentifier); in RemoveOwnerIdRelation() 2832 leveldb::WriteOptions(), ownerPackageIdentifier, ownerId); in RemoveOwnerIdRelation() [all …]
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | DeleteExpiredJobServiceTest.java | 256 private ODPAuthorizationToken createExpiredAuthToken(String ownerId) { in createExpiredAuthToken() argument 261 .setOwnerIdentifier(ownerId) in createExpiredAuthToken() 268 private ODPAuthorizationToken createUnexpiredAuthToken(String ownerId) { in createUnexpiredAuthToken() argument 274 .setOwnerIdentifier(ownerId) in createUnexpiredAuthToken()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | XAttrUtils.java | 131 int ownerId = Memory.peekInt(data, offset, byteOrder); in deserializeFileAccessAttributes() local 137 ownerId, null); in deserializeFileAccessAttributes()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/ |
D | FederatedComputeDbHelper.java | 214 String ownerId = cursor.getString(1); in onUpgrade() local 215 String[] parts = ownerId.split("/"); // Split on "/" in onUpgrade()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/ |
D | FederatedComputeWorker.java | 522 String ownerId = 534 ownerId, 545 String ownerId = 554 mContext, ownerId, run.mTask.ownerIdCertDigest()), 1163 AuthorizationContext createAuthContext(Context context, String ownerId, String ownerCert) { 1164 return AuthorizationContext.create(context, ownerId, ownerCert);
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/ |
D | FederatedComputeWorkerTest.java | 1153 AuthorizationContext createAuthContext(Context context, String ownerId, String owerCert) { in createAuthContext() argument 1155 ownerId, in createAuthContext()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 4930 public static String getOwnerPackageName(@NonNull ContentResolver resolver, int ownerId) { in getOwnerPackageName() argument 4931 Bundle bundle = resolver.call(AUTHORITY, GET_OWNER_PACKAGE_NAME, String.valueOf(ownerId), in getOwnerPackageName()
|