/frameworks/base/core/java/android/content/pm/dex/ |
H A D | ArtManagerInternal.java | 17 package android.content.pm.dex;
|
H A D | PackageOptimizationInfo.java | 17 package android.content.pm.dex;
|
H A D | DexMetadataHelper.java | 17 package android.content.pm.dex; 38 * Helper class used to compute and validate the location of dex metadata files. 47 /** Return true if the given file is a dex metadata file. */ 52 /** Return true if the given path is a dex metadata path. */ 58 * Return the size (in bytes) of all dex metadata files associated with the given package. 70 * Search for the dex metadata file associated with the given target file. 71 * If it exists, the method returns the dex metadata file; otherwise it returns null. 84 * Return the dex metadata files for the given package as a map 85 * [code path -> dex metadata path]. 94 * Return the dex metadat [all...] |
H A D | ArtManager.java | 17 package android.content.pm.dex; 162 extends android.content.pm.dex.ISnapshotRuntimeProfileCallback.Stub {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | DexoptOptionsTests.java | 17 package com.android.server.pm.dex;
|
H A D | DexLoggerTests.java | 17 package com.android.server.pm.dex; 48 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo; 49 import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo;
|
H A D | DexoptUtilsTest.java | 17 package com.android.server.pm.dex; 62 ai.setBaseCodePath(codeDir + "/base.dex"); 74 codeDir + "/base-1.dex", 75 codeDir + "/base-2.dex", 76 codeDir + "/base-3.dex", 77 codeDir + "/base-4.dex", 78 codeDir + "/base-5.dex", 79 codeDir + "/base-6.dex", 80 codeDir + "/config-split-7.dex", 81 codeDir + "/feature-no-deps.dex"}); [all...] |
H A D | DexManagerTests.java | 17 package com.android.server.pm.dex; 63 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo; 64 import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo; 127 // The main dex file and splits are re-loaded by the app. 225 // Bar from User1 tries to load secondary dex files from User0 Bar. 268 // Packages should be able to find their own dex files even if the notification about 348 // secondary dex info. 362 // Foo should not be around since all its secondary dex info were deleted 382 // Load a dex file from framework. 384 // The dex fil [all...] |
H A D | PackageDexUsageTests.java | 17 package com.android.server.pm.dex; 45 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo; 46 import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo; 85 fooDataDir + "sec-1.dex", 0, isa, false, false, fooPackageName); 88 fooDataDir + "sec-1.dex", 1, isa, false, false, fooPackageName); 91 fooDataDir + "sec-2.dex", 0, isa, true, false, "used.by.other.com"); 104 barDataDir + "sec-1.dex", 0, isa, false, false, barPackageName); 106 barDataDir1 + "sec-2.dex", 1, isa, false, false, barPackageName); 384 // Record a secondary dex file. 388 "PCL[new_context.dex]"); [all...] |
/frameworks/base/tests/DexLoggerIntegrationTests/src/com/android/server/pm/dex/ |
H A D | DexLoggerIntegrationTests.java | 17 package com.android.server.pm.dex; 45 * Integration tests for {@link com.android.server.pm.dex.DexLogger}. 48 * from our assets (a secondary dex file). 50 * We then use adb to trigger secondary dex file reconcilation (and 122 "cmd package reconcile-secondary-dex-files " + PACKAGE_NAME);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
H A D | DexMetadataHelperTest.java | 17 package android.content.pm.dex;
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | DexLogger.java | 17 package com.android.server.pm.dex; 37 import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo; 40 * This class is responsible for logging data about secondary dex files. 69 * Compute and log hashes of the name and content of a secondary dex file. 82 Slog.e(TAG, "Got InstallerException when hashing dex " + dexPath +
|
H A D | DexoptOptions.java | 17 package com.android.server.pm.dex; 30 // Currently this only affects the optimization of primary apks. Secondary dex files 41 // When set, the dexopt invocation will optimize only the secondary dex files. If false, dexopt 45 // When set, dexopt will optimize only dex files that are used by other apps. 53 // When set, dexopt will compile the dex file as a shared library even if it is not actually 63 // should get the dex metdata file if present.
|
H A D | DexoptUtils.java | 17 package com.android.server.pm.dex; 45 * at runtime. The context will be encoded in the compiled code. If at runtime the dex file is 281 * Compute the class loader context for the dex files present in the classpath of the first 283 * Each dex files gets its own class loader context in the returned array. 287 * "dalvik.system.PathClassLoader"} and classPaths = {"foo.dex:bar.dex", "other.dex"} 289 * {"DLC[];PCL[other.dex]", "DLC[foo.dex];PCL[other.dex]"} [all...] |
H A D | ArtManagerService.java | 17 package com.android.server.pm.dex; 27 import android.content.pm.dex.ArtManager; 28 import android.content.pm.dex.ArtManager.ProfileType; 29 import android.content.pm.dex.ArtManagerInternal; 30 import android.content.pm.dex.DexMetadataHelper; 31 import android.content.pm.dex.ISnapshotRuntimeProfileCallback; 32 import android.content.pm.dex.PackageOptimizationInfo; 78 public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub { 390 * - copy the profiles from the associated dex metadata file to the reference profile.
|
H A D | DexManager.java | 17 package com.android.server.pm.dex; 59 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo; 60 import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo; 63 * This class keeps track of how dex files are used. 64 * Every time it gets a notification about a dex file being loaded it tracks 65 * its owning package and records it in PackageDexUsage (package-dex-usage.list). 83 // faster lookups (no locks) when finding what package owns the dex file. 88 // encode and save the dex usage data. 98 // Possible outcomes of a dex search. 99 private static int DEX_SEARCH_NOT_FOUND = 0; // dex fil [all...] |
H A D | PackageDexUsage.java | 17 package com.android.server.pm.dex; 52 * Stat file which store usage information about dex files. 60 // - the list of packages that load the dex files 61 // - class loader contexts for secondary dex files 75 // One of the things we record about dex files is the class loader context that was used to 77 // Instead we put a special marker in the dex usage file in order to recognize the case and 78 // skip optimizations on that dex files. 84 // The markers used for unknown class loader contexts. This can happen if the dex file was 91 // secondary dex files.). 97 super("package-dex [all...] |
/frameworks/multidex/library/src/androidx/multidex/ |
H A D | MultiDex.java | 45 * loader} in order to load classes from more than one dex file. The primary 46 * {@code classes.dex} must contain the classes necessary for calling this 47 * class methods. Secondary dex files named classes2.dex, classes3.dex... found 53 * nothing on newer versions of the platform which provide built-in support for secondary dex files. 83 * Patches the application context class loader by appending extra dex files 127 * Patches the instrumentation context class loader by appending extra dex files 269 Log.w(TAG, "Failed to install extracted secondary dex files, retrying with " 294 * dex fil 571 newInstance(File file, DexFile dex) argument 590 newInstance(File file, DexFile dex) argument 613 newInstance(File file, DexFile dex) argument 636 newInstance(File file, DexFile dex) argument [all...] |