Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java75 File resourcePath; field in PackageSettingBase
150 PackageSettingBase(String name, String realName, File codePath, File resourcePath, in PackageSettingBase() argument
164 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString, in PackageSettingBase()
182 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, in init() argument
187 this.resourcePath = resourcePath; in init()
188 this.resourcePathString = resourcePath.toString(); in init()
262 resourcePath = orig.resourcePath; in doCopy()
DPackageSetting.java48 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument
54 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
DSettings.java579 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
597 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
612 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
699 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, in createNewSetting() argument
719 pkgSetting.resourcePath = resourcePath; in createNewSetting()
730 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, in createNewSetting()
942 final String resourcePath = pkg.applicationInfo.getResourcePath(); in insertPackageSettingLPw() local
958 if (!Objects.equals(resourcePath, p.resourcePathString)) { in insertPackageSettingLPw()
960 " changing from " + p.resourcePathString + " to " + resourcePath); in insertPackageSettingLPw()
961 p.resourcePath = new File(resourcePath); in insertPackageSettingLPw()
[all …]
DPackageManagerService.java9494 updatedPkg.resourcePath = scanFile; in scanPackageInternalLI()
9543 String resourcePath = null; in scanPackageInternalLI() local
9547 resourcePath = ps.resourcePathString; in scanPackageInternalLI()
9554 resourcePath = pkg.codePath; in scanPackageInternalLI()
9563 pkg.setApplicationInfoResourcePath(resourcePath); in scanPackageInternalLI()
9654 if (ps != null && !ps.codePath.equals(ps.resourcePath)) { in scanPackageInternalLI()
16766 String resourcePath, String[] instructionSets) { in createInstallArgsForExisting() argument
16786 return new FileInstallArgs(codePath, resourcePath, instructionSets); in createInstallArgsForExisting()
16937 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) { in FileInstallArgs() argument
16942 this.resourceFile = (resourcePath != null) ? new File(resourcePath) : null; in FileInstallArgs()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java396 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting01()
440 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting02()
485 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting03()
530 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting04()
637 assertSame(origPkgSetting.resourcePath, testPkgSetting.resourcePath); in verifySettingCopy()
638 assertThat(origPkgSetting.resourcePath, is(testPkgSetting.resourcePath)); in verifySettingCopy()
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DBaseCompilationTest.java94 String resourcePath = item.getAbsolutePath().substring(len); in copyResourceDirectory() local
96 copyResourceTo(name + "/" + resourcePath, new File(target, resourcePath)); in copyResourceDirectory()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1567 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
DPackageParser.java6022 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
6023 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6027 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6032 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
6033 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
6037 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()