/frameworks/base/core/java/android/os/ |
D | Environment.java | 225 public static File getDataDirectory(String volumeUuid) { in getDataDirectory() argument 226 if (TextUtils.isEmpty(volumeUuid)) { in getDataDirectory() 229 return new File("/mnt/expand/" + volumeUuid); in getDataDirectory() 299 public static File getDataAppDirectory(String volumeUuid) { in getDataAppDirectory() argument 300 return new File(getDataDirectory(volumeUuid), "app"); in getDataAppDirectory() 304 public static File getDataAppEphemeralDirectory(String volumeUuid) { in getDataAppEphemeralDirectory() argument 305 return new File(getDataDirectory(volumeUuid), "app-ephemeral"); in getDataAppEphemeralDirectory() 309 public static File getDataUserCeDirectory(String volumeUuid) { in getDataUserCeDirectory() argument 310 return new File(getDataDirectory(volumeUuid), "user"); in getDataUserCeDirectory() 314 public static File getDataUserCeDirectory(String volumeUuid, int userId) { in getDataUserCeDirectory() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 131 String volumeUuid; field in PackageSettingBase 188 volumeUuid = base.volumeUuid; in PackageSettingBase() 219 public void setVolumeUuid(String volumeUuid) { in setVolumeUuid() argument 220 this.volumeUuid = volumeUuid; in setVolumeUuid() 224 return volumeUuid; in getVolumeUuid() 260 volumeUuid = base.volumeUuid; in copyFrom()
|
D | Installer.java | 136 int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) in dexopt() argument 140 compilerFilter, volumeUuid, sharedLibraries); in dexopt() 145 String compilerFilter, String volumeUuid, String sharedLibraries) in dexopt() argument 149 outputPath, dexFlags, compilerFilter, volumeUuid, sharedLibraries); in dexopt()
|
D | PackageInstallerService.java | 246 private void reconcileStagesLocked(String volumeUuid, boolean isEphemeral) { in reconcileStagesLocked() argument 247 final File stagingDir = buildStagingDir(volumeUuid, isEphemeral); in reconcileStagesLocked() 266 public void onPrivateVolumeMounted(String volumeUuid) { in onPrivateVolumeMounted() argument 268 reconcileStagesLocked(volumeUuid, false /*isEphemeral*/); in onPrivateVolumeMounted() 309 public File allocateStageDirLegacy(String volumeUuid, boolean isEphemeral) throws IOException { in allocateStageDirLegacy() argument 314 final File stageDir = buildStageDir(volumeUuid, sessionId, isEphemeral); in allocateStageDirLegacy() 408 params.volumeUuid = readStringAttribute(in, ATTR_VOLUME_UUID); in readSessionLocked() 481 writeStringAttribute(out, ATTR_VOLUME_UUID, params.volumeUuid); in writeSessionLocked() 647 params.volumeUuid = PackageHelper.resolveInstallVolume(mContext, in createSessionInternal() 678 stageDir = buildStageDir(params.volumeUuid, sessionId, isEphemeral); in createSessionInternal() [all …]
|
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)) { in PackageManagerService() 3464 public void freeStorageAndNotify(final String volumeUuid, final long freeStorageSize, 3475 mInstaller.freeCache(volumeUuid, freeStorageSize); 3493 public void freeStorage(final String volumeUuid, final long freeStorageSize, 3504 mInstaller.freeCache(volumeUuid, freeStorageSize); 3524 void freeStorage(String volumeUuid, long freeStorageSize) throws IOException { [all …]
|
D | Settings.java | 894 final String volumeUuid = pkg.applicationInfo.volumeUuid; in insertPackageSettingLPw() local 899 if (!Objects.equals(volumeUuid, p.volumeUuid)) { in insertPackageSettingLPw() 901 " changing from " + p.volumeUuid + " to " + volumeUuid); in insertPackageSettingLPw() 902 p.volumeUuid = volumeUuid; in insertPackageSettingLPw() 1409 public VersionInfo findOrCreateVersion(String volumeUuid) { in findOrCreateVersion() argument 1410 VersionInfo ver = mVersion.get(volumeUuid); in findOrCreateVersion() 1414 mVersion.put(volumeUuid, ver); in findOrCreateVersion() 2293 final String volumeUuid = mVersion.keyAt(i); in writeLPr() local 2297 XmlUtils.writeStringAttribute(serializer, ATTR_VOLUME_UUID, volumeUuid); in writeLPr() 2664 if (pkg.volumeUuid != null) { in writePackageLPr() [all …]
|
D | PackageDexOptimizer.java | 258 dexoptNeeded, oatDir, dexFlags, targetCompilerFilter, pkg.volumeUuid, in performDexOptLI()
|
D | PackageManagerShellCommand.java | 1061 sessionParams.volumeUuid = getNextArg(); in makeInstallParams() 1062 if ("internal".equals(sessionParams.volumeUuid)) { in makeInstallParams() 1063 sessionParams.volumeUuid = null; in makeInstallParams()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 569 public String volumeUuid; field in ApplicationInfo 903 volumeUuid = orig.volumeUuid; in ApplicationInfo() 959 dest.writeString(volumeUuid); in writeToParcel() 1015 volumeUuid = source.readString(); in ApplicationInfo() 1091 .getDataUserDePackageDirectory(volumeUuid, userId, packageName) in initForUser() 1094 .getDataUserCePackageDirectory(volumeUuid, userId, packageName) in initForUser() 1163 return TextUtils.isEmpty(volumeUuid) in isExternalAsec()
|
D | IPackageManager.aidl | 355 void freeStorageAndNotify(in String volumeUuid, in long freeStorageSize, in freeStorageAndNotify() argument 379 void freeStorage(in String volumeUuid, in long freeStorageSize, in freeStorage() argument 507 int movePackage(in String packageName, in String volumeUuid); in movePackage() argument 508 int movePrimaryStorage(in String volumeUuid); in movePrimaryStorage() argument
|
D | PackageInstaller.java | 902 public String volumeUuid; field in PackageInstaller.SessionParams 930 volumeUuid = source.readString(); in SessionParams() 1082 pw.printPair("volumeUuid", volumeUuid); in dump() 1105 dest.writeString(volumeUuid); in writeToParcel()
|
D | PackageParser.java | 910 String volumeUuid = null; in parseBaseApk() local 913 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end); in parseBaseApk() 938 pkg.setVolumeUuid(volumeUuid); in parseBaseApk() 939 pkg.setApplicationVolumeUuid(volumeUuid); in parseBaseApk() 4717 public String volumeUuid; field in PackageParser.Package 4870 public void setApplicationVolumeUuid(String volumeUuid) { in setApplicationVolumeUuid() argument 4871 this.applicationInfo.volumeUuid = volumeUuid; in setApplicationVolumeUuid() 4875 childPackages.get(i).applicationInfo.volumeUuid = volumeUuid; in setApplicationVolumeUuid() 4974 public void setVolumeUuid(String volumeUuid) { in setVolumeUuid() argument 4975 this.volumeUuid = volumeUuid; in setVolumeUuid() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | InstallerConnection.java | 138 int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) in dexopt() argument 141 compilerFilter, volumeUuid, sharedLibraries); in dexopt() 146 String volumeUuid, String sharedLibraries) throws InstallerException { in dexopt() argument 156 volumeUuid, in dexopt()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 600 public @Nullable VolumeInfo findVolumeByQualifiedUuid(String volumeUuid) { in findVolumeByQualifiedUuid() argument 601 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, volumeUuid)) { in findVolumeByQualifiedUuid() 603 } else if (Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { in findVolumeByQualifiedUuid() 606 return findVolumeByUuid(volumeUuid); in findVolumeByQualifiedUuid() 822 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) { in setPrimaryStorageUuid() argument 824 mMountService.setPrimaryStorageUuid(volumeUuid, callback); in setPrimaryStorageUuid() 1050 public void prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) { in prepareUserStorage() argument 1052 mMountService.prepareUserStorage(volumeUuid, userId, serialNumber, flags); in prepareUserStorage() 1059 public void destroyUserStorage(String volumeUuid, int userId, int flags) { in destroyUserStorage() argument 1061 mMountService.destroyUserStorage(volumeUuid, userId, flags); in destroyUserStorage()
|
D | IMountService.java | 1186 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) in setPrimaryStorageUuid() argument 1192 _data.writeString(volumeUuid); in setPrimaryStorageUuid() 1323 String volumeUuid, int userId, int serialNumber, int flags) in prepareUserStorage() argument 1329 _data.writeString(volumeUuid); in prepareUserStorage() 1342 public void destroyUserStorage(String volumeUuid, int userId, int flags) in destroyUserStorage() argument 1348 _data.writeString(volumeUuid); in destroyUserStorage() 2058 String volumeUuid = getPrimaryStorageUuid(); in onTransact() local 2060 reply.writeString(volumeUuid); in onTransact() 2065 String volumeUuid = data.readString(); in onTransact() local 2068 setPrimaryStorageUuid(volumeUuid, listener); in onTransact() [all …]
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 503 sessionParams.volumeUuid = nextOptionData(); in makeInstallParams() 504 if ("internal".equals(sessionParams.volumeUuid)) { in makeInstallParams() 505 sessionParams.volumeUuid = null; in makeInstallParams() 1008 String volumeUuid = nextArg(); in runMovePackage() local 1009 if ("internal".equals(volumeUuid)) { in runMovePackage() 1010 volumeUuid = null; in runMovePackage() 1014 final int moveId = mPm.movePackage(packageName, volumeUuid); in runMovePackage() 1035 String volumeUuid = nextArg(); in runMovePrimaryStorage() local 1036 if ("internal".equals(volumeUuid)) { in runMovePrimaryStorage() 1037 volumeUuid = null; in runMovePrimaryStorage() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 389 if (existingInfo != null && !Objects.equals(existingInfo.volumeUuid, in resolveInstallVolume() 392 + existingInfo.volumeUuid + " to internal storage"); in resolveInstallVolume() 403 if (Objects.equals(existingInfo.volumeUuid, StorageManager.UUID_PRIVATE_INTERNAL) in resolveInstallVolume() 406 } else if (allCandidates.contains(existingInfo.volumeUuid)) { in resolveInstallVolume() 407 return existingInfo.volumeUuid; in resolveInstallVolume() 410 + existingInfo.volumeUuid + " for " + packageName + " upgrade"); in resolveInstallVolume()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1759 final String volumeUuid; in movePackage() local 1761 volumeUuid = StorageManager.UUID_PRIVATE_INTERNAL; in movePackage() 1763 volumeUuid = StorageManager.UUID_PRIMARY_PHYSICAL; in movePackage() 1765 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage() 1768 return mPM.movePackage(packageName, volumeUuid); in movePackage() 1782 return storage.findVolumeByUuid(app.volumeUuid); in getPackageCurrentVolume() 1846 final String volumeUuid; in movePrimaryStorage() local 1848 volumeUuid = StorageManager.UUID_PRIVATE_INTERNAL; in movePrimaryStorage() 1850 volumeUuid = StorageManager.UUID_PRIMARY_PHYSICAL; in movePrimaryStorage() 1852 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePrimaryStorage() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 201 String volumeUuid = null; in showFragment() local 213 volumeUuid = storageVolume.getUuid(); in showFragment() 259 args.putString(EXTRA_VOLUME_UUID, volumeUuid); in showFragment()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 377 private @Nullable VolumeInfo findStorageForUuid(String volumeUuid) { in findStorageForUuid() argument 379 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, volumeUuid)) { in findStorageForUuid() 381 } else if (Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { in findStorageForUuid() 384 return storage.findEmulatedForPrivate(storage.findVolumeByUuid(volumeUuid)); in findStorageForUuid() 2030 public void setPrimaryStorageUuid(String volumeUuid, IPackageMoveObserver callback) { in setPrimaryStorageUuid() argument 2038 if (Objects.equals(mPrimaryStorageUuid, volumeUuid)) { in setPrimaryStorageUuid() 2039 throw new IllegalArgumentException("Primary storage already at " + volumeUuid); in setPrimaryStorageUuid() 2046 mMoveTargetUuid = volumeUuid; in setPrimaryStorageUuid() 2051 || Objects.equals(StorageManager.UUID_PRIMARY_PHYSICAL, volumeUuid)) { in setPrimaryStorageUuid() 2060 to = findStorageForUuid(volumeUuid); in setPrimaryStorageUuid() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 69 public String volumeUuid; field in StorageNotification.MoveInfo 135 move.volumeUuid = extras.getString(VolumeRecord.EXTRA_FS_UUID); 662 final VolumeInfo vol = mStorageManager.findVolumeByQualifiedUuid(move.volumeUuid); in buildWizardMigratePendingIntent()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 659 public void freeStorageAndNotify(String volumeUuid, long freeStorageSize, in freeStorageAndNotify() argument 664 public void freeStorage(String volumeUuid, long freeStorageSize, IntentSender pi) { in freeStorage() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 705 public void freeStorageAndNotify(String volumeUuid, long idealStorageSize, in freeStorageAndNotify() argument 712 public void freeStorage(String volumeUuid, long idealStorageSize, IntentSender pi) { in freeStorage() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1392 public VolumeFilter(String volumeUuid) { in VolumeFilter() argument 1393 mVolumeUuid = volumeUuid; in VolumeFilter() 1402 return Objects.equals(info.info.volumeUuid, mVolumeUuid); in filterApp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 410 if (Objects.equals(app.volumeUuid, mVolume.getFsUuid())) { in measureExactStorage()
|