Home
last modified time | relevance | path

Searched refs:resourcePath (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java64 File resourcePath; field in PackageSettingBase
136 PackageSettingBase(String name, String realName, File codePath, File resourcePath, in PackageSettingBase() argument
150 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString, in PackageSettingBase()
168 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, in init() argument
173 this.resourcePath = resourcePath; in init()
174 this.resourcePathString = resourcePath.toString(); in init()
250 resourcePath = orig.resourcePath; in doCopy()
664 this.resourcePath = other.resourcePath; in updateFrom()
DPackageSetting.java50 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument
56 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
DSettings.java497 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
515 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
530 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
596 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, in createNewSetting() argument
615 pkgSetting.resourcePath = resourcePath; in createNewSetting()
626 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, in createNewSetting()
713 @NonNull File codePath, File resourcePath, in updatePackageSetting() argument
758 if (!pkgSetting.resourcePath.equals(resourcePath)) { in updatePackageSetting()
764 + " to " + resourcePath.toString() in updatePackageSetting()
766 pkgSetting.resourcePath = resourcePath; in updatePackageSetting()
[all …]
DPackageManagerService.java15098 String resourcePath, String[] instructionSets) {
15099 return new FileInstallArgs(codePath, resourcePath, instructionSets);
15244 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) {
15249 this.resourceFile = (resourcePath != null) ? new File(resourcePath) : null;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageBuilder.java35 PackageBuilder setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
36 mPkg.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
DPackageSettingBuilder.java60 public PackageSettingBuilder setResourcePath(String resourcePath) { in setResourcePath() argument
61 this.mResourcePath = resourcePath; in setResourcePath()
DPackageManagerSettingsTests.java572 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting01()
614 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting02()
662 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting03()
706 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting04()
791 assertSame(origPkgSetting.resourcePath, testPkgSetting.resourcePath); in verifySettingCopy()
792 assertThat(origPkgSetting.resourcePath, is(testPkgSetting.resourcePath)); in verifySettingCopy()
DScanTests.java513 assertThat(pkgSetting.resourcePath, is(new File(createResourcePath(packageName))));
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java376 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument
381 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java2124 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
DPackageParser.java6710 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
6711 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6715 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6722 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
6723 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
6727 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()