/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/ |
D | SystemPreparer.java | 107 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk() argument 110 final File tmpFile = copyResourceToTemp(resourcePath); in installResourceApk() 186 private File copyResourceToTemp(String resourcePath) throws IOException { in copyResourceToTemp() argument 189 try (InputStream assetIs = classLoader.getResource(resourcePath).openStream(); in copyResourceToTemp() 192 throw new IllegalStateException("Failed to find resource " + resourcePath); in copyResourceToTemp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 69 File resourcePath; field in PackageSettingBase 141 PackageSettingBase(String name, String realName, File codePath, File resourcePath, in PackageSettingBase() argument 153 this.resourcePath = resourcePath; in PackageSettingBase() 154 this.resourcePathString = resourcePath.toString(); in PackageSettingBase() 249 resourcePath = orig.resourcePath; in doCopy() 732 this.resourcePath = other.resourcePath; in updateFrom()
|
D | PackageSetting.java | 74 public PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument 80 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
|
D | Settings.java | 540 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw() 560 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument 574 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw() 637 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, in createNewSetting() argument 653 pkgSetting.resourcePath = resourcePath; in createNewSetting() 664 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, in createNewSetting() 758 @NonNull File codePath, File resourcePath, in updatePackageSetting() argument 805 if (!pkgSetting.resourcePath.equals(resourcePath)) { in updatePackageSetting() 811 + " to " + resourcePath.toString() in updatePackageSetting() 813 pkgSetting.resourcePath = resourcePath; in updatePackageSetting() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageSettingBuilder.java | 77 public PackageSettingBuilder setResourcePath(String resourcePath) { in setResourcePath() argument 78 this.mResourcePath = resourcePath; in setResourcePath()
|
D | PackageManagerSettingsTests.java | 621 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting01() 662 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting02() 708 assertThat(testPkgSetting01.resourcePath, is(INITIAL_CODE_PATH)); in testCreateNewSetting03() 751 assertThat(testPkgSetting01.resourcePath, is(UPDATED_CODE_PATH)); in testCreateNewSetting04() 831 assertSame(origPkgSetting.resourcePath, testPkgSetting.resourcePath); in verifySettingCopy() 832 assertThat(origPkgSetting.resourcePath, is(testPkgSetting.resourcePath)); in verifySettingCopy()
|
D | ScanTests.java | 538 assertThat(pkgSetting.resourcePath, is(new File(createCodePath(packageName))));
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 376 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/ |
D | ApplicationInfo.java | 2226 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
|
D | PackageParser.java | 6841 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument 6842 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath() 6846 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath() 6853 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument 6854 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath() 6858 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
|