Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java76 String packageName, long versionCode, String splitName) { in AuxiliaryResolveInfo() argument
78 new AuxiliaryResolveInfo.AuxiliaryFilter(packageName, versionCode, splitName))); in AuxiliaryResolveInfo()
90 public final String splitName; field in AuxiliaryResolveInfo.AuxiliaryFilter
95 String splitName, Bundle extras) { in AuxiliaryFilter() argument
100 this.splitName = splitName; in AuxiliaryFilter()
105 String splitName, Bundle extras) { in AuxiliaryFilter() argument
109 this.splitName = splitName; in AuxiliaryFilter()
113 public AuxiliaryFilter(String packageName, long versionCode, String splitName) { in AuxiliaryFilter() argument
117 this.splitName = splitName; in AuxiliaryFilter()
126 + ", splitName='" + splitName + '\'' + '}'; in toString()
DComponentInfo.java52 public String splitName; field in ComponentInfo
93 splitName = orig.splitName; in ComponentInfo()
176 if (splitName != null) { in dumpFront()
177 pw.println(prefix + "splitName=" + splitName); in dumpFront()
211 dest.writeString(splitName); in writeToParcel()
225 splitName = source.readString(); in ComponentInfo()
DInstantAppIntentFilter.java39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in InstantAppIntentFilter() argument
43 mSplitName = splitName; in InstantAppIntentFilter()
DIPackageInstallerSession.aidl35 void removeSplit(String splitName); in removeSplit() argument
DPackageParser.java456 public final String splitName; field in PackageParser.ApkLite
477 public ApkLite(String codePath, String packageName, String splitName, in ApkLite() argument
488 this.splitName = splitName; in ApkLite()
985 if (apks.put(lite.splitName, lite) != null) { in parseClusterPackageLite()
987 "Split name " + lite.splitName in parseClusterPackageLite()
1737 String splitName = attrs.getAttributeValue(null, "split"); in parsePackageSplitNames() local
1738 if (splitName != null) { in parsePackageSplitNames()
1739 if (splitName.length() == 0) { in parsePackageSplitNames()
1740 splitName = null; in parsePackageSplitNames()
1742 final String error = validateName(splitName, false, false); in parsePackageSplitNames()
[all …]
DPackageInstaller.java1021 public void removeSplit(@NonNull String splitName) throws IOException { in removeSplit() argument
1023 mSession.removeSplit(splitName); in removeSplit()
DIPackageManager.aidl578 String targetCompilerFilter, boolean force, boolean bootComplete, String splitName); in performDexOptMode() argument
/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()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java92 String splitName, int flags) { in DexoptOptions() argument
110 mSplitName = splitName; in DexoptOptions()
DArtManagerService.java228 String splitName = null; in snapshotAppProfile() local
234 splitName = info.applicationInfo.splitNames[i]; in snapshotAppProfile()
252 createProfileSnapshot(packageName, ArtManager.getProfileName(splitName), codePath, in snapshotAppProfile()
255 destroyProfileSnapshot(packageName, ArtManager.getProfileName(splitName)); in snapshotAppProfile()
/frameworks/base/core/java/android/app/
DLoadedApk.java623 private int ensureSplitLoaded(String splitName) throws NameNotFoundException { in ensureSplitLoaded() argument
625 if (splitName != null) { in ensureSplitLoaded()
626 idx = Arrays.binarySearch(mSplitNames, splitName); in ensureSplitLoaded()
629 "Split name '" + splitName + "' is not installed"); in ensureSplitLoaded()
637 ClassLoader getClassLoaderForSplit(String splitName) throws NameNotFoundException { in getClassLoaderForSplit() argument
638 return mCachedClassLoaders[ensureSplitLoaded(splitName)]; in getClassLoaderForSplit()
641 String[] getSplitPathsForSplit(String splitName) throws NameNotFoundException { in getSplitPathsForSplit() argument
642 return mCachedResourcePaths[ensureSplitLoaded(splitName)]; in getSplitPathsForSplit()
648 ClassLoader getSplitClassLoader(String splitName) throws NameNotFoundException { in getSplitClassLoader() argument
652 return mSplitLoader.getClassLoaderForSplit(splitName); in getSplitClassLoader()
[all …]
DContextImpl.java2173 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() argument
2178 splitResDirs = pi.getSplitPaths(splitName); in createResources()
2179 classLoader = pi.getSplitClassLoader(splitName); in createResources()
2262 public Context createContextForSplit(String splitName) throws NameNotFoundException { in createContextForSplit() argument
2268 final ClassLoader classLoader = mPackageInfo.getSplitClassLoader(splitName); in createContextForSplit()
2269 final String[] paths = mPackageInfo.getSplitPaths(splitName); in createContextForSplit()
2271 final ContextImpl context = new ContextImpl(this, mMainThread, mPackageInfo, splitName, in createContextForSplit()
2537 classLoader = packageInfo.getSplitClassLoader(activityInfo.splitName); in createActivityContext()
2538 splitDirs = packageInfo.getSplitPaths(activityInfo.splitName); in createActivityContext()
2547 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, activityInfo.splitName, in createActivityContext()
[all …]
DActivityThread.java3799 if (data.info.splitName != null) { in handleReceiver()
3800 context = (ContextImpl) context.createContextForSplit(data.info.splitName); in handleReceiver()
6996 if (info.splitName != null) { in installProvider()
6998 c = c.createContextForSplit(info.splitName); in installProvider()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java622 public void removeSplit(String splitName) { in removeSplit() argument
632 createRemoveSplitMarkerLocked(splitName); in removeSplit()
647 private void createRemoveSplitMarkerLocked(String splitName) throws IOException { in createRemoveSplitMarkerLocked() argument
649 final File target = new File(stageDir, getRemoveMarkerName(splitName)); in createRemoveSplitMarkerLocked()
1531 final String splitName = fileName.substring( in validateApkInstallLocked() local
1533 removeSplitList.add(splitName); in validateApkInstallLocked()
1553 if (!stagedSplits.add(apk.splitName)) { in validateApkInstallLocked()
1555 "Split " + apk.splitName + " was defined multiple times"); in validateApkInstallLocked()
1571 if (apk.splitName == null) { in validateApkInstallLocked()
1574 targetName = "split_" + apk.splitName + APK_FILE_EXTENSION; in validateApkInstallLocked()
[all …]
DPackageManagerShellCommand.java1151 String splitName = "base." + (isApex ? "apex" : "apk"); in runInstall() local
1152 if (doWriteSplit(sessionId, inPath, params.sessionParams.sizeBytes, splitName, in runInstall()
1289 final String splitName = getNextArg(); in runInstallWrite() local
1291 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); in runInstallWrite()
1316 final String splitName = getNextArg(); in runInstallRemove() local
1317 if (splitName == null) { in runInstallRemove()
1321 return doRemoveSplit(sessionId, splitName, true /*logSuccess*/); in runInstallRemove()
1831 final String splitName = getNextArg(); in runUninstall() local
1832 if (splitName != null) { in runUninstall()
1833 return runRemoveSplit(packageName, splitName); in runUninstall()
[all …]
DInstantAppResolver.java289 filters.get(0).splitName); in buildEphemeralInstallerIntent()
341 resolvableFilter.putString(Intent.EXTRA_SPLIT_NAME, filter.splitName); in buildEphemeralInstallerIntent()
DPackageManagerService.java7515 && info.activityInfo.splitName != null
7517 info.activityInfo.splitName)) {
7542 info.activityInfo.splitName);
7600 if (info.activityInfo.splitName != null) {
8284 if (info.serviceInfo.splitName != null
8286 info.serviceInfo.splitName)) {
8298 info.serviceInfo.splitName);
8402 if (info.providerInfo.splitName != null
8404 info.providerInfo.splitName)) {
8416 info.providerInfo.splitName);
[all …]
/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()
DResource.cpp1031 String16 splitName("feature_"); in massageManifest() local
1032 splitName.append(attr->string); in massageManifest()
1033 status_t err = root->addAttribute(String16(), String16("split"), splitName); in massageManifest()
1232 String8 splitName("config."); in generateAndroidManifestForSplit() local
1233 splitName.append(split->getPackageSafeName()); in generateAndroidManifestForSplit()
1234 manifest->addAttribute(String16(), String16("split"), String16(splitName)); in generateAndroidManifestForSplit()
DCommand.cpp1246 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); in doDump() local
1247 if (!splitName.isEmpty()) { in doDump()
1249 splitName.string()).string()); in doDump()
/frameworks/base/core/java/android/content/
DContextWrapper.java935 public Context createContextForSplit(String splitName) in createContextForSplit() argument
937 return mBase.createContextForSplit(splitName); in createContextForSplit()
DContext.java5462 public abstract Context createContextForSplit(String splitName) in createContextForSplit() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java770 public Context createContextForSplit(String splitName) in createContextForSplit() argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java204 String splitName) throws RemoteException { in writeSplitToInstallSession() argument
217 out = session.openWrite(splitName, 0, sizeBytes); in writeSplitToInstallSession()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1318 public Context createContextForSplit(String splitName) { in createContextForSplit() argument

12