Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dobb.cpp38 void AObbInfo_delete(AObbInfo* obbInfo) { in AObbInfo_delete() argument
39 if (obbInfo != NULL) { in AObbInfo_delete()
40 obbInfo->decStrong((void*)AObbScanner_getObbInfo); in AObbInfo_delete()
44 const char* AObbInfo_getPackageName(AObbInfo* obbInfo) { in AObbInfo_getPackageName() argument
45 return obbInfo->getPackageName(); in AObbInfo_getPackageName()
48 int32_t AObbInfo_getVersion(AObbInfo* obbInfo) { in AObbInfo_getVersion() argument
49 return obbInfo->getVersion(); in AObbInfo_getVersion()
52 int32_t AObbInfo_getFlags(AObbInfo* obbInfo) { in AObbInfo_getFlags() argument
53 return obbInfo->getFlags(); in AObbInfo_getFlags()
/frameworks/base/core/java/android/content/res/
DObbScanner.java54 ObbInfo obbInfo = new ObbInfo(); in getObbInfo() local
55 obbInfo.filename = canonicalFilePath; in getObbInfo()
56 getObbInfo_native(canonicalFilePath, obbInfo); in getObbInfo()
58 return obbInfo; in getObbInfo()
61 private native static void getObbInfo_native(String filePath, ObbInfo obbInfo) in getObbInfo_native() argument
/frameworks/base/native/include/android/
Dobb.h42 void AObbInfo_delete(AObbInfo* obbInfo);
47 const char* AObbInfo_getPackageName(AObbInfo* obbInfo);
52 int32_t AObbInfo_getVersion(AObbInfo* obbInfo);
57 int32_t AObbInfo_getFlags(AObbInfo* obbInfo);
/frameworks/base/core/jni/
Dandroid_content_res_ObbScanner.cpp40 jobject obbInfo) in android_content_res_ObbScanner_getObbInfo() argument
61 env->SetObjectField(obbInfo, gObbInfoClassInfo.packageName, packageName); in android_content_res_ObbScanner_getObbInfo()
62 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion()); in android_content_res_ObbScanner_getObbInfo()
63 env->SetIntField(obbInfo, gObbInfoClassInfo.flags, obb->getFlags()); in android_content_res_ObbScanner_getObbInfo()
70 env->SetObjectField(obbInfo, gObbInfoClassInfo.salt, saltArray); in android_content_res_ObbScanner_getObbInfo()
/frameworks/base/services/java/com/android/server/
DMountService.java2210 ObbInfo obbInfo; in getObbInfo() local
2212 obbInfo = mContainerService.getObbInfo(mObbState.filename); in getObbInfo()
2216 obbInfo = null; in getObbInfo()
2218 if (obbInfo == null) { in getObbInfo()
2221 return obbInfo; in getObbInfo()
2250 final ObbInfo obbInfo = getObbInfo(); in handleExecute() local
2252 if (!isUidOwnerOfPackageOrSystem(obbInfo.packageName, mObbState.callerUid)) { in handleExecute()
2253 Slog.w(TAG, "Denied attempt to mount OBB " + obbInfo.filename in handleExecute()
2254 + " which is owned by " + obbInfo.packageName); in handleExecute()
2261 isMounted = mObbPathToStateMap.containsKey(obbInfo.filename); in handleExecute()
[all …]