Home
last modified time | relevance | path

Searched refs:getVolumeUuid (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/app/usage/
DCacheQuotaHint.java54 @Nullable public String getVolumeUuid() { in getVolumeUuid() method in CacheQuotaHint
110 setVolumeUuid(hint.getVolumeUuid()); in Builder()
/frameworks/base/services/core/java/com/android/server/pm/
DAppDataHelper.java229 final String volumeUuid = ps.getVolumeUuid(); in prepareAppData()
289 final String volumeUuid = pkg.getVolumeUuid();
324 mInstaller.migrateAppData(ps.getVolumeUuid(), ps.getPackageName(), userId,
474 if (!TextUtils.equals(volumeUuid, packageState.getVolumeUuid())) {
477 + "; expected volume " + packageState.getVolumeUuid(),
557 clearAppDataLeafLIF(pkg.getPackageName(), pkg.getVolumeUuid(), userId, flags);
593 destroyAppDataLeafLIF(pkg.getPackageName(), pkg.getVolumeUuid(), userId, flags);
DMovePackageHelper.java127 final String currentVolumeUuid = packageState.getVolumeUuid(); in movePackageInternal()
338 StorageManager.convert(pkg.getVolumeUuid()).toString()); in logAppMovedStorage()
373 mPm.mInstaller.getAppSize(packageStateInternal.getVolumeUuid(), packageNames, userId, in getPackageSizeInfoLI()
DScanPackageUtils.java472 final String volumeUuid = parsedPackage.getVolumeUuid(); in scanPackageOnlyLI()
473 if (!Objects.equals(volumeUuid, pkgSetting.getVolumeUuid())) { in scanPackageOnlyLI()
477 + " volume from " + pkgSetting.getVolumeUuid() in scanPackageOnlyLI()
DRemovePackageHelper.java277 resolvedPkg = PackageImpl.buildFakeForDeletion(packageName, ps.getVolumeUuid()); in clearPackageStateForUserLIF()
DPackageDexOptimizer.java493 dexoptNeeded, oatDir, dexoptFlags, compilerFilter, pkg.getVolumeUuid(), in dexOptPath()
DInstallRequest.java348 public String getVolumeUuid() { in getVolumeUuid() method in InstallRequest
DSettings.java3243 if (pkg.getVolumeUuid() != null) {
3244 serializer.attribute(null, "volumeUuid", pkg.getVolumeUuid());
4654 ps.getVolumeUuid(), ps.getPackageName(), userHandle,
4848 if (Objects.equals(volumeUuid, setting.getVolumeUuid())) {
5287 if (ps.getVolumeUuid() != null) {
5289 pw.println(ps.getVolumeUuid());
DBroadcastHelper.java593 request.getPkg().getVolumeUuid()).toString()); in sendPostInstallBroadcasts()
DPackageSetting.java1810 public @Nullable String getVolumeUuid() {
DPackageManagerService.java2382 if (Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, ps.getVolumeUuid())) { in PackageManagerService()
3306 if (TextUtils.isEmpty(pkg.getVolumeUuid())) {
3309 return mSettings.findOrCreateVersion(pkg.getVolumeUuid());
DInstallPackageHelper.java1202 final boolean onExternal = request.getVolumeUuid() != null; in preparePackageLI()
DComputerEngine.java1555 ai.volumeUuid = ps.getVolumeUuid(); in generatePackageInfo()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java224 mInstaller.setAppQuota(request.getVolumeUuid(), in pushProcessedQuotas()
227 insertIntoQuotaMap(request.getVolumeUuid(), in pushProcessedQuotas()
325 String uuid = request.getVolumeUuid(); in saveToXml()
327 out.attribute(null, ATTR_UUID, request.getVolumeUuid()); in saveToXml()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageState.java361 String getVolumeUuid(); in getVolumeUuid() method
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java1390 String getVolumeUuid(); in getVolumeUuid() method
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java1935 assertSame(origPkgSetting.getVolumeUuid(), testPkgSetting.getVolumeUuid()); in verifySettingCopy()
1936 assertThat(origPkgSetting.getVolumeUuid(), is(testPkgSetting.getVolumeUuid())); in verifySettingCopy()
DScanTests.java365 assertThat(scanResult.mPkgSetting.getVolumeUuid(), is(UUID_TWO.toString())); in volumeUuidChangesOnUpdate()
DPackageParserTest.java927 assertEquals(a.getVolumeUuid(), b.getVolumeUuid()); in assertPackagesEqual()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt281 getter(AndroidPackage::getVolumeUuid, TEST_UUID.toString()), in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java1176 return Environment.getDataUserDePackageDirectory(ps.getVolumeUuid(), userId, in getDataDir()
1179 return Environment.getDataUserCePackageDirectory(ps.getVolumeUuid(), userId, in getDataDir()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java453 final String volumeUuid = getVolumeUuid(lite.getPath()); in parsePackageFromPackageLite()
556 private static String getVolumeUuid(final String apkPath) {
570 final String volumeUuid = getVolumeUuid(apkPath);
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java1535 public String getVolumeUuid() { in getVolumeUuid() method in PackageImpl
2774 String baseAppDataDir = Environment.getDataDirectoryPath(getVolumeUuid()) + File.separator;
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java4402 if (TextUtils.isEmpty(pkg.getVolumeUuid())) {
4405 return pkg.getVolumeUuid();
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java2389 String volumeUuid = packageState.getVolumeUuid();

12