Home
last modified time | relevance | path

Searched refs:idmapPath (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java107 private boolean isDangerous(@NonNull final String idmapPath) { in isDangerous() argument
108 try (DataInputStream dis = new DataInputStream(new FileInputStream(idmapPath))) { in isDangerous()
/frameworks/base/libs/androidfw/
DAssetManager.cpp222 const String8 idmapPath = idmapPathForPackagePath(packagePath); in addOverlayPath() local
227 if (mAssetPaths[i].idmap == idmapPath) { in addOverlayPath()
234 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
235 ALOGW("failed to open idmap file %s\n", idmapPath.string()); in addOverlayPath()
243 ALOGW("failed to read idmap file %s\n", idmapPath.string()); in addOverlayPath()
251 idmapPath.string(), packagePath.string(), overlayPath.string()); in addOverlayPath()
258 if (access(idmapPath.string(), R_OK) != 0) { in addOverlayPath()
259 ALOGW("failed to access file %s: %s\n", idmapPath.string(), strerror(errno)); in addOverlayPath()
270 oap.idmap = idmapPath; in addOverlayPath()
273 targetPath.string(), overlayPath.string(), idmapPath.string()); in addOverlayPath()
/frameworks/base/core/java/android/content/res/
DAssetManager.java712 public final int addOverlayPath(String idmapPath) { in addOverlayPath() argument
714 int res = addOverlayPathNative(idmapPath); in addOverlayPath()
725 public native final int addOverlayPathNative(String idmapPath); in addOverlayPathNative() argument
/frameworks/base/core/java/android/app/
DResourcesManager.java295 for (final String idmapPath : key.mOverlayDirs) { in createAssetManager()
296 assets.addOverlayPath(idmapPath); in createAssetManager()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp553 jstring idmapPath) in android_content_AssetManager_addOverlayPath() argument
555 ScopedUtfChars idmapPath8(env, idmapPath); in android_content_AssetManager_addOverlayPath()