Home
last modified time | relevance | path

Searched refs:typeName (Results 1 – 25 of 42) 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/layoutlib/create/src/com/android/tools/layoutlib/create/
DRefactorClassAdapter.java39 public String map(String typeName) { in map() argument
40 String newName = mRefactorClasses.get(typeName); in map()
44 int pos = typeName.indexOf('$'); in map()
46 newName = mRefactorClasses.get(typeName.substring(0, pos)); in map()
48 return newName + typeName.substring(pos); in map()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DFrameworkResources.java100 String typeName = null; in loadPublicResources() local
106 if (typeName != null) { in loadPublicResources()
111 typeName = parser.getAttributeValue(i); in loadPublicResources()
115 if (name != null && typeName != null) { in loadPublicResources()
117 if (typeName.equals(lastTypeName)) { in loadPublicResources()
120 type = ResourceType.fromXmlValue(typeName); in loadPublicResources()
122 lastTypeName = typeName; in loadPublicResources()
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DNdkCommon.h75 #define ENTRY_COPIER(keyName, typeName) \ argument
76 { keyName, AMediaFormatUtils::CopyFormatEntry##typeName, nullptr }
77 #define ENTRY_COPIER2(keyName, typeName, typeName2) \ argument
79 keyName, AMediaFormatUtils::CopyFormatEntry##typeName, \
/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/rs/
Drsg_generator.c65 fprintf(f, "%s", vt->typeName); in printVarType()
174 if (api->sync || api->ret.typeName[0]) { in hasInlineDataPointers()
224 if (api->ret.typeName[0]) { in printApiCpp()
258 if (api->ret.typeName[0]) { in printApiCpp()
273 if (!api->ret.typeName[0]) { in printApiCpp()
323 if (api->ret.typeName[0] || api->sync) { in printApiCpp()
332 } else if (api->ret.typeName[0]) { in printApiCpp()
355 if (api->ret.typeName[0]) { in printApiCpp()
413 if (api->ret.typeName[0]) { in printPlaybackCpp()
425 vt->name, vt->typeName, vt->name); in printPlaybackCpp()
[all …]
Dspec.h19 char typeName[256]; member
Dspec.l33 sprintf(currType->typeName, "%s", "size_t"); in checkPointerType()
167 memcpy(currType->typeName, yytext, yyleng);
/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,
248 set<string> variantSet, string typeName, in setCodecProperties() argument
257 pair<string, MediaCodecsXmlParser::AttributeMap>(typeName, AttributeMapDB)); in setCodecProperties()
272 string typeName, string codecName, in setRoleProperties() argument
276 roleProperty.typeName = typeName; in setRoleProperties()
326 void XMLParseTest::checkRoleMap(int32_t index, bool isEncoder, string typeName, string codecName, in checkRoleMap() argument
330 ASSERT_EQ(typeName, mInputRoleVector.at(index).typeName) in checkRoleMap()
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/
DMessageUtils.kt36 fun genericTypeKindFailure(typeName: CharSequence) = "TypeKind $typeName unsupported"
DImmutabilityProcessor.kt254 val typeName = returnType.toString() in <lambda>() constant
300 MessageUtils.genericTypeKindFailure(typeName = typeName) in <lambda>()
307 MessageUtils.genericTypeKindFailure(typeName = typeName) in <lambda>()
394 private fun ProcessingEnvironment.erasedType(typeName: String) = in <lambda>()
395 elementUtils.getTypeElement(typeName)?.asType()?.let(typeUtils::erasure) in <lambda>()
/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/services/core/java/com/android/server/pm/
DUserTypeFactory.java512 String typeName = parser.getAttributeValue(null, "name"); in customizeBuilders() local
513 if (typeName == null || typeName.equals("")) { in customizeBuilders()
519 typeName = typeName.intern(); in customizeBuilders()
522 if (typeName.startsWith("android.")) { in customizeBuilders()
524 Slog.i(LOG_TAG, "Customizing user type " + typeName); in customizeBuilders()
525 builder = builders.get(typeName); in customizeBuilders()
528 + typeName + ": Non-AOSP user types cannot start with 'android.'"); in customizeBuilders()
535 + "(" + typeName + "), which is type " in customizeBuilders()
540 Slog.i(LOG_TAG, "Creating custom user type " + typeName); in customizeBuilders()
542 builder.setName(typeName); in customizeBuilders()
[all …]
/frameworks/av/drm/libmediadrm/
DDrmMetricsConsumer.cpp35 std::string GetAttributeName(const std::string &typeName, uint32_t attribute) { in GetAttributeName() argument
36 if (typeName == "KeyStatusChange") { in GetAttributeName()
88 …const android::CounterMetric<T> &counter, const std::string &typeName, PersistableBundle *metrics)… in ExportCounterMetricWithAttributeNames() argument
95 GetAttributeName(typeName, attribute) + ".count"; in ExportCounterMetricWithAttributeNames()
/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/core/java/android/app/timedetector/
DTimeSuggestionHelper.java201 @NonNull PrintWriter pw, @NonNull String typeName, @NonNull Class<?> clazz) { in handlePrintCommandLineOpts() argument
202 pw.printf("%s suggestion options:\n", typeName); in handlePrintCommandLineOpts()
/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/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
DPackageVisibilityDetector.kt384 val typeName: String, in <lambda>() constant in com.google.android.lint.PackageVisibilityDetector.Parameter
393 fun create(typeName: String, parameterName: String) = in <lambda>()
394 Parameter(typeName, parameterName.lowercase()) in <lambda>()
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h94 std::string typeName; member
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp538 std::string typeName = getXmlAttribute(cur, Attributes::type); in deserialize() local
539 if (typeName.empty()) { in deserialize()
543 ALOGV("%s: %s %s=%s", __func__, tag, Attributes::type, typeName.c_str()); in deserialize()
553 if (mIgnoreVendorExtensions && maybeVendorExtension(typeName)) { in deserialize()
554 ALOGI("%s: vendor extension device type \"%s\" skipped", __func__, typeName.c_str()); in deserialize()
558 if (!DeviceConverter::fromString(typeName, type) || in deserialize()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java493 final String typeName = "android.test"; in testUserTypeFactoryCustomize_eraseArray() local
496 builders.put(typeName, new UserTypeDetails.Builder() in testUserTypeFactoryCustomize_eraseArray()
497 .setName(typeName) in testUserTypeFactoryCustomize_eraseArray()
506 UserTypeDetails typeDetails = builders.get(typeName).createUserTypeDetails(); in testUserTypeFactoryCustomize_eraseArray()
DUserManagerServiceUserInfoTest.java232 final String typeName = "A type"; in testIsUserOfType() local
233 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType()
235 assertTrue(mUserManagerService.isUserOfType(testId, typeName)); in testIsUserOfType()
/frameworks/base/libs/protoutil/include/android/util/
DProtoOutputStream.h172 bool internalWrite(uint64_t fieldId, T val, const char* typeName);
/frameworks/base/core/java/android/view/
DViewStructure.java114 public abstract void setId(int id, String packageName, String typeName, String entryName); in setId() argument

12