Home
last modified time | relevance | path

Searched refs:typeName (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/tools/preload/
DRecord.java167 String vmTypeToLanguage(String typeName) { in vmTypeToLanguage() argument
171 if ("(null)".equals(typeName)) { in vmTypeToLanguage()
172 return typeName; in vmTypeToLanguage()
175 if (!typeName.startsWith("L") || !typeName.endsWith(";") ) { in vmTypeToLanguage()
176 throw new AssertionError("Bad name: " + typeName + " in line " + sourceLineNumber); in vmTypeToLanguage()
179 typeName = typeName.substring(1, typeName.length() - 1); in vmTypeToLanguage()
180 return typeName.replace("/", "."); in vmTypeToLanguage()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java110 static int interpretType(String typeName) { in interpretType() argument
111 if ("unset".equals(typeName)) { in interpretType()
113 } else if ("boolean".equals(typeName)) { in interpretType()
115 } else if ("byte".equals(typeName)) { in interpretType()
117 } else if ("short".equals(typeName)) { in interpretType()
119 } else if ("int".equals(typeName)) { in interpretType()
121 } else if ("long".equals(typeName)) { in interpretType()
123 } else if ("float".equals(typeName)) { in interpretType()
125 } else if ("double".equals(typeName)) { in interpretType()
127 } else if ("String".equals(typeName)) { in interpretType()
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp41 string typeName; member
61 set<string> domainSet, set<string> variantSet, string typeName,
65 void setRoleProperties(string roleName, bool isEncoder, int32_t order, string typeName,
72 void checkRoleMap(int32_t index, bool isEncoder, string typeName, string codecName,
176 set<string> variantSet, string typeName, in setCodecProperties() argument
185 pair<string, MediaCodecsXmlParser::AttributeMap>(typeName, AttributeMapDB)); in setCodecProperties()
200 string typeName, string codecName, in setRoleProperties() argument
204 roleProperty.typeName = typeName; in setRoleProperties()
254 void XMLParseTest::checkRoleMap(int32_t index, bool isEncoder, string typeName, string codecName, in checkRoleMap() argument
258 ASSERT_EQ(typeName, mInputRoleVector.at(index).typeName) in checkRoleMap()
/frameworks/rs/
Drsg_generator.c65 fprintf(f, "%s", vt->typeName); in printVarType()
171 if (api->sync || api->ret.typeName[0]) { in hasInlineDataPointers()
221 if (api->ret.typeName[0]) { in printApiCpp()
255 if (api->ret.typeName[0]) { in printApiCpp()
270 if (!api->ret.typeName[0]) { in printApiCpp()
320 if (api->ret.typeName[0] || api->sync) { in printApiCpp()
329 } else if (api->ret.typeName[0]) { in printApiCpp()
352 if (api->ret.typeName[0]) { in printApiCpp()
410 if (api->ret.typeName[0]) { in printPlaybackCpp()
422 vt->name, vt->typeName, vt->name); in printPlaybackCpp()
[all …]
Dspec.l33 sprintf(currType->typeName, "%s", "size_t"); in checkPointerType()
167 memcpy(currType->typeName, yytext, yyleng);
Dspec.h19 char typeName[256]; member
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp149 const hidl_string& typeName = role.type; in buildMediaCodecList() local
214 info->addMediaType(typeName.c_str()); in buildMediaCodecList()
216 node, typeName.c_str(), isEncoder, caps.get()) != OK) { in buildMediaCodecList()
218 typeName.c_str(), nodeName.c_str()); in buildMediaCodecList()
219 info->removeMediaType(typeName.c_str()); in buildMediaCodecList()
/frameworks/base/core/java/android/net/
DNetworkInfo.java168 @Nullable String typeName, @Nullable String subtypeName) { in NetworkInfo() argument
175 mTypeName = typeName; in NetworkInfo()
608 String typeName = in.readString();
610 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeName, subtypeName);
/frameworks/native/cmds/rawbu/
Dbackup.cpp545 const char* typeName = "?"; in restore_data() local
548 typeName = "dir"; in restore_data()
562 typeName = "file"; in restore_data()
596 typeName, path, statBuffer.st_mode, strerror(errno)); in restore_data()
603 typeName, path, (int)statBuffer.st_uid, (int)statBuffer.st_gid, strerror(errno)); in restore_data()
613 typeName, path, strerror(errno)); in restore_data()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java75 final String typeName = ConnectivityManager.getNetworkTypeName(type); in NetworkAgentWrapper() local
76 mNetworkInfo = new NetworkInfo(type, 0, typeName, "Mock"); in NetworkAgentWrapper()
104 mLogTag = "Mock-" + typeName; in NetworkAgentWrapper()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp130 const string& typeName = type->getName(); in writeTypeSpecification() local
143 *file << "struct " << typeName << " _RS_OBJECT_DECL" << attribute; in writeTypeSpecification()
190 *file << " " << typeName << ";\n"; in writeTypeSpecification()
DGenerateRSFunctionsList.cpp62 static string findSubstitute(const string& typeName, unsigned int apiLevel, int intSize) { in findSubstitute() argument
64 const auto type = types.find(typeName); in findSubstitute()
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h88 std::string typeName; member
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentRecord.java178 return "Key{" + typeName() + " pkg=" + packageName in toString()
185 String typeName() { in typeName() method in PendingIntentRecord.Key
499 pw.print(" type="); pw.print(key.typeName()); in dump()
549 sb.append(key.typeName()); in toString()
/frameworks/base/core/java/android/view/
DViewStructure.java54 public abstract void setId(int id, String packageName, String typeName, String entryName); in setId() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp487 std::string typeName = getXmlAttribute(cur, Attributes::type); in deserialize() local
488 if (typeName.empty()) { in deserialize()
492 ALOGV("%s: %s %s=%s", __func__, tag, Attributes::type, typeName.c_str()); in deserialize()
503 if (!deviceFromString(typeName, type) || in deserialize()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp394 std::string typeName = getXmlAttribute(child, Attributes::type); in deserialize() local
395 if (typeName.empty()) { in deserialize()
399 ALOGV("%s: %s = %s", __FUNCTION__, Attributes::type, typeName.c_str()); in deserialize()
401 criteria.push_back({name, typeName, defaultValue}); in deserialize()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1471 const auto& typeName = type.first; in generateRoleMap() local
1472 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap()
1476 typeName.data()); in generateRoleMap()
1485 roleProperties.type = typeName; in generateRoleMap()
1495 if (roleIterator->second.type != typeName) { in generateRoleMap()
1499 typeName.data()); in generateRoleMap()
/frameworks/base/libs/protoutil/include/android/util/
DProtoOutputStream.h171 bool internalWrite(uint64_t fieldId, T val, const char* typeName);
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java515 @NonNull String typeName, in requirePackedIntToBeInt()
523 typeName, in requirePackedIntToBeInt()
/frameworks/base/tools/aapt/
DResourceTable.cpp266 const String16& typeName, const String16& ident, int type, in appendTypeInfo() argument
275 outTable->appendTypeComment(pkg, typeName, ident, fullMsg); in appendTypeInfo()
281 outTable->appendTypeComment(pkg, typeName, ident, in appendTypeInfo()
1200 String16 typeName; in compileResourceFile() local
1206 typeName = String16(block.getAttributeStringValue(typeIdx, &len)); in compileResourceFile()
1216 outTable->canAddEntry(srcPos, myPackage, typeName, name); in compileResourceFile()
2930 const String16 typeName(t->getName()); in flatten() local
2931 typeStrings.add(typeName, false); in flatten()
2936 String8 configTypeName(typeName); in flatten()
2950 if (typeName == mipmap16 && !isBase) { in flatten()
[all …]
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp57 ProtoOutputStream::internalWrite(uint64_t fieldId, T val, const char* typeName) in internalWrite() argument
95 (fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT, typeName); in internalWrite()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java182 String typeName = argType.getBaseType(); in emitFunctionCall() local
183 typeName = typeName.substring(9, typeName.length() - 6); in emitFunctionCall()
184 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),"); in emitFunctionCall()
/frameworks/av/camera/
DVendorTagDescriptor.cpp344 const char* typeName = (type >= 0 && type < NUM_TYPES) ? in dump() local
347 "", tag, name.string(), type, typeName, sectionName.string()); in dump()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp192 if (configCriterionType.name == criterion.typeName) { in loadAudioPolicyEngineConfig()

12