/frameworks/base/core/java/android/app/ |
H A D | DexLoadReporter.java | 144 for (String dexPath : dexPaths) { 145 registerSecondaryDexForProfiling(dexPath, dataDirs); 149 private void registerSecondaryDexForProfiling(String dexPath, String[] dataDirs) { argument 150 if (!isSecondaryDexFile(dexPath, dataDirs)) { 158 File dexPathFile = new File(dexPath); 179 Slog.e(TAG, "Failed to create profile for secondary dex " + dexPath 187 VMRuntime.registerAppInfo(secondaryProfile.getPath(), new String[] { dexPath }); 192 private boolean isSecondaryDexFile(String dexPath, String[] dataDirs) { argument 194 if (FileUtils.contains(dataDir, dexPath)) {
|
H A D | ApplicationLoaders.java | 118 void addPath(ClassLoader classLoader, String dexPath) { argument 123 baseDexClassLoader.addDexPath(dexPath);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ClassLoaderFactory.java | 70 public static ClassLoader createClassLoader(String dexPath, argument 73 return new PathClassLoader(dexPath, librarySearchPath, parent); 75 return new DelegateLastClassLoader(dexPath, librarySearchPath, parent); 84 public static ClassLoader createClassLoader(String dexPath, argument 88 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent, 92 for (String path : dexPath.split(":")) {
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | DexLogger.java | 73 String dexPath, int storageFlags) { 79 hash = mInstaller.hashSecondaryDexFile(dexPath, appInfo.packageName, 82 Slog.e(TAG, "Got InstallerException when hashing dex " + dexPath + 90 String dexFileName = new File(dexPath).getName(); 72 onReconcileSecondaryDexFile(ApplicationInfo appInfo, DexUseInfo dexUseInfo, String dexPath, int storageFlags) argument
|
H A D | DexManager.java | 119 * Invoked just before the secondary dex file {@code dexPath} for the specified application 123 String dexPath, int storageFlags); 196 for (String dexPath : dexPathsToRegister) { 198 DexSearchResult searchResult = getDexPackage(loadingAppInfo, dexPath, loaderUserId); 202 + " loads from " + searchResult + " : " + loaderUserId + " : " + dexPath); 231 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, 239 Slog.i(TAG, "Could not find owning package for dex file: " + dexPath); 434 String dexPath = entry.getKey(); 455 int result = pdo.dexOptSecondaryDexPath(pkg.applicationInfo, dexPath, 479 String dexPath 122 onReconcileSecondaryDexFile(ApplicationInfo appInfo, DexUseInfo dexUseInfo, String dexPath, int storageFlags) argument 545 registerDexModule(ApplicationInfo info, String dexPath, boolean isUsedByOtherApps, int userId) argument 605 getDexPackage( ApplicationInfo loadingAppInfo, String dexPath, int userId) argument 853 searchDex(String dexPath, int userId) argument [all...] |
H A D | PackageDexUsage.java | 108 * @param dexPath the path of the dex files being loaded 119 public boolean record(String owningPackageName, String dexPath, int ownerUserId, argument 138 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, 145 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); 157 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); 164 DexUseInfo existingData = packageUseInfo.mDexUseInfoMap.get(dexPath); 167 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); 180 + " dex path " + dexPath + " from " + existingData.mOwnerUserId 277 String dexPath = dEntry.getKey(); 279 fpw.println(DEX_LINE_CHAR + dexPath); [all...] |
/frameworks/native/cmds/installd/tests/ |
H A D | installd_service_test.cpp | 164 std::string dexPath = get_full_path("com.example/foo/file"); local 166 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); 184 std::string dexPath = get_full_path("com.example/foo/file"); local 186 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); 199 std::string dexPath = get_full_path("com.example/foo/file"); local 201 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); 214 std::string dexPath = get_full_path("com.example/foo/file"); local 216 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk());
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Installer.java | 523 public byte[] hashSecondaryDexFile(String dexPath, String packageName, int uid, argument 527 return mInstalld.hashSecondaryDexFile(dexPath, packageName, uid, volumeUuid, flags);
|
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 2551 const std::string& dexPath, const std::string& packageName, int32_t uid, 2557 CHECK_ARGUMENT_PATH(dexPath); 2561 dexPath, packageName, uid, isas, volumeUuid, storage_flag, _aidl_return); 2566 const std::string& dexPath, const std::string& packageName, int32_t uid, 2572 CHECK_ARGUMENT_PATH(dexPath); 2578 dexPath, packageName, uid, volumeUuid, storageFlag, _aidl_return); 2550 reconcileSecondaryDexFile( const std::string& dexPath, const std::string& packageName, int32_t uid, const std::vector<std::string>& isas, const std::unique_ptr<std::string>& volumeUuid, int32_t storage_flag, bool* _aidl_return) argument 2565 hashSecondaryDexFile( const std::string& dexPath, const std::string& packageName, int32_t uid, const std::unique_ptr<std::string>& volumeUuid, int32_t storageFlag, std::vector<uint8_t>* _aidl_return) argument
|