Home
last modified time | relevance | path

Searched refs:typeStr (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_StreamDefaultEffect.cpp47 const char *typeStr = NULL; in android_media_StreamDefaultEffect_native_setup() local
53 typeStr = env->GetStringUTFChars(type, NULL); in android_media_StreamDefaultEffect_native_setup()
54 if (typeStr == NULL) { // Out of memory in android_media_StreamDefaultEffect_native_setup()
70 if (typeStr == NULL && uuidStr == NULL) { in android_media_StreamDefaultEffect_native_setup()
84 lStatus = AudioEffect::addStreamDefaultEffect(typeStr, in android_media_StreamDefaultEffect_native_setup()
110 if (typeStr != NULL) { in android_media_StreamDefaultEffect_native_setup()
111 env->ReleaseStringUTFChars(type, typeStr); in android_media_StreamDefaultEffect_native_setup()
112 typeStr = NULL; in android_media_StreamDefaultEffect_native_setup()
Dandroid_media_SourceDefaultEffect.cpp47 const char *typeStr = NULL; in android_media_SourceDefaultEffect_native_setup() local
53 typeStr = env->GetStringUTFChars(type, NULL); in android_media_SourceDefaultEffect_native_setup()
54 if (typeStr == NULL) { // Out of memory in android_media_SourceDefaultEffect_native_setup()
70 if (typeStr == NULL && uuidStr == NULL) { in android_media_SourceDefaultEffect_native_setup()
84 lStatus = AudioEffect::addSourceDefaultEffect(typeStr, in android_media_SourceDefaultEffect_native_setup()
110 if (typeStr != NULL) { in android_media_SourceDefaultEffect_native_setup()
111 env->ReleaseStringUTFChars(type, typeStr); in android_media_SourceDefaultEffect_native_setup()
112 typeStr = NULL; in android_media_SourceDefaultEffect_native_setup()
Dandroid_media_AudioEffect.cpp280 const char *typeStr = NULL; in android_media_AudioEffect_native_setup() local
291 typeStr = env->GetStringUTFChars(type, NULL); in android_media_AudioEffect_native_setup()
292 if (typeStr == NULL) { // Out of memory in android_media_AudioEffect_native_setup()
306 if (typeStr == NULL && uuidStr == NULL) { in android_media_AudioEffect_native_setup()
340 lpAudioEffect = new AudioEffect(typeStr, in android_media_AudioEffect_native_setup()
372 if (typeStr) { in android_media_AudioEffect_native_setup()
373 env->ReleaseStringUTFChars(type, typeStr); in android_media_AudioEffect_native_setup()
374 typeStr = NULL; in android_media_AudioEffect_native_setup()
422 if (typeStr != NULL) { in android_media_AudioEffect_native_setup()
423 env->ReleaseStringUTFChars(type, typeStr); in android_media_AudioEffect_native_setup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
DNonEAPInnerAuth.java81 public static int getAuthTypeID(String typeStr) { in getAuthTypeID() argument
82 if (AUTH_TYPE_MAP.containsKey(typeStr)) { in getAuthTypeID()
83 return AUTH_TYPE_MAP.get(typeStr).intValue(); in getAuthTypeID()
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp61 AudioEffect::AudioEffect(const char *typeStr, in AudioEffect() argument
79 ALOGV("Constructor string\n - type: %s\n - uuid: %s", typeStr, uuidStr); in AudioEffect()
81 if (typeStr != NULL) { in AudioEffect()
82 if (stringToGuid(typeStr, &type) == NO_ERROR) { in AudioEffect()
499 status_t AudioEffect::addSourceDefaultEffect(const char *typeStr, in addSourceDefaultEffect() argument
509 if (typeStr == NULL && uuidStr == NULL) return BAD_VALUE; in addSourceDefaultEffect()
513 if (typeStr != NULL) { in addSourceDefaultEffect()
514 status_t res = stringToGuid(typeStr, &type); in addSourceDefaultEffect()
531 status_t AudioEffect::addStreamDefaultEffect(const char *typeStr, in addStreamDefaultEffect() argument
541 if (typeStr == NULL && uuidStr == NULL) return BAD_VALUE; in addStreamDefaultEffect()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp241 const char *typeStr = env->GetStringUTFChars(type, NULL); in android_media_MediaCodecList_getCodecCapabilities() local
242 if (typeStr == NULL) { in android_media_MediaCodecList_getCodecCapabilities()
251 defaultFormat->setString("mime", typeStr); in android_media_MediaCodecList_getCodecCapabilities()
255 info.info->getCapabilitiesFor(typeStr); in android_media_MediaCodecList_getCodecCapabilities()
256 env->ReleaseStringUTFChars(type, typeStr); in android_media_MediaCodecList_getCodecCapabilities()
257 typeStr = NULL; in android_media_MediaCodecList_getCodecCapabilities()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h203 static status_t addSourceDefaultEffect(const char* typeStr,
242 static status_t addStreamDefaultEffect(const char* typeStr,
388 AudioEffect(const char *typeStr,
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java642 String typeStr; in writeValueXml() local
659 typeStr = "int"; in writeValueXml()
661 typeStr = "long"; in writeValueXml()
663 typeStr = "float"; in writeValueXml()
665 typeStr = "double"; in writeValueXml()
667 typeStr = "boolean"; in writeValueXml()
713 out.startTag(null, typeStr); in writeValueXml()
718 out.endTag(null, typeStr); in writeValueXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java649 String typeStr; in writeValueXml() local
666 typeStr = "int"; in writeValueXml()
668 typeStr = "long"; in writeValueXml()
670 typeStr = "float"; in writeValueXml()
672 typeStr = "double"; in writeValueXml()
674 typeStr = "boolean"; in writeValueXml()
720 out.startTag(null, typeStr); in writeValueXml()
725 out.endTag(null, typeStr); in writeValueXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java2110 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() argument
2112 Matcher match = WPS_DEVICE_TYPE_PATTERN.matcher(typeStr); in setWpsDeviceType()
2114 Log.e(TAG, "Malformed WPS device type " + typeStr); in setWpsDeviceType()
2129 "setWpsDeviceType(" + typeStr + ")"); in setWpsDeviceType()
2139 Log.e(TAG, "Illegal argument " + typeStr, e); in setWpsDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1475 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() argument
1478 Matcher match = WPS_DEVICE_TYPE_PATTERN.matcher(typeStr); in setWpsDeviceType()
1480 Log.e(TAG, "Malformed WPS device type " + typeStr); in setWpsDeviceType()
1494 Log.e(TAG, "Illegal argument " + typeStr, e); in setWpsDeviceType()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1287 final String typeStr = getUserTypeNoChecks(userId); in getUserTypeDetailsNoChecks() local
1288 return typeStr != null ? mUserTypes.get(typeStr) : null; in getUserTypeDetailsNoChecks()
1295 final String typeStr = userInfo != null ? userInfo.userType : null; in getUserTypeDetails() local
1296 return typeStr != null ? mUserTypes.get(typeStr) : null; in getUserTypeDetails()
/frameworks/base/tools/aapt/
DResourceTable.cpp363 String16 typeStr = String16(block.getAttributeStringValue(typeIdx, &len)); in compileAttribute() local
364 attr.type = parse_flags(typeStr.string(), typeStr.size(), gFormatFlags); in compileAttribute()
367 String8(typeStr).string()); in compileAttribute()
DResource.cpp785 static sp<ResourceTable::ConfigList> findEntry(const String16& packageStr, const String16& typeStr, in findEntry() argument
789 sp<ResourceTable::Type> type = pkg->getTypes().valueFor(typeStr); in findEntry()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp5191 char typeStr[5]; in addProperty_l() local
5192 MakeFourCCString(prop.type, typeStr); in addProperty_l()
5193 ALOGV("addProperty_l: %s", typeStr); in addProperty_l()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3479 StringPoolRef typeStr; member
4308 outName->type8 = entry.typeStr.string8(&outName->typeLen); in getResourceName()
4315 outName->type = entry.typeStr.string16(&outName->typeLen); in getResourceName()
6559 …outEntry->typeStr = StringPoolRef(&bestPackage->typeStrings, actualTypeIndex - bestPackage->typeId… in getEntry()