Searched defs:defType (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java199 public int getIdentifier(String name, String defType, String defPackage) { argument
/frameworks/base/core/java/android/content/res/
H A DResources.java1616 * two components (package and type) are optional if defType and
1623 * @param defType Optional default resource type to find, if "type/" is
1633 public int getIdentifier(String name, String defType, String defPackage) { argument
1639 return mAssets.getResourceIdentifier(name, defType, defPackage);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp552 jstring defType,
565 const char16_t* defType16 = defType
566 ? env->GetStringChars(defType, NULL) : NULL;
567 jsize defTypeLen = defType
568 ? env->GetStringLength(defType) : 0;
581 env->ReleaseStringChars(defType, defType16);
550 android_content_AssetManager_getResourceIdentifier(JNIEnv* env, jobject clazz, jstring name, jstring defType, jstring defPackage) argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp1904 const String16* defType,
1909 defType, defPackage ? defPackage:&mAssetsPackage, NULL)) {
2041 const String16* defType,
2050 defType, defPackage ? defPackage:&mAssetsPackage,
2054 NOISY(printf("Expanding resource: defType=%s\n",
2055 defType ? String8(*defType).string() : "NULL"));
1903 hasBagOrEntry(const String16& ref, const String16* defType, const String16* defPackage) argument
2040 getResId(const String16& ref, const String16* defType, const String16* defPackage, const char** outErrorMsg, bool onlyPublic) const argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp3756 const String16* defType,
3802 if (!defType) {
3808 *outType = *defType;
4064 const String16* defType,
4173 defType, defPackage, &errorMsg)) {
3752 expandResourceRef(const uint16_t* refStr, size_t refLen, String16* outPackage, String16* outType, String16* outName, const String16* defType, const String16* defPackage, const char** outErrorMsg, bool* outPublicOnly) argument
4060 stringToValue(Res_value* outValue, String16* outString, const char16_t* s, size_t len, bool preserveSpaces, bool coerceType, uint32_t attrID, const String16* defType, const String16* defPackage, Accessor* accessor, void* accessorCookie, uint32_t attrType, bool enforcePrivate) const argument

Completed in 266 milliseconds