/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 119 .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/ |
D | installd_utils_test.cpp | 460 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()
|
D | installd_service_test.cpp | 166 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()
|
D | installd_dexopt_test.cpp | 147 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/ |
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 | UserManagerService.java | 2714 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()
|
D | PackageManagerService.java | 87 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 …]
|
D | Settings.java | 4143 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 | 470 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()
|
D | utils.cpp | 817 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()
|
D | dexopt.cpp | 1803 *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/ |
D | DexManager.java | 509 flags |= StorageManager.FLAG_STORAGE_CE; in reconcileSecondaryDexFiles()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 216 public static final int FLAG_STORAGE_CE = 1 << 1; field in StorageManager
|