/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapDaemon.java | 107 String createIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in createIdmap() argument 110 return mService.createIdmap(targetPath, overlayPath, policies, enforce, userId); in createIdmap() 114 boolean removeIdmap(String overlayPath, int userId) throws TimeoutException, RemoteException { in removeIdmap() argument 116 return mService.removeIdmap(overlayPath, userId); in removeIdmap() 120 boolean verifyIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in verifyIdmap() argument 124 return mService.verifyIdmap(targetPath, overlayPath, policies, enforce, userId); in verifyIdmap() 128 boolean idmapExists(String overlayPath, int userId) { in idmapExists() argument 130 return new File(mService.getIdmapPath(overlayPath, userId)).isFile(); in idmapExists() 132 Slog.wtf(TAG, "failed to check if idmap exists for " + overlayPath + ": " in idmapExists()
|
D | IdmapManager.java | 74 final String overlayPath = overlayPackage.applicationInfo.getBaseCodePath(); in createIdmap() local 78 if (mIdmapDaemon.verifyIdmap(targetPath, overlayPath, policies, enforce, userId)) { in createIdmap() 81 return mIdmapDaemon.createIdmap(targetPath, overlayPath, policies, in createIdmap() 85 + overlayPath + ": " + e.getMessage()); in createIdmap()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTestsBase.java | 396 String createIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in createIdmap() argument 398 mIdmapFiles.put(overlayPath, new IdmapHeader(getCrc(targetPath), in createIdmap() 399 getCrc(overlayPath), targetPath, policies, enforce)); in createIdmap() 400 return overlayPath; in createIdmap() 404 boolean removeIdmap(String overlayPath, int userId) { in removeIdmap() argument 405 return mIdmapFiles.remove(overlayPath) != null; in removeIdmap() 409 boolean verifyIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in verifyIdmap() argument 411 final IdmapHeader idmap = mIdmapFiles.get(overlayPath); in verifyIdmap() 415 return idmap.isUpToDate(getCrc(targetPath), getCrc(overlayPath), targetPath, policies, in verifyIdmap() 420 boolean idmapExists(String overlayPath, int userId) { in idmapExists() argument [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_om_OverlayConfig.cpp | 33 jobjectArray overlayPath, jobjectArray policies, in createIdmap() argument 48 for (size_t i = 0, count = env->GetArrayLength(overlayPath); i < count; ++i) { in createIdmap() 49 jstring element = (jstring) env->GetObjectArrayElement(overlayPath, i); in createIdmap()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 256 String8 overlayPath; in addOverlayPath() local 258 NULL, NULL, NULL, &targetPath, &overlayPath)) { in addOverlayPath() 265 if (overlayPath != packagePath) { in addOverlayPath() 267 idmapPath.string(), packagePath.string(), overlayPath.string()); in addOverlayPath() 278 if (access(overlayPath.string(), R_OK) != 0) { in addOverlayPath() 279 ALOGW("failed to access file %s: %s\n", overlayPath.string(), strerror(errno)); in addOverlayPath() 284 oap.path = overlayPath; in addOverlayPath() 285 oap.type = ::getFileType(overlayPath.string()); in addOverlayPath() 289 targetPath.string(), overlayPath.string(), idmapPath.string()); in addOverlayPath()
|
D | ResourceTypes.cpp | 7124 const char* targetPath, const char* overlayPath, in createIdmap() argument 7127 if (targetPath == NULL || overlayPath == NULL || outData == NULL || outSize == NULL) { in createIdmap() 7135 if (strlen(overlayPath) > 255) { in createIdmap() 7230 pathLen = strlen(overlayPath); in createIdmap() 7232 *charData++ = i < pathLen ? overlayPath[i] : '\0'; // write: overlay path in createIdmap()
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfig.java | 407 @NonNull String[] overlayPath, @NonNull String[] policies, boolean enforceOverlayable); in createIdmap() argument
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 2144 const char* targetPath, const char* overlayPath,
|