/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 225 public static File getDataDirectory(String volumeUuid) { argument 226 if (TextUtils.isEmpty(volumeUuid)) { 229 return new File("/mnt/expand/" + volumeUuid); 299 public static File getDataAppDirectory(String volumeUuid) { argument 300 return new File(getDataDirectory(volumeUuid), "app"); 304 public static File getDataAppEphemeralDirectory(String volumeUuid) { argument 305 return new File(getDataDirectory(volumeUuid), "app-ephemeral"); 309 public static File getDataUserCeDirectory(String volumeUuid) { argument 310 return new File(getDataDirectory(volumeUuid), "user"); 314 public static File getDataUserCeDirectory(String volumeUuid, in argument 319 getDataUserCePackageDirectory(String volumeUuid, int userId, String packageName) argument 326 getDataUserDeDirectory(String volumeUuid) argument 331 getDataUserDeDirectory(String volumeUuid, int userId) argument 336 getDataUserDePackageDirectory(String volumeUuid, int userId, String packageName) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 131 String volumeUuid; field in class:PackageSettingBase 188 volumeUuid = base.volumeUuid; 219 public void setVolumeUuid(String volumeUuid) { argument 220 this.volumeUuid = volumeUuid; 224 return volumeUuid; 260 volumeUuid = base.volumeUuid;
|
H A D | Installer.java | 136 int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) 140 compilerFilter, volumeUuid, sharedLibraries); 145 String compilerFilter, String volumeUuid, String sharedLibraries) 149 outputPath, dexFlags, compilerFilter, volumeUuid, sharedLibraries); 135 dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) argument 143 dexopt(String apkPath, int uid, String pkgName, String instructionSet, int dexoptNeeded, @Nullable String outputPath, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) argument
|
H A D | PackageInstallerService.java | 146 private static final String ATTR_VOLUME_UUID = "volumeUuid"; 246 private void reconcileStagesLocked(String volumeUuid, boolean isEphemeral) { argument 247 final File stagingDir = buildStagingDir(volumeUuid, isEphemeral); 266 public void onPrivateVolumeMounted(String volumeUuid) { argument 268 reconcileStagesLocked(volumeUuid, false /*isEphemeral*/); 309 public File allocateStageDirLegacy(String volumeUuid, boolean isEphemeral) throws IOException { argument 314 final File stageDir = buildStageDir(volumeUuid, sessionId, isEphemeral); 408 params.volumeUuid = readStringAttribute(in, ATTR_VOLUME_UUID); 481 writeStringAttribute(out, ATTR_VOLUME_UUID, params.volumeUuid); 647 params.volumeUuid 777 buildStagingDir(String volumeUuid, boolean isEphemeral) argument 784 buildStageDir(String volumeUuid, int sessionId, boolean isEphemeral) argument [all...] |
H A D | PackageManagerService.java | 2013 final String volumeUuid = vol.getFsUuid(); 2017 reconcileUsers(volumeUuid); 2018 reconcileApps(volumeUuid); 2022 mInstallerService.onPrivateVolumeMounted(volumeUuid); 2727 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, ps.volumeUuid)) { 3464 public void freeStorageAndNotify(final String volumeUuid, final long freeStorageSize, argument 3475 mInstaller.freeCache(volumeUuid, freeStorageSize); 3493 public void freeStorage(final String volumeUuid, final long freeStorageSize, argument 3504 mInstaller.freeCache(volumeUuid, freeStorageSize); 3524 void freeStorage(String volumeUuid, lon argument 12715 final String volumeUuid; field in class:PackageManagerService.InstallParams 12723 InstallParams(OriginInfo origin, MoveInfo move, IPackageInstallObserver2 observer, int installFlags, String installerPackageName, String volumeUuid, VerificationInfo verificationInfo, UserHandle user, String packageAbiOverride, String[] grantedPermissions, Certificate[][] certificates) argument 13199 final String volumeUuid; field in class:PackageManagerService.InstallArgs 13213 InstallArgs(OriginInfo origin, MoveInfo move, IPackageInstallObserver2 observer, int installFlags, String installerPackageName, String volumeUuid, UserHandle user, String[] instructionSets, String abiOverride, String[] installGrantPermissions, String traceMethod, int traceCookie, Certificate[][] certificates) argument 13920 cleanUp(String volumeUuid) argument 14080 installNewPackageLIF(PackageParser.Package pkg, final int policyFlags, int scanFlags, UserHandle user, String installerPackageName, String volumeUuid, PackageInstalledInfo res) argument 19356 prepareUserDataLI(String volumeUuid, int userId, int userSerial, int flags, boolean allowRecover) argument 19410 destroyUserDataLI(String volumeUuid, int userId, int flags) argument 19441 reconcileUsers(String volumeUuid) argument 19488 assertPackageKnown(String volumeUuid, String packageName) argument 19502 assertPackageKnownAndInstalled(String volumeUuid, String packageName, int userId) argument 19524 reconcileApps(String volumeUuid) argument 19574 reconcileAppsDataLI(String volumeUuid, int userId, int flags) argument 19982 movePackage(final String packageName, final String volumeUuid) argument 20002 movePackageInternal(final String packageName, final String volumeUuid, final int moveId, UserHandle user) argument 20220 movePrimaryStorage(String volumeUuid) argument [all...] |
H A D | Settings.java | 218 private static final String ATTR_VOLUME_UUID = "volumeUuid"; 894 final String volumeUuid = pkg.applicationInfo.volumeUuid; 899 if (!Objects.equals(volumeUuid, p.volumeUuid)) { 901 " changing from " + p.volumeUuid + " to " + volumeUuid); 902 p.volumeUuid = volumeUuid; 1409 public VersionInfo findOrCreateVersion(String volumeUuid) { argument 4207 getVolumePackagesLPr(String volumeUuid) argument [all...] |
H A D | PackageDexOptimizer.java | 258 dexoptNeeded, oatDir, dexFlags, targetCompilerFilter, pkg.volumeUuid,
|
H A D | PackageManagerShellCommand.java | 1061 sessionParams.volumeUuid = getNextArg(); 1062 if ("internal".equals(sessionParams.volumeUuid)) { 1063 sessionParams.volumeUuid = null;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | InstallerConnection.java | 138 int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) 141 compilerFilter, volumeUuid, sharedLibraries); 146 String volumeUuid, String sharedLibraries) throws InstallerException { 156 volumeUuid, 137 dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) argument 144 dexopt(String apkPath, int uid, String pkgName, String instructionSet, int dexoptNeeded, String outputPath, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ApplicationInfo.java | 569 public String volumeUuid; field in class:ApplicationInfo 903 volumeUuid = orig.volumeUuid; 959 dest.writeString(volumeUuid); 1015 volumeUuid = source.readString(); 1091 .getDataUserDePackageDirectory(volumeUuid, userId, packageName) 1094 .getDataUserCePackageDirectory(volumeUuid, userId, packageName) 1163 return TextUtils.isEmpty(volumeUuid)
|
H A D | IPackageManager.aidl | 355 void freeStorageAndNotify(in String volumeUuid, in long freeStorageSize, 379 void freeStorage(in String volumeUuid, in long freeStorageSize, 507 int movePackage(in String packageName, in String volumeUuid); 508 int movePrimaryStorage(in String volumeUuid);
|
H A D | PackageInstaller.java | 902 public String volumeUuid; field in class:PackageInstaller.SessionParams 930 volumeUuid = source.readString(); 1082 pw.printPair("volumeUuid", volumeUuid); 1105 dest.writeString(volumeUuid);
|
H A D | PackageParser.java | 910 String volumeUuid = null; 913 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end); 938 pkg.setVolumeUuid(volumeUuid); 939 pkg.setApplicationVolumeUuid(volumeUuid); 4717 public String volumeUuid; field in class:PackageParser.Package 4870 public void setApplicationVolumeUuid(String volumeUuid) { argument 4871 this.applicationInfo.volumeUuid = volumeUuid; 4875 childPackages.get(i).applicationInfo.volumeUuid = volumeUuid; 4974 setVolumeUuid(String volumeUuid) argument [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 503 sessionParams.volumeUuid = nextOptionData(); 504 if ("internal".equals(sessionParams.volumeUuid)) { 505 sessionParams.volumeUuid = null; 1008 String volumeUuid = nextArg(); 1009 if ("internal".equals(volumeUuid)) { 1010 volumeUuid = null; 1014 final int moveId = mPm.movePackage(packageName, volumeUuid); 1035 String volumeUuid = nextArg(); 1036 if ("internal".equals(volumeUuid)) { 1037 volumeUuid [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 600 public @Nullable VolumeInfo findVolumeByQualifiedUuid(String volumeUuid) { argument 601 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, volumeUuid)) { 603 } else if (Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { 606 return findVolumeByUuid(volumeUuid); 822 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) { argument 824 mMountService.setPrimaryStorageUuid(volumeUuid, callback); 1050 public void prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) { argument 1052 mMountService.prepareUserStorage(volumeUuid, userId, serialNumber, flags); 1059 public void destroyUserStorage(String volumeUuid, int userId, int flags) { argument 1061 mMountService.destroyUserStorage(volumeUuid, userI [all...] |
H A D | IMountService.java | 1186 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) argument 1192 _data.writeString(volumeUuid); 1323 String volumeUuid, int userId, int serialNumber, int flags) 1329 _data.writeString(volumeUuid); 1342 public void destroyUserStorage(String volumeUuid, int userId, int flags) argument 1348 _data.writeString(volumeUuid); 2058 String volumeUuid = getPrimaryStorageUuid(); 2060 reply.writeString(volumeUuid); 2065 String volumeUuid = data.readString(); 2068 setPrimaryStorageUuid(volumeUuid, listene 1322 prepareUserStorage( String volumeUuid, int userId, int serialNumber, int flags) argument 2471 setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) argument 2486 prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) argument 2488 destroyUserStorage(String volumeUuid, int userId, int flags) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 389 if (existingInfo != null && !Objects.equals(existingInfo.volumeUuid, 392 + existingInfo.volumeUuid + " to internal storage"); 403 if (Objects.equals(existingInfo.volumeUuid, StorageManager.UUID_PRIVATE_INTERNAL) 406 } else if (allCandidates.contains(existingInfo.volumeUuid)) { 407 return existingInfo.volumeUuid; 410 + existingInfo.volumeUuid + " for " + packageName + " upgrade");
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 1759 final String volumeUuid; 1761 volumeUuid = StorageManager.UUID_PRIVATE_INTERNAL; 1763 volumeUuid = StorageManager.UUID_PRIMARY_PHYSICAL; 1765 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); 1768 return mPM.movePackage(packageName, volumeUuid); 1782 return storage.findVolumeByUuid(app.volumeUuid); 1846 final String volumeUuid; 1848 volumeUuid = StorageManager.UUID_PRIVATE_INTERNAL; 1850 volumeUuid = StorageManager.UUID_PRIMARY_PHYSICAL; 1852 volumeUuid 1948 freeStorageAndNotify(String volumeUuid, long idealStorageSize, IPackageDataObserver observer) argument 1958 freeStorage(String volumeUuid, long freeStorageSize, IntentSender pi) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | OpenExternalDirectoryActivity.java | 201 String volumeUuid = null; 213 volumeUuid = storageVolume.getUuid(); 259 args.putString(EXTRA_VOLUME_UUID, volumeUuid);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 377 private @Nullable VolumeInfo findStorageForUuid(String volumeUuid) { argument 379 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, volumeUuid)) { 381 } else if (Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { 384 return storage.findEmulatedForPrivate(storage.findVolumeByUuid(volumeUuid)); 2030 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) { argument 2038 if (Objects.equals(mPrimaryStorageUuid, volumeUuid)) { 2039 throw new IllegalArgumentException("Primary storage already at " + volumeUuid); 2046 mMoveTargetUuid = volumeUuid; 2051 || Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { 2060 to = findStorageForUuid(volumeUuid); 2908 prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) argument 2921 destroyUserStorage(String volumeUuid, int userId, int flags) argument [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 705 public void freeStorageAndNotify(String volumeUuid, long idealStorageSize, argument 712 public void freeStorage(String volumeUuid, long idealStorageSize, IntentSender pi) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePackageManager.java | 659 public void freeStorageAndNotify(String volumeUuid, long freeStorageSize, argument 664 public void freeStorage(String volumeUuid, long freeStorageSize, IntentSender pi) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 69 public String volumeUuid; field in class:StorageNotification.MoveInfo 135 move.volumeUuid = extras.getString(VolumeRecord.EXTRA_FS_UUID); 662 final VolumeInfo vol = mStorageManager.findVolumeByQualifiedUuid(move.volumeUuid);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 1392 public VolumeFilter(String volumeUuid) { argument 1393 mVolumeUuid = volumeUuid; 1402 return Objects.equals(info.info.volumeUuid, mVolumeUuid);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 410 if (Objects.equals(app.volumeUuid, mVolume.getFsUuid())) {
|