Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java42 public final String splitName; field in AuxiliaryResolveInfo
55 @Nullable String splitName, in AuxiliaryResolveInfo() argument
62 this.splitName = splitName; in AuxiliaryResolveInfo()
72 @Nullable String splitName, in AuxiliaryResolveInfo() argument
79 this.splitName = splitName; in AuxiliaryResolveInfo()
DComponentInfo.java51 public String splitName; field in ComponentInfo
92 splitName = orig.splitName; in ComponentInfo()
173 if (splitName != null) { in dumpFront()
174 pw.println(prefix + "splitName=" + splitName); in dumpFront()
208 dest.writeString(splitName); in writeToParcel()
222 splitName = source.readString(); in ComponentInfo()
DEphemeralIntentFilter.java39 public EphemeralIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in EphemeralIntentFilter() argument
40 mInstantAppIntentFilter = new InstantAppIntentFilter(splitName, filters); in EphemeralIntentFilter()
DInstantAppIntentFilter.java39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in InstantAppIntentFilter() argument
43 mSplitName = splitName; in InstantAppIntentFilter()
DIPackageInstallerSession.aidl32 void removeSplit(String splitName); in removeSplit() argument
DPackageParser.java472 public final String splitName; field in PackageParser.ApkLite
489 … public ApkLite(String codePath, String packageName, String splitName, boolean isFeatureSplit, in ApkLite() argument
497 this.splitName = splitName; in ApkLite()
928 if (apks.put(lite.splitName, lite) != null) { in parseClusterPackageLite()
930 "Split name " + lite.splitName in parseClusterPackageLite()
1825 String splitName = attrs.getAttributeValue(null, "split"); in parsePackageSplitNames() local
1826 if (splitName != null) { in parsePackageSplitNames()
1827 if (splitName.length() == 0) { in parsePackageSplitNames()
1828 splitName = null; in parsePackageSplitNames()
1830 final String error = validateName(splitName, false, false); in parsePackageSplitNames()
[all …]
DPackageInstaller.java897 public void removeSplit(@NonNull String splitName) throws IOException { in removeSplit() argument
899 mSession.removeSplit(splitName); in removeSplit()
DIPackageManager.aidl526 String targetCompilerFilter, boolean force, boolean bootComplete, String splitName); in performDexOptMode() argument
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java81 public DexoptOptions(String packageName, String compilerFilter, String splitName, int flags) { in DexoptOptions() argument
97 mSplitName = splitName; in DexoptOptions()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java161 final String splitName; in doInstantAppResolutionPhaseTwo()
172 splitName = instantAppIntentInfo.splitName; in doInstantAppResolutionPhaseTwo()
177 splitName = null; in doInstantAppResolutionPhaseTwo()
183 splitName = null; in doInstantAppResolutionPhaseTwo()
196 splitName, in doInstantAppResolutionPhaseTwo()
375 + ", split: " + info.splitName in filterInstantAppIntent()
DPackageInstallerSession.java560 public void removeSplit(String splitName) { in removeSplit() argument
570 createRemoveSplitMarkerLocked(splitName); in removeSplit()
577 private void createRemoveSplitMarkerLocked(String splitName) throws IOException { in createRemoveSplitMarkerLocked() argument
579 final String markerName = splitName + REMOVE_SPLIT_MARKER_EXTENSION; in createRemoveSplitMarkerLocked()
1016 final String splitName = fileName.substring( in validateInstallLocked() local
1018 removeSplitList.add(splitName); in validateInstallLocked()
1040 if (!stagedSplits.add(apk.splitName)) { in validateInstallLocked()
1042 "Split " + apk.splitName + " was defined multiple times"); in validateInstallLocked()
1059 if (apk.splitName == null) { in validateInstallLocked()
1062 targetName = "split_" + apk.splitName + ".apk"; in validateInstallLocked()
[all …]
DPackageManagerShellCommand.java297 final String splitName = getNextArg(); in runInstallWrite() local
299 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); in runInstallWrite()
307 final String splitName = getNextArg(); in runInstallRemove() local
308 if (splitName == null) { in runInstallRemove()
312 return doRemoveSplit(sessionId, splitName, true /*logSuccess*/); in runInstallRemove()
902 final String splitName = getNextArg(); in runUninstall() local
903 if (splitName != null) { in runUninstall()
904 return runRemoveSplit(packageName, splitName); in runUninstall()
946 private int runRemoveSplit(String packageName, String splitName) throws RemoteException { in runRemoveSplit() argument
955 if (doRemoveSplit(sessionId, splitName, false /*logSuccess*/) in runRemoveSplit()
[all …]
DPackageManagerService.java7700 && info.activityInfo.splitName != null in applyPostResolutionFilter()
7702 info.activityInfo.splitName)) { in applyPostResolutionFilter()
7719 info.activityInfo.packageName, info.activityInfo.splitName, in applyPostResolutionFilter()
7779 if (info.activityInfo.splitName != null) { in findInstallFailureActivity()
8471 if (info.serviceInfo.splitName != null in applyPostServiceResolutionFilter()
8473 info.serviceInfo.splitName)) { in applyPostServiceResolutionFilter()
8481 info.serviceInfo.packageName, info.serviceInfo.splitName, in applyPostServiceResolutionFilter()
8591 if (info.providerInfo.splitName != null in applyPostContentProviderResolutionFilter()
8593 info.providerInfo.splitName)) { in applyPostContentProviderResolutionFilter()
8601 info.providerInfo.packageName, info.providerInfo.splitName, in applyPostContentProviderResolutionFilter()
[all …]
/frameworks/base/core/java/android/app/
DLoadedApk.java542 private int ensureSplitLoaded(String splitName) throws NameNotFoundException { in ensureSplitLoaded() argument
544 if (splitName != null) { in ensureSplitLoaded()
545 idx = Arrays.binarySearch(mSplitNames, splitName); in ensureSplitLoaded()
548 "Split name '" + splitName + "' is not installed"); in ensureSplitLoaded()
556 ClassLoader getClassLoaderForSplit(String splitName) throws NameNotFoundException { in getClassLoaderForSplit() argument
557 return mCachedClassLoaders[ensureSplitLoaded(splitName)]; in getClassLoaderForSplit()
560 String[] getSplitPathsForSplit(String splitName) throws NameNotFoundException { in getSplitPathsForSplit() argument
561 return mCachedResourcePaths[ensureSplitLoaded(splitName)]; in getSplitPathsForSplit()
567 ClassLoader getSplitClassLoader(String splitName) throws NameNotFoundException { in getSplitClassLoader() argument
571 return mSplitLoader.getClassLoaderForSplit(splitName); in getSplitClassLoader()
[all …]
DContextImpl.java1983 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() argument
1988 splitResDirs = pi.getSplitPaths(splitName); in createResources()
1989 classLoader = pi.getSplitClassLoader(splitName); in createResources()
2066 public Context createContextForSplit(String splitName) throws NameNotFoundException { in createContextForSplit() argument
2072 final ClassLoader classLoader = mPackageInfo.getSplitClassLoader(splitName); in createContextForSplit()
2073 final String[] paths = mPackageInfo.getSplitPaths(splitName); in createContextForSplit()
2075 final ContextImpl context = new ContextImpl(this, mMainThread, mPackageInfo, splitName, in createContextForSplit()
2285 classLoader = packageInfo.getSplitClassLoader(activityInfo.splitName); in createActivityContext()
2286 splitDirs = packageInfo.getSplitPaths(activityInfo.splitName); in createActivityContext()
2295 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, activityInfo.splitName, in createActivityContext()
[all …]
DActivityThread.java3159 if (data.info.splitName != null) { in handleReceiver()
3160 context = (ContextImpl) context.createContextForSplit(data.info.splitName); in handleReceiver()
6217 if (info.splitName != null) { in installProvider()
6219 c = c.createContextForSplit(info.splitName); in installProvider()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java492 final String splitName = nextArg(); in runInstallWrite() local
494 return doWriteSession(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); in runInstallWrite()
611 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSession() argument
636 out = session.openWrite(splitName, 0, sizeBytes); in doWriteSession()
/frameworks/base/tools/aapt/
DXMLNode.cpp1199 static void splitName(const char* name, String16* outNs, String16* outName) in splitName() function
1240 splitName(name, &ns16, &name16); in startElement()
1255 splitName(atts[i], &ns16, &name16); in startElement()
1303 splitName(name, &ns16, &name16); in endElement()
DResource.cpp1015 String16 splitName("feature_"); in massageManifest() local
1016 splitName.append(attr->string); in massageManifest()
1017 status_t err = root->addAttribute(String16(), String16("split"), splitName); in massageManifest()
1202 String8 splitName("config."); in generateAndroidManifestForSplit() local
1203 splitName.append(split->getPackageSafeName()); in generateAndroidManifestForSplit()
1204 manifest->addAttribute(String16(), String16("split"), String16(splitName)); in generateAndroidManifestForSplit()
DCommand.cpp1262 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); in doDump() local
1263 if (!splitName.isEmpty()) { in doDump()
1265 splitName.string()).string()); in doDump()
/frameworks/base/core/java/android/content/
DContextWrapper.java857 public Context createContextForSplit(String splitName) in createContextForSplit() argument
859 return mBase.createContextForSplit(splitName); in createContextForSplit()
DContext.java4574 public abstract Context createContextForSplit(String splitName) in createContextForSplit() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java718 public Context createContextForSplit(String splitName) in createContextForSplit() argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java233 String splitName) throws RemoteException { in writeSplitToInstallSession() argument
246 out = session.openWrite(splitName, 0, sizeBytes); in writeSplitToInstallSession()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1331 public Context createContextForSplit(String splitName) { in createContextForSplit() argument

12