Home
last modified time | relevance | path

Searched refs:jAddress (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
Dutil.cpp25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) in parse() argument
27 if (!jAddress) { in parse()
35 const char *address = env->GetStringUTFChars(jAddress, NULL); in parse()
46 env->ReleaseStringUTFChars(jAddress, address); in parse()
54 env->ReleaseStringUTFChars(jAddress, address); in parse()
58 env->ReleaseStringUTFChars(jAddress, address); in parse()
DRtpStream.cpp32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
38 jint create(JNIEnv *env, jobject thiz, jstring jAddress) in create() argument
43 if (parse(env, jAddress, 0, &ss) < 0) { in create()
DAudioGroup.cpp56 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
/frameworks/base/core/jni/
Dandroid_media_AudioDeviceAttributes.cpp39 ScopedLocalRef<jstring> jAddress(env, env->NewStringUTF(devTypeAddr->getAddress())); in createAudioDeviceAttributesFromNative() local
43 jNativeType, jAddress.get()); in createAudioDeviceAttributesFromNative()
53 jstring jAddress = (jstring)env->GetObjectField(jAudioDeviceAttributes, in createAudioDeviceTypeAddrFromJava() local
55 devTypeAddr->setAddress(ScopedUtfChars(env, jAddress).c_str()); in createAudioDeviceTypeAddrFromJava()
Dandroid_media_MicrophoneInfo.cpp53 jstring jAddress = NULL; in convertMicrophoneInfoFromNative() local
60 jAddress = env->NewStringUTF(microphoneInfo->getAddress().c_str()); in convertMicrophoneInfoFromNative()
116 microphoneInfo->getType(), jAddress, in convertMicrophoneInfoFromNative()
131 if (jAddress != NULL) { in convertMicrophoneInfoFromNative()
132 env->DeleteLocalRef(jAddress); in convertMicrophoneInfoFromNative()
Dandroid_media_AudioSystem.cpp1513 jstring jAddress = env->NewStringUTF(nAudioPort->ext.device.address); in convertAudioPortFromNative() local
1522 jAudioProfiles, jGains, nAudioPort->ext.device.type, jAddress, in convertAudioPortFromNative()
1524 env->DeleteLocalRef(jAddress); in convertAudioPortFromNative()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp218 static bool modifyAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, in modifyAddress() argument
223 const char *address = jAddress ? env->GetStringUTFChars(jAddress, NULL) : NULL; in modifyAddress()
247 env->ReleaseStringUTFChars(jAddress, address); in modifyAddress()
341 static bool addAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, in addAddress() argument
344 return modifyAddress(env, thiz, jName, jAddress, jPrefixLength, true); in addAddress()
347 static bool delAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, in delAddress() argument
350 return modifyAddress(env, thiz, jName, jAddress, jPrefixLength, false); in delAddress()