/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 61 final int storageFlags; in snapshotAppData() local 66 storageFlags = Installer.FLAG_STORAGE_DE; in snapshotAppData() 69 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData() 74 packageRollbackInfo.getPackageName(), user, snapshotId, storageFlags); in snapshotAppData() 75 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in snapshotAppData() 95 int storageFlags = Installer.FLAG_STORAGE_DE; in restoreAppData() local 117 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData() 123 userId, rollbackId, storageFlags); in restoreAppData() local 138 int storageFlags = Installer.FLAG_STORAGE_DE; in destroyAppDataSnapshot() local 142 storageFlags |= Installer.FLAG_STORAGE_CE; in destroyAppDataSnapshot() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 123 int storageFlags; in logDynamicCodeLoading() local 126 storageFlags = StorageManager.FLAG_STORAGE_CE; in logDynamicCodeLoading() 128 storageFlags = StorageManager.FLAG_STORAGE_DE; in logDynamicCodeLoading() 142 appInfo.volumeUuid, storageFlags); in logDynamicCodeLoading()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 628 public long snapshotAppData(String pkg, @UserIdInt int userId, int snapshotId, int storageFlags) in snapshotAppData() argument 633 return mInstalld.snapshotAppData(null, pkg, userId, snapshotId, storageFlags); in snapshotAppData() 654 @UserIdInt int userId, int snapshotId, int storageFlags) throws InstallerException { in restoreAppDataSnapshot() argument 659 storageFlags); in restoreAppDataSnapshot() 681 int snapshotId, int storageFlags) throws InstallerException { in destroyAppDataSnapshot() argument 686 storageFlags); in destroyAppDataSnapshot()
|
D | PackageManagerService.java | 3176 final int storageFlags; in PackageManagerService() local 3178 storageFlags = StorageManager.FLAG_STORAGE_DE; in PackageManagerService() 3180 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService() 3183 UserHandle.USER_SYSTEM, storageFlags, true /* migrateAppData */, in PackageManagerService() 3212 prepareAppDataAndMigrateLIF(pkg, UserHandle.USER_SYSTEM, storageFlags, in PackageManagerService() 4741 final int storageFlags, final IPackageDataObserver observer) { in freeStorageAndNotify() argument 4747 freeStorage(volumeUuid, freeStorageSize, storageFlags); in freeStorageAndNotify() 4764 final int storageFlags, final IntentSender pi) { in freeStorage() argument 4770 freeStorage(volumeUuid, freeStorageSize, storageFlags); in freeStorage() 4789 public void freeStorage(String volumeUuid, long bytes, int storageFlags) throws IOException { in freeStorage() argument [all …]
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 65 int32_t storageFlags, int64_t* _aidl_return); 68 const int32_t user, const int32_t snapshotId, int32_t storageFlags); 71 const int32_t snapshotId, int32_t storageFlags);
|
D | InstalldNativeService.cpp | 841 int32_t storageFlags, int64_t* _aidl_return) { in snapshotAppData() argument 888 storageFlags | FLAG_CLEAR_CACHE_ONLY, 0); in snapshotAppData() 897 storageFlags | FLAG_CLEAR_CODE_CACHE_ONLY, 0); in snapshotAppData() 904 if (storageFlags & FLAG_STORAGE_DE) { in snapshotAppData() 928 if (storageFlags & FLAG_STORAGE_CE) { in snapshotAppData() 968 const int32_t snapshotId, int32_t storageFlags) { in restoreAppDataSnapshot() argument 982 const bool needs_ce_rollback = (storageFlags & FLAG_STORAGE_CE) && in restoreAppDataSnapshot() 984 const bool needs_de_rollback = (storageFlags & FLAG_STORAGE_DE) && in restoreAppDataSnapshot() 1000 binder::Status res = clearAppData(volumeUuid, packageName, user, storageFlags, in restoreAppDataSnapshot() 1032 return restoreconAppData(volumeUuid, packageName, user, storageFlags, appId, seInfo); in restoreAppDataSnapshot() [all …]
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 109 int userId, int snapshotId, int storageFlags); in snapshotAppData() argument 113 int userId, long ceSnapshotInode, int snapshotId, int storageFlags); in destroyAppDataSnapshot() argument
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 209 final int storageFlags; in queryDocument() local 217 storageFlags = storageCursor.getInt(1); in queryDocument() 229 values.put(Document.COLUMN_FLAGS, storageFlags); in queryDocument()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 419 int storageFlags, IPackageDataObserver observer); in freeStorageAndNotify() argument 443 int storageFlags, in IntentSender pi); in freeStorage() argument
|
D | PackageManagerInternal.java | 830 public abstract void freeStorage(String volumeUuid, long bytes, int storageFlags) in freeStorage() argument
|