/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 210 for (String dexPath : dexPathsToRegister) { in notifyDexLoadInternal() 212 DexSearchResult searchResult = getDexPackage(loadingAppInfo, dexPath, loaderUserId); in notifyDexLoadInternal() 216 + " loads from " + searchResult + " : " + loaderUserId + " : " + dexPath); in notifyDexLoadInternal() 237 mDynamicCodeLogger.recordDex(loaderUserId, dexPath, in notifyDexLoadInternal() 249 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal() 258 Slog.i(TAG, "Could not find owning package for dex file: " + dexPath); in notifyDexLoadInternal() 473 String dexPath = entry.getKey(); in dexoptSecondaryDex() local 494 int result = pdo.dexOptSecondaryDexPath(pkg.applicationInfo, dexPath, in dexoptSecondaryDex() 518 String dexPath = entry.getKey(); in reconcileSecondaryDexFiles() local 544 FileUtils.contains(info.deviceProtectedDataDir, dexPath)) { in reconcileSecondaryDexFiles() [all …]
|
D | PackageDexUsage.java | 127 /* package */ boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument 146 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record() 153 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 165 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record() 172 DexUseInfo existingData = packageUseInfo.mDexUseInfoMap.get(dexPath); in record() 176 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 192 + " dex path " + dexPath + " from " + existingData.mOwnerUserId in record() 289 String dexPath = dEntry.getKey(); in write() local 291 fpw.println(DEX_LINE_CHAR + dexPath); in write() 364 String dexPath = line.substring(DEX_LINE_CHAR.length()); in read() local [all …]
|
D | DynamicCodeLogger.java | 210 void recordDex(int loaderUserId, String dexPath, String owningPackageName, in recordDex() argument 212 if (mPackageDynamicCodeLoading.record(owningPackageName, dexPath, in recordDex()
|
D | DexoptUtils.java | 384 String dexPath = loadedDexPaths[i]; in processContextForDexLoad() local 388 currentLoadedDexPathClasspath = encodeClasspath(currentLoadedDexPathClasspath, dexPath); in processContextForDexLoad()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ClassLoaderFactory.java | 80 public static ClassLoader createClassLoader(String dexPath, in createClassLoader() argument 87 return new PathClassLoader(dexPath, librarySearchPath, parent, arrayOfSharedLibraries); in createClassLoader() 89 return new DelegateLastClassLoader(dexPath, librarySearchPath, parent, in createClassLoader() 100 public static ClassLoader createClassLoader(String dexPath, in createClassLoader() argument 103 return createClassLoader(dexPath, librarySearchPath, libraryPermittedPath, in createClassLoader() 111 public static ClassLoader createClassLoader(String dexPath, in createClassLoader() argument 116 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent, in createClassLoader() 125 dexPath); in createClassLoader() 142 String dexPath); in createClassloaderNamespace() argument
|
/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 | 265 void addPath(ClassLoader classLoader, String dexPath) { in addPath() argument 270 baseDexClassLoader.addDexPath(dexPath); in addPath()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ClassLoaderFactory.cpp | 31 jstring dexPath) { in createClassloaderNamespace_native() argument 34 dexPath, in createClassloaderNamespace_native()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 173 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 175 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 193 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 195 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 208 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 210 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 223 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 225 dexPath, "com.wrong", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 292 private void whenFileIsHashed(String dexPath, Stubber stubber) throws Exception { in whenFileIsHashed() argument 294 dexPath, OWNING_PACKAGE_NAME, OWNER_UID, VOLUME_UUID, STORAGE_FLAGS); in whenFileIsHashed() 297 private void recordLoad(String loadingPackageName, String dexPath) { in recordLoad() argument 299 OWNER_USER_ID, dexPath, OWNING_PACKAGE_NAME, loadingPackageName); in recordLoad()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 94 boolean reconcileSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in reconcileSecondaryDexFile() argument 98 byte[] hashSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in hashSecondaryDexFile() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 553 public byte[] hashSecondaryDexFile(String dexPath, String packageName, int uid, in hashSecondaryDexFile() argument 556 BlockGuard.getVmPolicy().onPathAccess(dexPath); in hashSecondaryDexFile() 558 return mInstalld.hashSecondaryDexFile(dexPath, packageName, uid, volumeUuid, flags); in hashSecondaryDexFile()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 142 binder::Status reconcileSecondaryDexFile(const std::string& dexPath, 145 binder::Status hashSecondaryDexFile(const std::string& dexPath,
|
D | InstalldNativeService.cpp | 2720 const std::string& dexPath, const std::string& packageName, int32_t uid, in reconcileSecondaryDexFile() argument 2726 CHECK_ARGUMENT_PATH(dexPath); in reconcileSecondaryDexFile() 2730 dexPath, packageName, uid, isas, volumeUuid, storage_flag, _aidl_return); in reconcileSecondaryDexFile() 2735 const std::string& dexPath, const std::string& packageName, int32_t uid, in hashSecondaryDexFile() argument 2741 CHECK_ARGUMENT_PATH(dexPath); in hashSecondaryDexFile() 2747 dexPath, packageName, uid, volumeUuid, storageFlag, _aidl_return); in hashSecondaryDexFile()
|