/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 182 String dexPath = mapping.getKey(); in notifyDexLoadInternal() local 184 DexSearchResult searchResult = getDexPackage(loadingAppInfo, dexPath, loaderUserId); in notifyDexLoadInternal() 188 + " loads from " + searchResult + " : " + loaderUserId + " : " + dexPath); in notifyDexLoadInternal() 209 mDynamicCodeLogger.recordDex(loaderUserId, dexPath, in notifyDexLoadInternal() 221 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal() 230 Slog.i(TAG, "Could not find owning package for dex file: " + dexPath); in notifyDexLoadInternal() 444 String dexPath = entry.getKey(); in dexoptSecondaryDex() local 465 int result = pdo.dexOptSecondaryDexPath(pkg.applicationInfo, dexPath, in dexoptSecondaryDex() 489 String dexPath = entry.getKey(); in reconcileSecondaryDexFiles() local 515 FileUtils.contains(info.deviceProtectedDataDir, dexPath)) { in reconcileSecondaryDexFiles() [all …]
|
D | PackageDexUsage.java | 128 /* package */ boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument 150 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record() 157 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 169 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record() 176 DexUseInfo existingData = packageUseInfo.mDexUseInfoMap.get(dexPath); in record() 180 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record() 196 + " dex path " + dexPath + " from " + existingData.mOwnerUserId in record() 293 String dexPath = dEntry.getKey(); in write() local 295 fpw.println(DEX_LINE_CHAR + dexPath); in write() 368 String dexPath = line.substring(DEX_LINE_CHAR.length()); in read() local [all …]
|
D | DynamicCodeLogger.java | 211 void recordDex(int loaderUserId, String dexPath, String owningPackageName, in recordDex() argument 213 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() 128 dexPath, in createClassLoader() 146 String dexPath, in createClassloaderNamespace() argument
|
/frameworks/base/core/java/android/app/ |
D | DexLoadReporter.java | 125 for (String dexPath : dexPaths) { in registerSecondaryDexForProfiling() 126 registerSecondaryDexForProfiling(dexPath, dataDirs); in registerSecondaryDexForProfiling() 130 private void registerSecondaryDexForProfiling(String dexPath, String[] dataDirs) { in registerSecondaryDexForProfiling() argument 131 if (!isSecondaryDexFile(dexPath, dataDirs)) { in registerSecondaryDexForProfiling() 139 File dexPathFile = new File(dexPath); in registerSecondaryDexForProfiling() 160 Slog.e(TAG, "Failed to create profile for secondary dex " + dexPath in registerSecondaryDexForProfiling() 168 VMRuntime.registerAppInfo(secondaryProfile.getPath(), new String[] { dexPath }); in registerSecondaryDexForProfiling() 173 private boolean isSecondaryDexFile(String dexPath, String[] dataDirs) { in isSecondaryDexFile() argument 175 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 35 dexPath, in createClassloaderNamespace_native()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 172 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 174 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 192 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 194 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 207 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 209 dexPath, "com.example", 10000, testUuid, FLAG_STORAGE_CE, &result)); in TEST_F() 222 std::string dexPath = get_full_path("com.example/foo/file"); in TEST_F() local 224 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 | 96 boolean reconcileSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in reconcileSecondaryDexFile() argument 100 byte[] hashSecondaryDexFile(@utf8InCpp String dexPath, @utf8InCpp String pkgName, in hashSecondaryDexFile() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 546 public byte[] hashSecondaryDexFile(String dexPath, String packageName, int uid, in hashSecondaryDexFile() argument 549 BlockGuard.getVmPolicy().onPathAccess(dexPath); in hashSecondaryDexFile() 551 return mInstalld.hashSecondaryDexFile(dexPath, packageName, uid, volumeUuid, flags); in hashSecondaryDexFile()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 148 binder::Status reconcileSecondaryDexFile(const std::string& dexPath, 151 binder::Status hashSecondaryDexFile(const std::string& dexPath,
|
D | InstalldNativeService.cpp | 2895 const std::string& dexPath, const std::string& packageName, int32_t uid, in reconcileSecondaryDexFile() argument 2901 CHECK_ARGUMENT_PATH(dexPath); in reconcileSecondaryDexFile() 2905 dexPath, packageName, uid, isas, volumeUuid, storage_flag, _aidl_return); in reconcileSecondaryDexFile() 2910 const std::string& dexPath, const std::string& packageName, int32_t uid, in hashSecondaryDexFile() argument 2916 CHECK_ARGUMENT_PATH(dexPath); in hashSecondaryDexFile() 2922 dexPath, packageName, uid, volumeUuid, storageFlag, _aidl_return); in hashSecondaryDexFile()
|