Home
last modified time | relevance | path

Searched refs:FLAG_STORAGE_DE (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java101 .prepareUserData(TEST_USER_ID, TEST_USER_SERIAL, StorageManager.FLAG_STORAGE_DE); in testPrepareUserData_De()
103 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_DE)); in testPrepareUserData_De()
105 eq(TEST_USER_SERIAL), eq(StorageManager.FLAG_STORAGE_DE)); in testPrepareUserData_De()
161 mUserDataPreparer.destroyUserData(TEST_USER_ID, StorageManager.FLAG_STORAGE_DE); in testDestroyUserData_De()
164 eq(StorageManager.FLAG_STORAGE_DE)); in testDestroyUserData_De()
166 eq(StorageManager.FLAG_STORAGE_DE)); in testDestroyUserData_De()
214 eq(StorageManager.FLAG_STORAGE_DE|StorageManager.FLAG_STORAGE_CE)); in testReconcileUsers()
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp617 package_name, app_dir_de_user_0 + "/de0.dex", app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F()
620 package_name, app_dir_de_user_10 + "/de0.dex", app_uid_for_user_10, FLAG_STORAGE_DE); in TEST_F()
629 package_name, app_dir_ce_user_0 + "/ce_from_de.dex", app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F()
637 package_name, "without_slash.dex", app_uid_for_user_10, FLAG_STORAGE_DE); in TEST_F()
642 app_uid_for_user_0, FLAG_STORAGE_DE); in TEST_F()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java85 if ((flags & StorageManager.FLAG_STORAGE_DE) != 0 && !mOnlyCore) { in prepareUserDataLI()
132 if ((flags & StorageManager.FLAG_STORAGE_DE) != 0) { in destroyUserDataLI()
213 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in reconcileUsers()
DUserManagerService.java2507 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in createUserInternalUnchecked()
2802 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removeUserState()
3154 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_DE); in onBeforeStartUser()
3155 mPm.reconcileAppsData(userId, StorageManager.FLAG_STORAGE_DE, migrateAppsData); in onBeforeStartUser()
DPackageManagerService.java89 import static android.os.storage.StorageManager.FLAG_STORAGE_DE;
2987 storageFlags = StorageManager.FLAG_STORAGE_DE; in PackageManagerService()
2989 storageFlags = StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE; in PackageManagerService()
3000 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in PackageManagerService()
3043 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE in PackageManagerService()
10776 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in scanPackageLI()
17541 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE, 0); in cleanUp()
18032 clearAppDataLIF(pkg, UserHandle.USER_ALL, StorageManager.FLAG_STORAGE_DE in replaceNonSystemPackageLIF()
18168 clearAppDataLIF(pkg, UserHandle.USER_ALL, StorageManager.FLAG_STORAGE_DE in replaceSystemPackageLIF()
19896 StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE); in removePackageDataLIF()
[all …]
DSettings.java4264 final int flags = StorageManager.FLAG_STORAGE_CE | StorageManager.FLAG_STORAGE_DE; in createNewUserLI()
/frameworks/native/cmds/installd/
Dinstalld_constants.h65 constexpr int FLAG_STORAGE_DE = 1 << 0; variable
DInstalldNativeService.cpp399 if (flags & FLAG_STORAGE_DE) { in createAppData()
474 auto target = (flags & FLAG_STORAGE_DE) ? de_path : ce_path; in migrateAppData()
475 auto source = (flags & FLAG_STORAGE_DE) ? ce_path : de_path; in migrateAppData()
531 if (flags & FLAG_STORAGE_DE) { in clearAppData()
604 if (flags & FLAG_STORAGE_DE) { in destroyAppData()
781 if (!createAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, appId, in moveCompleteApp()
825 if (!restoreconAppData(toUuid, packageName, user, FLAG_STORAGE_CE | FLAG_STORAGE_DE, in moveCompleteApp()
869 if (flags & FLAG_STORAGE_DE) { in createUserData()
895 if (flags & FLAG_STORAGE_DE) { in destroyUserData()
2194 if (flags & FLAG_STORAGE_DE) { in restoreconAppData()
Dutils.cpp805 CHECK(storage_flag == FLAG_STORAGE_CE || storage_flag == FLAG_STORAGE_DE); in validate_secondary_dex_path()
Ddexopt.cpp1495 storage_flag = FLAG_STORAGE_DE; in process_secondary_dex_dexopt()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java473 flags |= StorageManager.FLAG_STORAGE_DE; in reconcileSecondaryDexFiles()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java210 public static final int FLAG_STORAGE_DE = 1 << 0; field in StorageManager