/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 175 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 195 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 210 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 225 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 326 "com.foo", 0, 37, FLAG_STORAGE_CE, &ce_snapshot_inode)); in TEST_F() 369 "com.foo", 0, 37, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 411 "com.foo", 0, 67, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 414 "com.bar", 0, 67, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() 443 "com.foo", 0, 73, FLAG_STORAGE_CE, &ce_snapshot_inode)); in TEST_F() 480 "com.foo", 0, 13, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F() [all …]
|
D | installd_utils_test.cpp | 462 package_name, app_dir_ce_user_0 + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F() 464 package_name, app_dir_ce_user_0_link + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F() 467 package_name, app_dir_ce_user_10 + "/ce10.dex", app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F() 479 app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F() 487 package_name, app_dir_de_user_0 + "/de_from_ce.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F() 500 package_name, app_dir_ce_user_0 + "/1/../foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F() 502 package_name, app_dir_ce_user_0 + "/1/./foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F() 507 package_name, app_dir_ce_user_10 + "/" + too_long, app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
|
D | installd_dexopt_test.cpp | 187 static constexpr int32_t kAppDataFlags = FLAG_STORAGE_CE | FLAG_STORAGE_DE; 764 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F() 770 reconcile_secondary_dex(secondary_dex_ce_link_, FLAG_STORAGE_CE, in TEST_F() 800 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F() 806 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 69 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData() 75 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in snapshotAppData() 117 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData() 142 storageFlags |= Installer.FLAG_STORAGE_CE; in destroyAppDataSnapshot() 147 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in destroyAppDataSnapshot() 256 userId, data.info.getRollbackId(), Installer.FLAG_STORAGE_CE); in commitPendingBackupAndRestoreForUser() 277 Installer.FLAG_STORAGE_CE); in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 120 .prepareUserData(TEST_USER_ID, TEST_USER_SERIAL, StorageManager.FLAG_STORAGE_CE); in testPrepareUserData_Ce() 122 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_CE)); in testPrepareUserData_Ce() 124 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_CE)); in testPrepareUserData_Ce() 177 mUserDataPreparer.destroyUserData(TEST_USER_ID, StorageManager.FLAG_STORAGE_CE); in testDestroyUserData_Ce() 180 eq(StorageManager.FLAG_STORAGE_CE)); in testDestroyUserData_Ce() 182 eq(StorageManager.FLAG_STORAGE_CE)); in testDestroyUserData_Ce() 205 eq(StorageManager.FLAG_STORAGE_DE|StorageManager.FLAG_STORAGE_CE)); in testReconcileUsers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 93 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 174 eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() 197 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in destroyAppData() 263 eq(Installer.FLAG_STORAGE_CE)); in commitPendingBackupAndRestoreForUser() 276 eq(17239) /* rollbackId */, eq(Installer.FLAG_STORAGE_CE)); in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 93 if ((flags & StorageManager.FLAG_STORAGE_CE) != 0 && !mOnlyCore) { in prepareUserDataLI() 103 if ((flags & StorageManager.FLAG_STORAGE_CE) != 0 && in prepareUserDataLI() 147 if ((flags & StorageManager.FLAG_STORAGE_CE) != 0) { in destroyUserDataLI() 222 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in reconcileUsers()
|
D | Installer.java | 75 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in Installer
|
D | UserManagerService.java | 2794 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUnchecked() 3104 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState() 3478 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_CE); in onBeforeUnlockUser() 3479 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_CE, migrateAppsData); in onBeforeUnlockUser()
|
D | PackageManagerService.java | 90 import static android.os.storage.StorageManager.FLAG_STORAGE_CE; 3180 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService() 3191 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in PackageManagerService() 3234 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL in PackageManagerService() 3487 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE in enableCompressedPackage() 15990 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE, 0); 17094 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE 18929 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); 19685 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); 19821 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); [all …]
|
D | Settings.java | 4063 final int flags = StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE; in createNewUserLI()
|
/frameworks/native/cmds/installd/ |
D | installd_constants.h | 76 constexpr int FLAG_STORAGE_CE = 1 << 1; variable
|
D | InstalldNativeService.cpp | 430 if (flags & FLAG_STORAGE_CE) { in createAppData() 557 if (flags & FLAG_STORAGE_CE) { in clearAppData() 670 if (flags & FLAG_STORAGE_CE) { in destroyAppData() 928 if (storageFlags & FLAG_STORAGE_CE) { in snapshotAppData() 982 const bool needs_ce_rollback = (storageFlags & FLAG_STORAGE_CE) && in restoreAppDataSnapshot() 1057 if (storageFlags & FLAG_STORAGE_CE) { in destroyAppDataSnapshot() 1115 if (!createAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, appId, in moveCompleteApp() 1142 if (!restoreconAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, in moveCompleteApp() 1221 if (flags & FLAG_STORAGE_CE) { in destroyUserData() 2468 if (flags & FLAG_STORAGE_CE) { in restoreconAppData()
|
D | utils.cpp | 883 CHECK(storage_flag == FLAG_STORAGE_CE || storage_flag == FLAG_STORAGE_DE); in validate_secondary_dex_path() 897 std::string app_private_dir = storage_flag == FLAG_STORAGE_CE in validate_secondary_dex_path()
|
D | dexopt.cpp | 1762 *out_storage_flag = FLAG_STORAGE_CE; in validate_dexopt_storage_flags() 2248 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in reconcile_secondary_dex_file() 2368 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in hash_secondary_dex_file()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 126 storageFlags = StorageManager.FLAG_STORAGE_CE; in logDynamicCodeLoading()
|
D | DexManager.java | 548 flags |= StorageManager.FLAG_STORAGE_CE; in reconcileSecondaryDexFiles()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 118 const int FLAG_STORAGE_CE = 0x2; field
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 250 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in StorageManager
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 56594 Landroid/os/storage/StorageManager;->FLAG_STORAGE_CE:I
|