Home
last modified time | relevance | path

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

/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.cpp477 package_name, app_dir_ce_user_0 + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
479 package_name, app_dir_ce_user_0_link + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
482 package_name, app_dir_ce_user_10 + "/ce10.dex", app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
494 app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
502 package_name, app_dir_de_user_0 + "/de_from_ce.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
515 package_name, app_dir_ce_user_0 + "/1/../foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
517 package_name, app_dir_ce_user_0 + "/1/./foo.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
522 package_name, app_dir_ce_user_10 + "/" + too_long, app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
Dinstalld_dexopt_test.cpp188 static constexpr int32_t kAppDataFlags = FLAG_STORAGE_CE | FLAG_STORAGE_DE;
831 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
837 reconcile_secondary_dex(secondary_dex_ce_link_, FLAG_STORAGE_CE, in TEST_F()
867 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
873 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java70 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData()
76 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in snapshotAppData()
119 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData()
144 storageFlags |= Installer.FLAG_STORAGE_CE; in destroyAppDataSnapshot()
149 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in destroyAppDataSnapshot()
259 Installer.FLAG_STORAGE_CE); in commitPendingBackupAndRestoreForUser()
280 Installer.FLAG_STORAGE_CE); in commitPendingBackupAndRestoreForUser()
/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.java94 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
175 eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
198 eq(5) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE | Installer.FLAG_STORAGE_CE)); in destroyAppData()
264 eq(Installer.FLAG_STORAGE_CE)); in commitPendingBackupAndRestoreForUser()
277 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.java75 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in Installer
DUserManagerService.java2939 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUncheckedNoTracing()
3326 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState()
3707 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_CE); in onBeforeUnlockUser()
3708 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_CE, migrateAppsData); in onBeforeUnlockUser()
DPackageManagerService.java90 import static android.os.storage.StorageManager.FLAG_STORAGE_CE;
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);
19210 FLAG_STORAGE_DE | FLAG_STORAGE_CE | FLAG_STORAGE_EXTERNAL);
[all …]
DSettings.java4064 final int flags = StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE; in createNewUserLI()
/frameworks/native/cmds/installd/
Dinstalld_constants.h78 constexpr int FLAG_STORAGE_CE = 1 << 1; variable
DInstalldNativeService.cpp465 if (flags & FLAG_STORAGE_CE) { in createAppData()
592 if (flags & FLAG_STORAGE_CE) { in clearAppData()
712 if (flags & FLAG_STORAGE_CE) { in destroyAppData()
982 if (storageFlags & FLAG_STORAGE_CE) { in snapshotAppData()
1036 const bool needs_ce_rollback = (storageFlags & FLAG_STORAGE_CE) && in restoreAppDataSnapshot()
1113 if (storageFlags & FLAG_STORAGE_CE) { 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()
1314 if (flags & FLAG_STORAGE_CE) { in destroyUserData()
2643 if (flags & FLAG_STORAGE_CE) { in restoreconAppData()
Dutils.cpp886 CHECK(storage_flag == FLAG_STORAGE_CE || storage_flag == FLAG_STORAGE_DE); in validate_secondary_dex_path()
900 std::string app_private_dir = storage_flag == FLAG_STORAGE_CE in validate_secondary_dex_path()
Ddexopt.cpp1842 *out_storage_flag = FLAG_STORAGE_CE; 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()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDynamicCodeLogger.java127 storageFlags = StorageManager.FLAG_STORAGE_CE; in logDynamicCodeLoading()
DDexManager.java519 flags |= StorageManager.FLAG_STORAGE_CE; in reconcileSecondaryDexFiles()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl122 const int FLAG_STORAGE_CE = 0x2; field
/frameworks/base/core/java/android/os/storage/
DStorageManager.java250 public static final int FLAG_STORAGE_CE = IInstalld.FLAG_STORAGE_CE; field in StorageManager
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52779 Landroid/os/storage/StorageManager;->FLAG_STORAGE_CE:I