/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 347 "com.foo", 0, 37, FLAG_STORAGE_DE, &ce_snapshot_inode)); in TEST_F() 368 "com.foo", 0, 37, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 410 "com.foo", 0, 67, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 413 "com.bar", 0, 67, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 444 "com.foo", 0, 73, FLAG_STORAGE_DE, nullptr)); in TEST_F() 479 "com.foo", 0, 13, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 500 "com.foo", 0, 17, FLAG_STORAGE_DE, nullptr)); in TEST_F() 527 "com.foo", 0, 23, FLAG_STORAGE_CE | FLAG_STORAGE_DE, nullptr)); in TEST_F() 561 "com.foo", 10000, "", 0, 239, FLAG_STORAGE_DE | FLAG_STORAGE_CE)); in TEST_F() 587 "com.foo", 0, 57, FLAG_STORAGE_DE | FLAG_STORAGE_CE, &ce_snapshot_inode).isOk()); in TEST_F() [all …]
|
D | installd_utils_test.cpp | 486 package_name, app_dir_de_user_0 + "/de0.dex", app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F() 489 package_name, app_dir_de_user_10 + "/de0.dex", app_uid_for_user_10, FLAG_STORAGE_DE); in TEST_F() 498 package_name, app_dir_ce_user_0 + "/ce_from_de.dex", app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F() 506 package_name, "without_slash.dex", app_uid_for_user_10, FLAG_STORAGE_DE); in TEST_F() 511 app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F()
|
D | installd_dexopt_test.cpp | 188 static constexpr int32_t kAppDataFlags = FLAG_STORAGE_CE | FLAG_STORAGE_DE; 843 reconcile_secondary_dex(secondary_dex_de_, FLAG_STORAGE_DE, in TEST_F() 850 reconcile_secondary_dex(secondary_dex_de_, FLAG_STORAGE_DE, in TEST_F() 859 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_DE, in TEST_F()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 73 eq("com.foo.bar"), eq(10), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 75 eq("com.foo.bar"), eq(11), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 94 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 96 eq("com.foo.bar"), eq(11), eq(7), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 130 eq(13) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_pendingBackupForUser() 151 eq(73) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 175 eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() 195 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in destroyAppData() 198 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in destroyAppData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 102 .prepareUserData(TEST_USER_ID, TEST_USER_SERIAL, StorageManager.FLAG_STORAGE_DE); in testPrepareUserData_De() 104 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_DE)); in testPrepareUserData_De() 106 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_DE)); in testPrepareUserData_De() 159 mUserDataPreparer.destroyUserData(TEST_USER_ID, StorageManager.FLAG_STORAGE_DE); in testDestroyUserData_De() 162 eq(StorageManager.FLAG_STORAGE_DE)); in testDestroyUserData_De() 164 eq(StorageManager.FLAG_STORAGE_DE)); in testDestroyUserData_De() 205 eq(StorageManager.FLAG_STORAGE_DE|StorageManager.FLAG_STORAGE_CE)); in testReconcileUsers()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 67 storageFlags = Installer.FLAG_STORAGE_DE; in snapshotAppData() 70 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData() 97 int storageFlags = Installer.FLAG_STORAGE_DE; in restoreAppData() 140 int storageFlags = Installer.FLAG_STORAGE_DE; in destroyAppDataSnapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 87 if ((flags & StorageManager.FLAG_STORAGE_DE) != 0 && !mOnlyCore) { in prepareUserDataLI() 117 flags | StorageManager.FLAG_STORAGE_DE, false); in prepareUserDataLI() 143 if ((flags & StorageManager.FLAG_STORAGE_DE) != 0) { in destroyUserDataLI() 222 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in reconcileUsers()
|
D | Installer.java | 74 public static final int FLAG_STORAGE_DE = IInstalld.FLAG_STORAGE_DE; field in Installer
|
D | UserManagerService.java | 2939 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUncheckedNoTracing() 3326 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState() 3685 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_DE); in onBeforeStartUser() 3686 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_DE, migrateAppsData); in onBeforeStartUser()
|
D | PackageManagerService.java | 91 import static android.os.storage.StorageManager.FLAG_STORAGE_DE; 3110 storageFlags = StorageManager.FLAG_STORAGE_DE; in PackageManagerService() 3112 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService() 3123 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in PackageManagerService() 3166 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL in PackageManagerService() 3420 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE 15510 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE, 0); 16592 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE 18378 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); 19074 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); [all …]
|
D | Settings.java | 4064 final int flags = StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE; in createNewUserLI()
|
/frameworks/native/cmds/installd/ |
D | installd_constants.h | 77 constexpr int FLAG_STORAGE_DE = 1 << 0; variable
|
D | InstalldNativeService.cpp | 496 if (flags & FLAG_STORAGE_DE) { in createAppData() 547 auto target = (flags & FLAG_STORAGE_DE) ? de_path : ce_path; in migrateAppData() 548 auto source = (flags & FLAG_STORAGE_DE) ? ce_path : de_path; in migrateAppData() 608 if (flags & FLAG_STORAGE_DE) { in clearAppData() 718 if (flags & FLAG_STORAGE_DE) { in destroyAppData() 958 if (storageFlags & FLAG_STORAGE_DE) { in snapshotAppData() 1038 const bool needs_de_rollback = (storageFlags & FLAG_STORAGE_DE) && in restoreAppDataSnapshot() 1103 if (storageFlags & FLAG_STORAGE_DE) { in destroyAppDataSnapshot() 1208 if (!createAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, appId, in moveCompleteApp() 1235 if (!restoreconAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, in moveCompleteApp() [all …]
|
D | dexopt.cpp | 1848 *out_storage_flag = FLAG_STORAGE_DE; in validate_dexopt_storage_flags() 2336 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in reconcile_secondary_dex_file() 2456 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in hash_secondary_dex_file()
|
D | utils.cpp | 886 CHECK(storage_flag == FLAG_STORAGE_CE || storage_flag == FLAG_STORAGE_DE); in validate_secondary_dex_path()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 129 storageFlags = StorageManager.FLAG_STORAGE_DE; in logDynamicCodeLoading()
|
D | DexManager.java | 516 flags |= StorageManager.FLAG_STORAGE_DE; in reconcileSecondaryDexFiles()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 121 const int FLAG_STORAGE_DE = 0x1; field
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 60 private static final int STORAGE_FLAGS = StorageManager.FLAG_STORAGE_DE;
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 248 public static final int FLAG_STORAGE_DE = IInstalld.FLAG_STORAGE_DE; field in StorageManager
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 52780 Landroid/os/storage/StorageManager;->FLAG_STORAGE_DE:I
|