/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 123 String dexPath, int storageFlags); in onReconcileSecondaryDexFile() argument 196 for (String dexPath : dexPathsToRegister) { in notifyDexLoadInternal() 198 DexSearchResult searchResult = getDexPackage(loadingAppInfo, dexPath, loaderUserId); in notifyDexLoadInternal() 202 + " loads from " + searchResult + " : " + loaderUserId + " : " + dexPath); in notifyDexLoadInternal() 231 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal() 239 Slog.i(TAG, "Could not find owning package for dex file: " + dexPath); in notifyDexLoadInternal() 434 String dexPath = entry.getKey(); in dexoptSecondaryDex() local 455 int result = pdo.dexOptSecondaryDexPath(pkg.applicationInfo, dexPath, in dexoptSecondaryDex() 479 String dexPath = entry.getKey(); in reconcileSecondaryDexFiles() local 505 FileUtils.contains(info.deviceProtectedDataDir, dexPath)) { in reconcileSecondaryDexFiles() [all …]
|
D | DexLogger.java | 73 String dexPath, int storageFlags) { in onReconcileSecondaryDexFile() argument 79 hash = mInstaller.hashSecondaryDexFile(dexPath, appInfo.packageName, in onReconcileSecondaryDexFile() 82 Slog.e(TAG, "Got InstallerException when hashing dex " + dexPath + in onReconcileSecondaryDexFile() 90 String dexFileName = new File(dexPath).getName(); in onReconcileSecondaryDexFile()
|
D | PackageDexUsage.java | 119 public boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument 138 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record() 145 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 157 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record() 164 DexUseInfo existingData = packageUseInfo.mDexUseInfoMap.get(dexPath); in record() 167 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 180 + " dex path " + dexPath + " from " + existingData.mOwnerUserId in record() 277 String dexPath = dEntry.getKey(); in write() local 279 fpw.println(DEX_LINE_CHAR + dexPath); in write() 352 String dexPath = line.substring(DEX_LINE_CHAR.length()); in read() local [all …]
|
D | DexoptUtils.java | 338 String dexPath = loadedDexPaths[i]; in processContextForDexLoad() local 342 currentLoadedDexPathClasspath = encodeClasspath(currentLoadedDexPathClasspath, dexPath); in processContextForDexLoad()
|
/frameworks/base/core/java/android/app/ |
D | DexLoadReporter.java | 144 for (String dexPath : dexPaths) { in registerSecondaryDexForProfiling() 145 registerSecondaryDexForProfiling(dexPath, dataDirs); in registerSecondaryDexForProfiling() 149 private void registerSecondaryDexForProfiling(String dexPath, String[] dataDirs) { in registerSecondaryDexForProfiling() argument 150 if (!isSecondaryDexFile(dexPath, dataDirs)) { in registerSecondaryDexForProfiling() 158 File dexPathFile = new File(dexPath); in registerSecondaryDexForProfiling() 179 Slog.e(TAG, "Failed to create profile for secondary dex " + dexPath in registerSecondaryDexForProfiling() 187 VMRuntime.registerAppInfo(secondaryProfile.getPath(), new String[] { dexPath }); in registerSecondaryDexForProfiling() 192 private boolean isSecondaryDexFile(String dexPath, String[] dataDirs) { in isSecondaryDexFile() argument 194 if (FileUtils.contains(dataDir, dexPath)) { in isSecondaryDexFile()
|
D | ApplicationLoaders.java | 118 void addPath(ClassLoader classLoader, String dexPath) { in addPath() argument 123 baseDexClassLoader.addDexPath(dexPath); in addPath()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ClassLoaderFactory.java | 70 public static ClassLoader createClassLoader(String dexPath, in createClassLoader() argument 73 return new PathClassLoader(dexPath, librarySearchPath, parent); in createClassLoader() 75 return new DelegateLastClassLoader(dexPath, librarySearchPath, parent); in createClassLoader() 84 public static ClassLoader createClassLoader(String dexPath, in createClassLoader() argument 88 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent, in createClassLoader() 92 for (String path : dexPath.split(":")) { in createClassLoader()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 164 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 166 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F() 184 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 186 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F() 199 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 201 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F() 214 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 216 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result).isOk()); in TEST_F()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 92 boolean reconcileSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in reconcileSecondaryDexFile() argument 96 byte[] hashSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in hashSecondaryDexFile() argument
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 129 binder::Status reconcileSecondaryDexFile(const std::string& dexPath, 132 binder::Status hashSecondaryDexFile(const std::string& dexPath,
|
D | InstalldNativeService.cpp | 2551 const std::string& dexPath, const std::string& packageName, int32_t uid, in reconcileSecondaryDexFile() argument 2557 CHECK_ARGUMENT_PATH(dexPath); in reconcileSecondaryDexFile() 2561 dexPath, packageName, uid, isas, volumeUuid, storage_flag, _aidl_return); in reconcileSecondaryDexFile() 2566 const std::string& dexPath, const std::string& packageName, int32_t uid, in hashSecondaryDexFile() argument 2572 CHECK_ARGUMENT_PATH(dexPath); in hashSecondaryDexFile() 2578 dexPath, packageName, uid, volumeUuid, storageFlag, _aidl_return); in hashSecondaryDexFile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 523 public byte[] hashSecondaryDexFile(String dexPath, String packageName, int uid, in hashSecondaryDexFile() argument 527 return mInstalld.hashSecondaryDexFile(dexPath, packageName, uid, volumeUuid, flags); in hashSecondaryDexFile()
|