Home
last modified time | relevance | path

Searched refs:typeStr (Results 1 – 14 of 14) 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()
370 if (typeStr) { in android_media_AudioEffect_native_setup()
371 env->ReleaseStringUTFChars(type, typeStr); in android_media_AudioEffect_native_setup()
372 typeStr = NULL; in android_media_AudioEffect_native_setup()
414 if (typeStr != NULL) { in android_media_AudioEffect_native_setup()
415 env->ReleaseStringUTFChars(type, typeStr); in android_media_AudioEffect_native_setup()
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp60 AudioEffect::AudioEffect(const char *typeStr, in AudioEffect() argument
77 ALOGV("Constructor string\n - type: %s\n - uuid: %s", typeStr, uuidStr); in AudioEffect()
79 if (typeStr != NULL) { in AudioEffect()
80 if (stringToGuid(typeStr, &type) == NO_ERROR) { in AudioEffect()
470 status_t AudioEffect::addSourceDefaultEffect(const char *typeStr, in addSourceDefaultEffect() argument
480 if (typeStr == NULL && uuidStr == NULL) return BAD_VALUE; in addSourceDefaultEffect()
484 if (typeStr != NULL) { in addSourceDefaultEffect()
485 status_t res = stringToGuid(typeStr, &type); in addSourceDefaultEffect()
502 status_t AudioEffect::addStreamDefaultEffect(const char *typeStr, in addStreamDefaultEffect() argument
512 if (typeStr == NULL && uuidStr == NULL) return BAD_VALUE; in addStreamDefaultEffect()
[all …]
/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/base/media/jni/
Dandroid_media_MediaCodecList.cpp240 const char *typeStr = env->GetStringUTFChars(type, NULL); in android_media_MediaCodecList_getCodecCapabilities() local
241 if (typeStr == NULL) { in android_media_MediaCodecList_getCodecCapabilities()
250 defaultFormat->setString("mime", typeStr); in android_media_MediaCodecList_getCodecCapabilities()
254 info.info->getCapabilitiesFor(typeStr); in android_media_MediaCodecList_getCodecCapabilities()
255 env->ReleaseStringUTFChars(type, typeStr); in android_media_MediaCodecList_getCodecCapabilities()
256 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,
384 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/p2p/
DSupplicantP2pIfaceHal.java2103 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() argument
2105 Matcher match = WPS_DEVICE_TYPE_PATTERN.matcher(typeStr); in setWpsDeviceType()
2107 Log.e(TAG, "Malformed WPS device type " + typeStr); in setWpsDeviceType()
2122 "setWpsDeviceType(" + typeStr + ")"); in setWpsDeviceType()
2132 Log.e(TAG, "Illegal argument " + typeStr, e); in setWpsDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1387 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() argument
1390 Matcher match = WPS_DEVICE_TYPE_PATTERN.matcher(typeStr); in setWpsDeviceType()
1392 Log.e(TAG, "Malformed WPS device type " + typeStr); in setWpsDeviceType()
1406 Log.e(TAG, "Illegal argument " + typeStr, e); in setWpsDeviceType()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4708 char typeStr[5]; in addProperty_l() local
4709 MakeFourCCString(prop.type, typeStr); in addProperty_l()
4710 ALOGV("addProperty_l: %s", typeStr); in addProperty_l()
/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/base/libs/androidfw/
DResourceTypes.cpp3476 StringPoolRef typeStr; member
4305 outName->type8 = entry.typeStr.string8(&outName->typeLen); in getResourceName()
4312 outName->type = entry.typeStr.string16(&outName->typeLen); in getResourceName()
6556 …outEntry->typeStr = StringPoolRef(&bestPackage->typeStrings, actualTypeIndex - bestPackage->typeId… in getEntry()