Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DSettingsLibRobolectricTestRunner.java55 paths.add(resourcePath("file:frameworks/base/packages/SettingsLib/res")); in getAppManifest()
56 paths.add(resourcePath("file:frameworks/base/core/res/res")); in getAppManifest()
57 paths.add(resourcePath("file:frameworks/support/v7/appcompat/res")); in getAppManifest()
66 private static ResourcePath resourcePath(@NonNull String spec) {
/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()
DPackageSetting.java50 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument
56 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
DSettings.java574 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
592 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
607 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
673 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, in createNewSetting() argument
692 pkgSetting.resourcePath = resourcePath; in createNewSetting()
703 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, in createNewSetting()
789 @NonNull File codePath, File resourcePath, in updatePackageSetting() argument
834 if (!pkgSetting.resourcePath.equals(resourcePath)) { in updatePackageSetting()
840 + " to " + resourcePath.toString() in updatePackageSetting()
842 pkgSetting.resourcePath = resourcePath; in updatePackageSetting()
[all …]
DPackageManagerService.java15669 String resourcePath, String[] instructionSets) {
15670 return new FileInstallArgs(codePath, resourcePath, instructionSets);
15820 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) {
15825 this.resourceFile = (resourcePath != null) ? new File(resourcePath) : null;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java513 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting01()
555 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting02()
603 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting03()
647 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting04()
731 assertSame(origPkgSetting.resourcePath, testPkgSetting.resourcePath); in verifySettingCopy()
732 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.java1891 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
DPackageParser.java6405 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
6406 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6410 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6417 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
6418 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
6422 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()