Home
last modified time | relevance | path

Searched refs:FLAG_STORAGE_CE (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java72 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData()
111 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData()
124 if ((flags & Installer.FLAG_STORAGE_CE) != 0) { in doSnapshot()
151 if ((flags & Installer.FLAG_STORAGE_CE) != 0) { in doRestoreOrWipe()
194 rollbackId, Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE); in destroyAppDataSnapshot()
255 info, userId, rollback.info.getRollbackId(), Installer.FLAG_STORAGE_CE)) { in commitPendingBackupAndRestoreForUser()
261 ri.appId, ri.seInfo, Installer.FLAG_STORAGE_CE)) { in commitPendingBackupAndRestoreForUser()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp174 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F()
194 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F()
209 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F()
224 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F()
325 "com.foo", 0, 37, FLAG_STORAGE_CE, &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()
442 "com.foo", 0, 73, FLAG_STORAGE_CE, &ce_snapshot_inode)); in TEST_F()
479 "com.foo", 0, 13, FLAG_STORAGE_DE | FLAG_STORAGE_CE, nullptr)); in TEST_F()
[all …]
Dinstalld_utils_test.cpp470 package_name, app_dir_ce_user_0 + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
472 package_name, app_dir_ce_user_0_link + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
475 package_name, app_dir_ce_user_10 + "/ce10.dex", app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
487 app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
495 package_name, app_dir_de_user_0 + "/de_from_ce.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
508 package_name, app_dir_ce_user_0 + "/1/../foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
510 package_name, app_dir_ce_user_0 + "/1/./foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
515 package_name, app_dir_ce_user_10 + "/" + too_long, app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
Dinstalld_dexopt_test.cpp189 static constexpr int32_t kAppDataFlags = FLAG_STORAGE_CE | FLAG_STORAGE_DE;
890 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
896 reconcile_secondary_dex(secondary_dex_ce_link_, FLAG_STORAGE_CE, in TEST_F()
926 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
932 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java120 .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/
DAppDataRollbackHelperTest.java96 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
189 eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
208 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in destroyAppData()
211 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in destroyAppData()
271 eq(Installer.FLAG_STORAGE_CE)); in commitPendingBackupAndRestoreForUser()
278 eq(17239) /* rollbackId */, eq(Installer.FLAG_STORAGE_CE)); in commitPendingBackupAndRestoreForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java93 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()
DInstaller.java95 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in Installer
DUserManagerService.java3693 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUncheckedNoTracing()
4393 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState()
4817 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_CE); in onBeforeUnlockUser()
4818 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_CE, migrateAppsData); in onBeforeUnlockUser()
DPackageManagerService.java106 import static android.os.storage.StorageManager.FLAG_STORAGE_CE;
7669 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService()
7680 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in PackageManagerService()
7725 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL in PackageManagerService()
7993 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE in enableCompressedPackage()
18929 final int flags = FLAG_STORAGE_DE | FLAG_STORAGE_CE in cleanUp()
20005 clearAppDataLIF(pkg, UserHandle.USER_ALL, FLAG_STORAGE_DE | FLAG_STORAGE_CE in executePostCommitSteps()
21826 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); in removePackageDataLIF()
22399 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); in clearPackageStateForUserLIF()
22524 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL); in clearApplicationUserDataLIF()
[all …]
DSettings.java4006 StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE,
/frameworks/native/cmds/installd/
Dinstalld_constants.h78 constexpr int FLAG_STORAGE_CE = 1 << 1; variable
DInstalldNativeService.cpp450 if (flags & FLAG_STORAGE_CE) { in createAppData()
612 if (flags & FLAG_STORAGE_CE) { in clearAppData()
732 if (flags & FLAG_STORAGE_CE) { in destroyAppData()
1005 if (storageFlags & FLAG_STORAGE_CE) { in snapshotAppData()
1059 const bool needs_ce_rollback = (storageFlags & FLAG_STORAGE_CE) && in restoreAppDataSnapshot()
1136 if (storageFlags & FLAG_STORAGE_CE) { in destroyAppDataSnapshot()
1230 if (!createAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, appId, in moveCompleteApp()
1257 if (!restoreconAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, in moveCompleteApp()
1335 if (flags & FLAG_STORAGE_CE) { in destroyUserData()
2558 if (flags & FLAG_STORAGE_CE) { in restoreconAppData()
Dutils.cpp883 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()
Ddexopt.cpp1425 *out_storage_flag = FLAG_STORAGE_CE; in validate_dexopt_storage_flags()
1942 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in reconcile_secondary_dex_file()
2065 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/
DDynamicCodeLogger.java127 storageFlags = StorageManager.FLAG_STORAGE_CE; in logDynamicCodeLoading()
DDexManager.java715 flags |= StorageManager.FLAG_STORAGE_CE; in reconcileSecondaryDexFiles()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl129 const int FLAG_STORAGE_CE = 0x2; field
/frameworks/base/core/java/android/os/storage/
DStorageManager.java272 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in StorageManager
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3369 flags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in prepareUserStorageIfNeeded()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt42217 Landroid/os/storage/StorageManager;->FLAG_STORAGE_CE:I