/frameworks/base/core/tests/coretests/src/android/app/ |
D | ApplicationLoadersTest.java | 22 import android.content.pm.SharedLibraryInfo; 41 private static SharedLibraryInfo createLib(String zip) { in createLib() 42 return new SharedLibraryInfo( in createLib() 44 SharedLibraryInfo.TYPE_BUILTIN, null /*declaringPackage*/, in createLib() 58 SharedLibraryInfo libA = createLib(LIB_A); in testCacheExistantLib() 60 loaders.createAndCacheNonBootclasspathSystemClassLoaders(new SharedLibraryInfo[]{libA}); in testCacheExistantLib() 69 SharedLibraryInfo libA = createLib(LIB_A); in testNonNullParent() 74 loaders.createAndCacheNonBootclasspathSystemClassLoaders(new SharedLibraryInfo[]{libA}); in testNonNullParent() 83 SharedLibraryInfo libA = createLib(LIB_A); in testNonNullClassLoaderNamespace() 85 loaders.createAndCacheNonBootclasspathSystemClassLoaders(new SharedLibraryInfo[]{libA}); in testNonNullClassLoaderNamespace() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | SharedLibraryInfo.java | 38 public final class SharedLibraryInfo implements Parcelable { class 41 public static SharedLibraryInfo createForStatic(PackageParser.Package pkg) { in createForStatic() 42 return new SharedLibraryInfo(null, pkg.packageName, pkg.getAllCodePaths(), in createForStatic() 51 public static SharedLibraryInfo createForDynamic(PackageParser.Package pkg, String name) { in createForDynamic() 52 return new SharedLibraryInfo(null, pkg.packageName, pkg.getAllCodePaths(), name, in createForDynamic() 101 private List<SharedLibraryInfo> mDependencies; 116 public SharedLibraryInfo(String path, String packageName, List<String> codePaths, in SharedLibraryInfo() method in SharedLibraryInfo 119 List<SharedLibraryInfo> dependencies) { in SharedLibraryInfo() 131 private SharedLibraryInfo(Parcel parcel) { in SharedLibraryInfo() method in SharedLibraryInfo 135 parcel.createTypedArrayList(SharedLibraryInfo.CREATOR)); in SharedLibraryInfo() [all …]
|
D | SharedLibraryInfo.aidl | 18 parcelable SharedLibraryInfo;
|
D | ApplicationInfo.java | 912 public List<SharedLibraryInfo> sharedLibraryInfos; 1729 sharedLibraryInfos = source.createTypedArrayList(SharedLibraryInfo.CREATOR); in ApplicationInfo()
|
D | PackageManager.java | 4617 public abstract @NonNull List<SharedLibraryInfo> getSharedLibraries( in getSharedLibraries() 4634 public abstract @NonNull List<SharedLibraryInfo> getSharedLibrariesAsUser( in getSharedLibrariesAsUser() 4649 public List<SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String packageName, in getDeclaredSharedLibraries()
|
D | PackageParser.java | 6553 public ArrayList<SharedLibraryInfo> usesLibraryInfos = null; 7094 usesLibraryInfos = dest.createTypedArrayList(SharedLibraryInfo.CREATOR); in Package()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptUtilsTest.java | 26 import android.content.pm.SharedLibraryInfo; 111 private List<SharedLibraryInfo> createMockSharedLibrary(String [] sharedLibrary) { in createMockSharedLibrary() 112 SharedLibraryInfo info = new SharedLibraryInfo(null, null, Arrays.asList(sharedLibrary), in createMockSharedLibrary() 113 null, 0L, SharedLibraryInfo.TYPE_STATIC, null, null, null); in createMockSharedLibrary() 114 ArrayList<SharedLibraryInfo> libraries = new ArrayList<>(); in createMockSharedLibrary() 122 List<SharedLibraryInfo> sharedLibrary = in testSplitChain() 143 List<SharedLibraryInfo> sharedLibrary = in testSplitChainNoSplitDependencies() 215 List<SharedLibraryInfo> sharedLibrary = in testSplitChainWithNullPrimaryClassLoader() 237 List<SharedLibraryInfo> sharedLibrary = in tesNoSplits() 249 List<SharedLibraryInfo> sharedLibrary = in tesNoSplitsNullClassLoaderName() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 20 import android.content.pm.SharedLibraryInfo; 146 public void createAndCacheNonBootclasspathSystemClassLoaders(SharedLibraryInfo[] libs) { in createAndCacheNonBootclasspathSystemClassLoaders() 153 for (SharedLibraryInfo lib : libs) { in createAndCacheNonBootclasspathSystemClassLoaders() 164 private void createAndCacheNonBootclasspathSystemClassLoader(SharedLibraryInfo lib) { in createAndCacheNonBootclasspathSystemClassLoader() 166 List<SharedLibraryInfo> dependencies = lib.getDependencies(); in createAndCacheNonBootclasspathSystemClassLoader() 172 for (SharedLibraryInfo dependency : dependencies) { in createAndCacheNonBootclasspathSystemClassLoader()
|
D | LoadedApk.java | 32 import android.content.pm.SharedLibraryInfo; 404 List<SharedLibraryInfo> sharedLibraries, ApplicationInfo aInfo, in appendSharedLibrariesLibPathsIfNeeded() 410 for (SharedLibraryInfo lib : sharedLibraries) { in appendSharedLibrariesLibPathsIfNeeded() 669 ClassLoader createSharedLibraryLoader(SharedLibraryInfo sharedLibrary, in createSharedLibraryLoader() 686 private List<ClassLoader> createSharedLibrariesLoaders(List<SharedLibraryInfo> sharedLibraries, in createSharedLibrariesLoaders() 692 for (SharedLibraryInfo info : sharedLibraries) { in createSharedLibrariesLoaders()
|
D | ApplicationPackageManager.java | 58 import android.content.pm.SharedLibraryInfo; 521 public @NonNull List<SharedLibraryInfo> getSharedLibraries(int flags) { in getSharedLibraries() 528 public @NonNull List<SharedLibraryInfo> getSharedLibrariesAsUser(int flags, int userId) { in getSharedLibrariesAsUser() 530 ParceledListSlice<SharedLibraryInfo> sharedLibs = mPM.getSharedLibraries( in getSharedLibrariesAsUser() 543 public List<SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String packageName, in getDeclaredSharedLibraries() 546 ParceledListSlice<SharedLibraryInfo> sharedLibraries = mPM.getDeclaredSharedLibraries( in getDeclaredSharedLibraries()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptUtils.java | 20 import android.content.pm.SharedLibraryInfo; 70 List<SharedLibraryInfo> sharedLibraries, boolean[] pathsWithCode) { in getClassLoaderContexts() 179 public static String getClassLoaderContext(SharedLibraryInfo info) { in getClassLoaderContext() 234 private static String encodeSharedLibrary(SharedLibraryInfo sharedLibrary) { in encodeSharedLibrary() 245 private static String encodeSharedLibraries(List<SharedLibraryInfo> sharedLibraries) { in encodeSharedLibraries() 248 for (SharedLibraryInfo info : sharedLibraries) { in encodeSharedLibraries()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 24 import android.content.pm.SharedLibraryInfo; 360 SharedLibraryInfo hidlBase = new SharedLibraryInfo( in cacheNonBootClasspathClassLoaders() 362 null /*codePaths*/, null /*name*/, 0 /*version*/, SharedLibraryInfo.TYPE_BUILTIN, in cacheNonBootClasspathClassLoaders() 364 SharedLibraryInfo hidlManager = new SharedLibraryInfo( in cacheNonBootClasspathClassLoaders() 366 null /*codePaths*/, null /*name*/, 0 /*version*/, SharedLibraryInfo.TYPE_BUILTIN, in cacheNonBootClasspathClassLoaders() 370 SharedLibraryInfo androidTestBase = new SharedLibraryInfo( in cacheNonBootClasspathClassLoaders() 372 null /*codePaths*/, null /*name*/, 0 /*version*/, SharedLibraryInfo.TYPE_BUILTIN, in cacheNonBootClasspathClassLoaders() 376 new SharedLibraryInfo[]{ in cacheNonBootClasspathClassLoaders()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ScanTests.java | 19 import static android.content.pm.SharedLibraryInfo.TYPE_DYNAMIC; 20 import static android.content.pm.SharedLibraryInfo.TYPE_STATIC; 21 import static android.content.pm.SharedLibraryInfo.VERSION_UNDEFINED; 44 import android.content.pm.SharedLibraryInfo; 251 final SharedLibraryInfo dynamicLib0 = scanResult.dynamicSharedLibraryInfos.get(0); in installDynamicLibraries() 264 final SharedLibraryInfo dynamicLib1 = scanResult.dynamicSharedLibraryInfos.get(1); in installDynamicLibraries()
|
D | PackageParserTest.java | 34 import android.content.pm.SharedLibraryInfo; 505 new SharedLibraryInfo(null, null, null, null, 0L, 0, null, null, null)); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 190 import android.content.pm.SharedLibraryInfo; 924 final ArrayMap<String, LongSparseArray<SharedLibraryInfo>> mSharedLibraries = new ArrayMap<>(); 925 final ArrayMap<String, LongSparseArray<SharedLibraryInfo>> mStaticLibsByDeclaringPackage = 2665 long undefinedVersion = SharedLibraryInfo.VERSION_UNDEFINED; in PackageManagerService() 2671 final SharedLibraryInfo dependency = in PackageManagerService() 3216 SharedLibraryInfo.VERSION_UNDEFINED); in PackageManagerService() 3219 SharedLibraryInfo.VERSION_UNDEFINED); in PackageManagerService() 3638 SharedLibraryInfo libraryInfo = getSharedLibraryInfoLPr(name, version); 4343 final SharedLibraryInfo libraryInfo = getSharedLibraryInfoLPr(ps.pkg.staticSharedLibName, 4816 final LongSparseArray<SharedLibraryInfo> versionedLib [all …]
|
D | PackageDexOptimizer.java | 45 import android.content.pm.SharedLibraryInfo; 157 final List<SharedLibraryInfo> sharedLibraries = pkg.usesLibraryInfos; in performDexOptLI()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 45 import android.content.pm.SharedLibraryInfo; 83 public List<SharedLibraryInfo> getSharedLibraries(@InstallFlags int flags) { in getSharedLibraries() 88 public List<SharedLibraryInfo> getSharedLibrariesAsUser(@InstallFlags int flags, in getSharedLibrariesAsUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 27 import android.content.pm.SharedLibraryInfo; 363 public List<SharedLibraryInfo> getSharedLibraries(int flags) { in getSharedLibraries() 368 public List<SharedLibraryInfo> getSharedLibrariesAsUser(int flags, int userId) { in getSharedLibrariesAsUser()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 45 import android.content.pm.SharedLibraryInfo; 912 public @NonNull List<SharedLibraryInfo> getSharedLibraries(int flags) { in getSharedLibraries() 918 public @NonNull List<SharedLibraryInfo> getSharedLibrariesAsUser(int flags, int userId) { in getSharedLibrariesAsUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 59 import android.content.pm.SharedLibraryInfo; 2207 List<SharedLibraryInfo> slibs = pm.getSharedLibraries(0); 2208 Collections.sort(slibs, Comparator.comparing(SharedLibraryInfo::getName));
|
/frameworks/base/test-mock/api/ |
D | current.txt | 255 …method @Deprecated @NonNull public java.util.List<android.content.pm.SharedLibraryInfo> getSharedL…
|
/frameworks/base/api/ |
D | removed.txt | 168 public final class SharedLibraryInfo implements android.os.Parcelable {
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 168 public final class SharedLibraryInfo implements android.os.Parcelable {
|
/frameworks/base/config/ |
D | preloaded-classes | 979 android.content.pm.SharedLibraryInfo$1 980 android.content.pm.SharedLibraryInfo
|
D | boot-image-profile.txt | 1740 HSPLandroid/app/LoadedApk;->createSharedLibraryLoader(Landroid/content/pm/SharedLibraryInfo;ZLjava/… 4523 HSPLandroid/content/pm/SharedLibraryInfo$1;-><init>()V 4524 HSPLandroid/content/pm/SharedLibraryInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/… 4525 HSPLandroid/content/pm/SharedLibraryInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 4526 HSPLandroid/content/pm/SharedLibraryInfo;-><init>(Landroid/os/Parcel;)V 4527 HSPLandroid/content/pm/SharedLibraryInfo;->addDependency(Landroid/content/pm/SharedLibraryInfo;)V 4528 …ntent/pm/SharedLibraryInfo;->createForDynamic(Landroid/content/pm/PackageParser$Package;Ljava/lang… 4529 …ndroid/content/pm/SharedLibraryInfo;->createForStatic(Landroid/content/pm/PackageParser$Package;)L… 4530 HSPLandroid/content/pm/SharedLibraryInfo;->getAllCodePaths()Ljava/util/List; 4531 HSPLandroid/content/pm/SharedLibraryInfo;->getLongVersion()J [all …]
|