Home
last modified time | relevance | path

Searched refs:codePaths (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DSystemStubMultiUserDisableUninstallTest.kt200 codePaths = listOf(CodePath.SYSTEM)
227 codePaths = listOf(CodePath.SYSTEM)
417 codePaths = listOf(CodePath.SYSTEM)
448 codePaths = listOf(CodePath.SYSTEM)
479 codePaths = listOf(CodePath.SYSTEM)
510 codePaths = listOf(CodePath.SYSTEM)
583 codePaths: List<CodePath>
605 assertCodePaths(codePaths.first(), codePaths.getOrNull(1))
614 assertThat(codePaths[0]).contains("/data/app")
619 assertThat(codePaths[0]).contains("/data/app")
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtPackageInfo.java35 List<String> codePaths, in ArtPackageInfo() argument
39 mCodePaths = codePaths; in ArtPackageInfo()
H A DDexManager.java435 Set<String> codePaths = putIfAbsent( in loadInternal() local
437 codePaths.add(pi.applicationInfo.sourceDir); in loadInternal()
439 Collections.addAll(codePaths, pi.applicationInfo.splitSourceDirs); in loadInternal()
H A DPackageDexUsage.java507 Set<String> codePaths = packageToCodePaths.get(packageName); in syncData() local
514 if (!codePaths.contains(recordedCodePath)) { in syncData()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DInstallerTest.java110 final String[] codePaths = new String[packageNames.length]; in testGetAppSize() local
114 codePaths[i] = info.getCodePath(); in testGetAppSize()
122 appId, ceDataInodes, codePaths, stats); in testGetAppSize()
127 appId, ceDataInodes, codePaths, quotaStats); in testGetAppSize()
/aosp12/frameworks/base/services/usage/java/com/android/server/usage/
H A DStorageStatsService.java322 String[] codePaths = new String[0]; in queryStatsForPackage() local
327 codePaths = ArrayUtils.appendElement(String.class, codePaths, in queryStatsForPackage()
334 appId, ceDataInodes, codePaths, stats); in queryStatsForPackage()
372 String[] codePaths = new String[0]; in queryStatsForUid() local
381 codePaths = ArrayUtils.appendElement(String.class, codePaths, in queryStatsForUid()
392 appId, ceDataInodes, codePaths, stats); in queryStatsForUid()
397 appId, ceDataInodes, codePaths, manualStats); in queryStatsForUid()
/aosp12/art/test/595-profile-saving/src/
H A DMain.java115 String[] codePaths, in registerAppInfo() argument
122 codePaths, in registerAppInfo()
/aosp12/frameworks/base/core/java/android/content/pm/dex/
H A DDexMetadataHelper.java134 List<String> codePaths) { in buildPackageApkToDexMetadataMap() argument
136 for (int i = codePaths.size() - 1; i >= 0; i--) { in buildPackageApkToDexMetadataMap()
137 String codePath = codePaths.get(i); in buildPackageApkToDexMetadataMap()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DSharedLibraryInfo.java103 public SharedLibraryInfo(String path, String packageName, List<String> codePaths, in SharedLibraryInfo() argument
109 mCodePaths = codePaths; in SharedLibraryInfo()
H A DPackageParser.java7016 public void setSplitCodePaths(String[] codePaths) { in setSplitCodePaths() argument
7017 this.splitCodePaths = codePaths; in setSplitCodePaths()
/aosp12/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java104 public static Handle create(List<String> codePaths, boolean multiArch, in create() argument
106 final int size = codePaths.size(); in create()
110 final String path = codePaths.get(i); in create()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java395 long[] ceDataInodes, String[] codePaths, PackageStats stats) in getAppSize() argument
398 if (codePaths != null) { in getAppSize()
399 for (String codePath : codePaths) { in getAppSize()
405 appId, ceDataInodes, codePaths); in getAppSize()
H A DPackageManagerService.java22796 final String[] codePaths = { ps.getPathString() }; in getPackageSizeInfoLI() local
22800 ps.appId, ceDataInodes, codePaths, stats); in getPackageSizeInfoLI()
25666 List<String> codePaths = new ArrayList<>();
25670 codePaths.add(ps.getPath().getAbsolutePath());
25672 return codePaths;
/aosp12/frameworks/base/core/java/android/app/
H A DLoadedApk.java1078 final List<String> codePaths = new ArrayList<>(); in registerAppInfoToArt() local
1080 codePaths.add(mApplicationInfo.sourceDir); in registerAppInfoToArt()
1083 Collections.addAll(codePaths, mApplicationInfo.splitSourceDirs); in registerAppInfoToArt()
1086 if (codePaths.isEmpty()) { in registerAppInfoToArt()
1092 for (int i = codePaths.size() - 1; i >= 0; i--) { in registerAppInfoToArt()
1098 int codePathType = codePaths.get(i).equals(mApplicationInfo.sourceDir) in registerAppInfoToArt()
1105 new String[] {codePaths.get(i)}, in registerAppInfoToArt()
/aosp12/frameworks/native/cmds/installd/tests/
H A Dinstalld_service_test.cpp295 std::vector<std::string> codePaths; in TEST_F() local
304 externalStorageAppId, ceDataInodes, codePaths, &externalStorageSize); in TEST_F()
313 externalStorageAppId, ceDataInodes, codePaths, in TEST_F()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java592 String[] codePaths = systemServerClasspath.split(":"); in prepareSystemServerProfile() local
604 codePaths[0], in prepareSystemServerProfile()
617 codePaths, in prepareSystemServerProfile()
/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl40 in @utf8InCpp String[] codePaths); in getAppSize() argument
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.h86 const std::vector<std::string>& codePaths, std::vector<int64_t>* _aidl_return);
H A DInstalldNativeService.cpp1766 const std::vector<std::string>& codePaths, std::vector<int64_t>* _aidl_return) { in getAppSize() argument
1772 for (const auto& codePath : codePaths) { in getAppSize()
1822 for (const auto& codePath : codePaths) { in getAppSize()
1833 for (const auto& codePath : codePaths) { in getAppSize()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
H A DDexManagerTests.java847 private void assertIsUsedByOtherApps(List<String> codePaths, PackageUseInfo pui, in assertIsUsedByOtherApps() argument
849 for (String codePath : codePaths) { in assertIsUsedByOtherApps()