Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java119 .prepareUserData(TEST_USER_ID, TEST_USER_SERIAL, StorageManager.FLAG_STORAGE_CE); in testPrepareUserData_Ce()
121 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_CE)); in testPrepareUserData_Ce()
123 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_CE)); in testPrepareUserData_Ce()
176 mUserDataPreparer.destroyUserData(TEST_USER_ID, StorageManager.FLAG_STORAGE_CE); in testDestroyUserData_Ce()
179 eq(StorageManager.FLAG_STORAGE_CE)); in testDestroyUserData_Ce()
181 eq(StorageManager.FLAG_STORAGE_CE)); in testDestroyUserData_Ce()
204 eq(StorageManager.FLAG_STORAGE_DE|StorageManager.FLAG_STORAGE_CE)); in testReconcileUsers()
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp460 package_name, app_dir_ce_user_0 + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
462 package_name, app_dir_ce_user_0_link + "/ce0.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
465 package_name, app_dir_ce_user_10 + "/ce10.dex", app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
477 app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
485 package_name, app_dir_de_user_0 + "/de_from_ce.dex", app_uid_for_user_0, FLAG_STORAGE_CE); in TEST_F()
498 package_name, app_dir_ce_user_0 + "/1/../foo.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()
505 package_name, app_dir_ce_user_10 + "/" + too_long, app_uid_for_user_10, FLAG_STORAGE_CE); in TEST_F()
Dinstalld_service_test.cpp166 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F()
186 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F()
201 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F()
216 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F()
Dinstalld_dexopt_test.cpp147 static constexpr int32_t kAppDataFlags = FLAG_STORAGE_CE | FLAG_STORAGE_DE;
624 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
630 reconcile_secondary_dex(secondary_dex_ce_link_, FLAG_STORAGE_CE, in TEST_F()
660 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
666 reconcile_secondary_dex(secondary_dex_ce_, FLAG_STORAGE_CE, in TEST_F()
/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()
DUserManagerService.java2714 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUnchecked()
3010 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState()
3384 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_CE); in onBeforeUnlockUser()
3385 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_CE, migrateAppsData); in onBeforeUnlockUser()
DPackageManagerService.java87 import static android.os.storage.StorageManager.FLAG_STORAGE_CE;
3110 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService()
3121 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in PackageManagerService()
3164 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE in PackageManagerService()
10154 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE);
16122 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE, 0);
16589 | StorageManager.FLAG_STORAGE_CE | Installer.FLAG_CLEAR_CODE_CACHE_ONLY);
16723 | StorageManager.FLAG_STORAGE_CE | Installer.FLAG_CLEAR_CODE_CACHE_ONLY);
18422 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE);
19066 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE);
[all …]
DSettings.java4143 final int flags = StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE; in createNewUserLI()
/frameworks/native/cmds/installd/
Dinstalld_constants.h76 constexpr int FLAG_STORAGE_CE = 1 << 1; variable
DInstalldNativeService.cpp470 if (flags & FLAG_STORAGE_CE) { in createAppData()
601 if (flags & FLAG_STORAGE_CE) { in clearAppData()
679 if (flags & FLAG_STORAGE_CE) { in destroyAppData()
865 if (!createAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, appId, in moveCompleteApp()
909 if (!restoreconAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, in moveCompleteApp()
995 if (flags & FLAG_STORAGE_CE) { in destroyUserData()
2299 if (flags & FLAG_STORAGE_CE) { in restoreconAppData()
Dutils.cpp817 CHECK(storage_flag == FLAG_STORAGE_CE || storage_flag == FLAG_STORAGE_DE); in validate_secondary_dex_path()
831 std::string app_private_dir = storage_flag == FLAG_STORAGE_CE in validate_secondary_dex_path()
Ddexopt.cpp1803 *out_storage_flag = FLAG_STORAGE_CE; in validate_dexopt_storage_flags()
2175 if (storage_flag != FLAG_STORAGE_CE && storage_flag != FLAG_STORAGE_DE) { in reconcile_secondary_dex_file()
2295 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/
DDexManager.java509 flags |= StorageManager.FLAG_STORAGE_CE; in reconcileSecondaryDexFiles()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java216 public static final int FLAG_STORAGE_CE = 1 << 1; field in StorageManager