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/native/include/android/
Dobb.h53 void AObbInfo_delete(AObbInfo* obbInfo);
58 const char* AObbInfo_getPackageName(AObbInfo* obbInfo);
63 int32_t AObbInfo_getVersion(AObbInfo* obbInfo);
68 int32_t AObbInfo_getFlags(AObbInfo* obbInfo);
/frameworks/base/core/jni/
Dandroid_content_res_ObbScanner.cpp42 jobject obbInfo) in android_content_res_ObbScanner_getObbInfo() argument
63 env->SetObjectField(obbInfo, gObbInfoClassInfo.packageName, packageName); in android_content_res_ObbScanner_getObbInfo()
64 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion()); in android_content_res_ObbScanner_getObbInfo()
65 env->SetIntField(obbInfo, gObbInfoClassInfo.flags, obb->getFlags()); in android_content_res_ObbScanner_getObbInfo()
72 env->SetObjectField(obbInfo, gObbInfoClassInfo.salt, saltArray); in android_content_res_ObbScanner_getObbInfo()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3230 final ObbInfo obbInfo; in getObbInfo() local
3232 obbInfo = mContainerService.getObbInfo(mObbState.canonicalPath); in getObbInfo()
3236 if (obbInfo != null) { in getObbInfo()
3237 return obbInfo; in getObbInfo()
3276 final ObbInfo obbInfo = getObbInfo(); in handleExecute() local
3278 if (!isUidOwnerOfPackageOrSystem(obbInfo.packageName, mCallingUid)) { in handleExecute()
3280 + obbInfo.filename + " which is owned by " + obbInfo.packageName); in handleExecute()
3289 "Attempt to mount OBB which is already mounted: " + obbInfo.filename); in handleExecute()
3301 KeySpec ks = new PBEKeySpec(mKey.toCharArray(), obbInfo.salt, in handleExecute()