/frameworks/base/core/java/android/content/pm/ |
H A D | AuxiliaryResolveInfo.java | 39 public final String splitName; field in class:AuxiliaryResolveInfo 52 @Nullable String splitName, 59 this.splitName = splitName; 68 @Nullable String splitName, 73 this.splitName = splitName; 50 AuxiliaryResolveInfo(@onNull InstantAppResolveInfo resolveInfo, @NonNull IntentFilter orig, @Nullable String splitName, @NonNull String token, boolean needsPhase2, @Nullable Intent failureIntent) argument 67 AuxiliaryResolveInfo(@onNull String packageName, @Nullable String splitName, int versionCode, @Nullable Intent failureIntent) argument
|
H A D | InstantAppIntentFilter.java | 39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { argument 43 mSplitName = splitName;
|
H A D | EphemeralIntentFilter.java | 38 public EphemeralIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { argument 39 mInstantAppIntentFilter = new InstantAppIntentFilter(splitName, filters);
|
H A D | ComponentInfo.java | 51 public String splitName; field in class:ComponentInfo 92 splitName = orig.splitName; 173 if (splitName != null) { 174 pw.println(prefix + "splitName=" + splitName); 208 dest.writeString(splitName); 222 splitName = source.readString();
|
H A D | PackageInstaller.java | 859 public void removeSplit(@NonNull String splitName) throws IOException { argument 861 mSession.removeSplit(splitName);
|
H A D | PackageParser.java | 383 /** Names of any split APKs, ordered by parsed splitName */ 386 /** Names of any split APKs that are features. Ordered by splitName */ 389 /** Dependencies of any split APKs, ordered by parsed splitName */ 402 /** Paths of any split APKs, ordered by parsed splitName */ 407 /** Revision codes of any split APKs, ordered by parsed splitName */ 457 public final String splitName; field in class:PackageParser.ApkLite 474 public ApkLite(String codePath, String packageName, String splitName, boolean isFeatureSplit, argument 482 this.splitName = splitName; 890 if (apks.put(lite.splitName, lit [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 492 final String splitName = nextArg(); 494 return doWriteSession(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 611 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, argument 636 out = session.openWrite(splitName, 0, sizeBytes);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 295 final String splitName = getNextArg(); 297 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 305 final String splitName = getNextArg(); 306 if (splitName == null) { 310 return doRemoveSplit(sessionId, splitName, true /*logSuccess*/); 885 final String splitName = getNextArg(); 886 if (splitName != null) { 887 return runRemoveSplit(packageName, splitName); 929 private int runRemoveSplit(String packageName, String splitName) throws RemoteException { argument 938 if (doRemoveSplit(sessionId, splitName, fals 1352 doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, boolean logSuccess) argument 1416 doRemoveSplit(int sessionId, String splitName, boolean logSuccess) argument [all...] |
H A D | PackageInstallerSession.java | 396 public void removeSplit(String splitName) { argument 401 createRemoveSplitMarker(splitName); 407 private void createRemoveSplitMarker(String splitName) throws IOException { argument 409 final String markerName = splitName + REMOVE_SPLIT_MARKER_EXTENSION; 710 final String splitName = fileName.substring( 712 removeSplitList.add(splitName); 734 if (!stagedSplits.add(apk.splitName)) { 736 "Split " + apk.splitName + " was defined multiple times"); 753 if (apk.splitName == null) { 756 targetName = "split_" + apk.splitName [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LoadedApk.java | 540 private int ensureSplitLoaded(String splitName) throws NameNotFoundException { argument 542 if (splitName != null) { 543 idx = Arrays.binarySearch(mSplitNames, splitName); 546 "Split name '" + splitName + "' is not installed"); 554 ClassLoader getClassLoaderForSplit(String splitName) throws NameNotFoundException { argument 555 return mCachedClassLoaders[ensureSplitLoaded(splitName)]; 558 String[] getSplitPathsForSplit(String splitName) throws NameNotFoundException { argument 559 return mCachedResourcePaths[ensureSplitLoaded(splitName)]; 565 ClassLoader getSplitClassLoader(String splitName) throws NameNotFoundException { argument 569 return mSplitLoader.getClassLoaderForSplit(splitName); 572 getSplitPaths(String splitName) argument [all...] |
H A D | ContextImpl.java | 1967 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, argument 1972 splitResDirs = pi.getSplitPaths(splitName); 1973 classLoader = pi.getSplitClassLoader(splitName); 2050 public Context createContextForSplit(String splitName) throws NameNotFoundException { argument 2056 final ClassLoader classLoader = mPackageInfo.getSplitClassLoader(splitName); 2057 final String[] paths = mPackageInfo.getSplitPaths(splitName); 2059 final ContextImpl context = new ContextImpl(this, mMainThread, mPackageInfo, splitName, 2257 classLoader = packageInfo.getSplitClassLoader(activityInfo.splitName); 2258 splitDirs = packageInfo.getSplitPaths(activityInfo.splitName); 2267 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, activityInfo.splitName, 2295 ContextImpl(@ullable ContextImpl container, @NonNull ActivityThread mainThread, @NonNull LoadedApk packageInfo, @Nullable String splitName, @Nullable IBinder activityToken, @Nullable UserHandle user, int flags, @Nullable ClassLoader classLoader) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 851 public Context createContextForSplit(String splitName) argument 853 return mBase.createContextForSplit(splitName);
|
H A D | Context.java | 4498 * @param splitName The name of the split to include, as declared in the split's 4502 public abstract Context createContextForSplit(String splitName) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 712 public Context createContextForSplit(String splitName) argument
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1261 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); local 1262 if (!splitName.isEmpty()) { 1264 splitName.string()).string());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 1329 public Context createContextForSplit(String splitName) { argument
|