Home
last modified time | relevance | path

Searched refs:splitName (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java81 String packageName, long versionCode, String splitName) { in AuxiliaryResolveInfo() argument
83 new AuxiliaryResolveInfo.AuxiliaryFilter(packageName, versionCode, splitName))); in AuxiliaryResolveInfo()
95 public final String splitName; field in AuxiliaryResolveInfo.AuxiliaryFilter
100 String splitName, Bundle extras) { in AuxiliaryFilter() argument
105 this.splitName = splitName; in AuxiliaryFilter()
110 String splitName, Bundle extras) { in AuxiliaryFilter() argument
114 this.splitName = splitName; in AuxiliaryFilter()
118 public AuxiliaryFilter(String packageName, long versionCode, String splitName) { in AuxiliaryFilter() argument
122 this.splitName = splitName; in AuxiliaryFilter()
131 + ", splitName='" + splitName + '\'' + '}'; in toString()
DApkChecksum.java64 public ApkChecksum(@Nullable String splitName, @Checksum.Type int type, in ApkChecksum() argument
66 this(splitName, new Checksum(type, value), (String) null, (byte[]) null); in ApkChecksum()
74 public ApkChecksum(@Nullable String splitName, @Checksum.Type int type, @NonNull byte[] value, in ApkChecksum() argument
77 this(splitName, new Checksum(type, value), sourcePackageName, in ApkChecksum()
149 @Nullable String splitName, in ApkChecksum()
153 this.mSplitName = splitName; in ApkChecksum()
222 String splitName = (flg & 0x1) == 0 ? null : in.readString(); in ApkChecksum() local
227 this.mSplitName = splitName; in ApkChecksum()
DComponentInfo.java59 public String splitName; field in ComponentInfo
115 splitName = orig.splitName; in ComponentInfo()
199 if (splitName != null) { in dumpFront()
200 pw.println(prefix + "splitName=" + splitName); in dumpFront()
238 dest.writeString8(splitName); in writeToParcel()
250 splitName = source.readString8(); in ComponentInfo()
DInstantAppIntentFilter.java39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in InstantAppIntentFilter() argument
43 mSplitName = splitName; in InstantAppIntentFilter()
DIPackageInstallerSession.aidl44 void removeSplit(String splitName); in removeSplit() argument
DPackageParser.java475 public final String splitName; field in PackageParser.ApkLite
503 public ApkLite(String codePath, String packageName, String splitName, in ApkLite() argument
516 this.splitName = splitName; in ApkLite()
1027 if (apks.put(lite.splitName, lite) != null) { in parseClusterPackageLite()
1029 "Split name " + lite.splitName in parseClusterPackageLite()
1605 String splitName = attrs.getAttributeValue(null, "split"); in parsePackageSplitNames() local
1606 if (splitName != null) { in parsePackageSplitNames()
1607 if (splitName.length() == 0) { in parsePackageSplitNames()
1608 splitName = null; in parsePackageSplitNames()
1610 final String error = validateName(splitName, false, false); in parsePackageSplitNames()
[all …]
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedMainComponentImpl.java50 private String splitName; field in ParsedMainComponentImpl
64 this.splitName = other.getSplitName(); in ParsedMainComponentImpl()
99 dest.writeString(this.splitName); in writeToParcel()
110 this.splitName = in.readString(); in ParsedMainComponentImpl()
149 @Nullable String splitName, in ParsedMainComponentImpl() argument
156 this.splitName = splitName; in ParsedMainComponentImpl()
189 return splitName; in getSplitName()
218 splitName = value; in setSplitName()
/frameworks/base/core/java/android/content/pm/dex/
DArtManager.java189 public static String getProfileName(String splitName) { in getProfileName() argument
190 return splitName == null ? "primary.prof" : splitName + ".split.prof"; in getProfileName()
198 public static String getCurrentProfilePath(String packageName, int userId, String splitName) { in getCurrentProfilePath() argument
200 return new File(profileDir, getProfileName(splitName)).getAbsolutePath(); in getCurrentProfilePath()
208 public static String getReferenceProfilePath(String packageName, int userId, String splitName) { in getReferenceProfilePath() argument
210 return new File(profileDir, getProfileName(splitName)).getAbsolutePath(); in getReferenceProfilePath()
/frameworks/base/core/java/android/content/res/loader/
DResourcesProvider.java251 @NonNull String splitName) throws IOException { in loadFromSplit() argument
253 int splitIndex = ArrayUtils.indexOf(appInfo.splitNames, splitName); in loadFromSplit()
255 throw new IllegalArgumentException("Split " + splitName + " not found"); in loadFromSplit()
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java711 String splitName = parser.getAttributeValue(null, "split"); in parsePackageSplitNames() local
712 if (splitName != null) { in parsePackageSplitNames()
713 if (splitName.length() == 0) { in parsePackageSplitNames()
714 splitName = null; in parsePackageSplitNames()
717 splitName, false, false); in parsePackageSplitNames()
726 (splitName != null) ? splitName.intern() : splitName)); in parsePackageSplitNames()
DApkLite.java157 public ApkLite(String path, String packageName, String splitName, boolean isFeatureSplit, in ApkLite() argument
171 mSplitName = splitName; in ApkLite()
/frameworks/base/core/java/com/android/internal/os/
DIBinaryTransparencyService.aidl47 String splitName;
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java105 String splitName, int flags) { in DexoptOptions() argument
123 mSplitName = splitName; in DexoptOptions()
DArtManagerService.java236 String splitName = null; in snapshotAppProfile() local
242 splitName = info.applicationInfo.splitNames[i]; in snapshotAppProfile()
259 snapshot, packageName, splitName); in snapshotAppProfile()
/frameworks/base/tests/BinaryTransparencyHostTest/test-app/src/android/transparency/test/app/
DBinaryTransparencyTest.java147 if (appInfo.splitName != null) { in testCollectAllSilentInstalledMbaInfo()
148 actualSplitNames.add(appInfo.splitName); in testCollectAllSilentInstalledMbaInfo()
/frameworks/base/core/java/android/app/
DLoadedApk.java690 private int ensureSplitLoaded(String splitName) throws NameNotFoundException { in ensureSplitLoaded() argument
692 if (splitName != null) { in ensureSplitLoaded()
693 idx = Arrays.binarySearch(mSplitNames, splitName); in ensureSplitLoaded()
696 "Split name '" + splitName + "' is not installed"); in ensureSplitLoaded()
704 ClassLoader getClassLoaderForSplit(String splitName) throws NameNotFoundException { in getClassLoaderForSplit() argument
705 final int idx = ensureSplitLoaded(splitName); in getClassLoaderForSplit()
711 String[] getSplitPathsForSplit(String splitName) throws NameNotFoundException { in getSplitPathsForSplit() argument
712 final int idx = ensureSplitLoaded(splitName); in getSplitPathsForSplit()
721 ClassLoader getSplitClassLoader(String splitName) throws NameNotFoundException { in getSplitClassLoader() argument
725 return mSplitLoader.getClassLoaderForSplit(splitName); in getSplitClassLoader()
[all …]
DContextImpl.java2658 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() argument
2664 splitResDirs = pi.getSplitPaths(splitName); in createResources()
2665 classLoader = pi.getSplitClassLoader(splitName); in createResources()
2783 public Context createContextForSplit(String splitName) throws NameNotFoundException { in createContextForSplit() argument
2789 final ClassLoader classLoader = mPackageInfo.getSplitClassLoader(splitName); in createContextForSplit()
2790 final String[] paths = mPackageInfo.getSplitPaths(splitName); in createContextForSplit()
2793 mAttributionSource.getAttributionTag(), mAttributionSource.getNext(), splitName, in createContextForSplit()
3420 classLoader = packageInfo.getSplitClassLoader(activityInfo.splitName); in createActivityContext()
3421 splitDirs = packageInfo.getSplitPaths(activityInfo.splitName); in createActivityContext()
3438 attributionTag, null, activityInfo.splitName, activityToken, null, 0, classLoader, in createActivityContext()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java555 if (info.providerInfo.splitName != null in applyPostContentProviderResolutionFilter()
557 info.providerInfo.splitName)) { in applyPostContentProviderResolutionFilter()
576 info.providerInfo.splitName); in applyPostContentProviderResolutionFilter()
DPackageInstallerSession.java1738 public void removeSplit(String splitName) { in removeSplit() argument
1752 createRemoveSplitMarkerLocked(splitName); in removeSplit()
1768 private void createRemoveSplitMarkerLocked(String splitName) throws IOException { in createRemoveSplitMarkerLocked() argument
1770 final File target = new File(stageDir, getRemoveMarkerName(splitName)); in createRemoveSplitMarkerLocked()
3452 final String splitName = fileName.substring(
3454 removeSplitList.add(splitName);
3552 for (String splitName : removeSplitList) {
3553 if (!ArrayUtils.contains(pkgInfo.splitNames, splitName)) {
3555 "Split not found: " + splitName);
3704 final String splitName = existing.getSplitNames()[i];
[all …]
DInstantAppResolver.java313 filters.get(0).splitName); in buildEphemeralInstallerIntent()
367 resolvableFilter.putString(Intent.EXTRA_SPLIT_NAME, filter.splitName); in buildEphemeralInstallerIntent()
DDexOptHelper.java256 String targetCompilerFilter, boolean force, boolean bootComplete, String splitName) { in performDexOptMode() argument
272 targetCompilerFilter, splitName, flags)); in performDexOptMode()
DPackageManagerServiceUtils.java1438 final String splitName = after.splitNames[i]; in checkDowngrade() local
1439 final int j = ArrayUtils.indexOf(before.getSplitNames(), splitName); in checkDowngrade()
1443 "Update split " + splitName + " revision code " in checkDowngrade()
DPackageManagerShellCommand.java1755 final String splitName = getNextArg(); in runInstallWrite() local
1757 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); in runInstallWrite()
4164 String splitName = multipleSplits ? new File(splitPath).getName() in doWriteSplits() local
4167 if (doWriteSplit(sessionId, splitPath, sessionSizeBytes, splitName, in doWriteSplits()
4201 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit() argument
4218 session.write(splitName, 0, sizeBytes, fd); in doWriteSplit()
4263 for (String splitName : splitNames) { in doRemoveSplits()
4264 session.removeSplit(splitName); in doRemoveSplits()
/frameworks/base/tools/aapt/
DXMLNode.cpp1196 static void splitName(const char* name, String16* outNs, String16* outName) in splitName() function
1237 splitName(name, &ns16, &name16); in startElement()
1252 splitName(atts[i], &ns16, &name16); in startElement()
1300 splitName(name, &ns16, &name16); in endElement()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1281 final boolean splitInstalled = cpi.splitName == null || ArrayUtils.contains( in generateApplicationProvidersLocked()
1282 cpi.applicationInfo.splitNames, cpi.splitName); in generateApplicationProvidersLocked()
1422 final boolean splitInstalled = pi.splitName == null in installEncryptionUnawareProviders()
1424 pi.splitName); in installEncryptionUnawareProviders()

12