Home
last modified time | relevance | path

Searched refs:resourcePath (Results 1 – 7 of 7) 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.java578 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
596 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
611 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
698 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, in createNewSetting() argument
717 pkgSetting.resourcePath = resourcePath; in createNewSetting()
728 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, in createNewSetting()
939 final String resourcePath = pkg.applicationInfo.getResourcePath(); in insertPackageSettingLPw() local
955 if (!Objects.equals(resourcePath, p.resourcePathString)) { in insertPackageSettingLPw()
957 " changing from " + p.resourcePathString + " to " + resourcePath); in insertPackageSettingLPw()
958 p.resourcePath = new File(resourcePath); in insertPackageSettingLPw()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java395 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting01()
438 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting02()
482 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting03()
526 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting04()
633 assertSame(origPkgSetting.resourcePath, testPkgSetting.resourcePath); in verifySettingCopy()
634 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.java1502 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
DPackageParser.java5864 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
5865 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
5869 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
5874 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
5875 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
5879 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()