Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/jni/
H A 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()
H A Dandroid_media_MicrophoneInfo.cpp65 jstring jAddress = NULL; in convertMicrophoneInfoFromNative() local
73 jAddress = env->NewStringUTF(micInfo.address); in convertMicrophoneInfoFromNative()
112 micInfo.device, jAddress, micInfo.location, micInfo.group, in convertMicrophoneInfoFromNative()
120 if (jAddress != NULL) { in convertMicrophoneInfoFromNative()
121 env->DeleteLocalRef(jAddress); in convertMicrophoneInfoFromNative()
H A Dandroid_media_AudioSystem.cpp1532 jstring jAddress = env->NewStringUTF(nAudioPort->ext.device.address); in convertAudioPortFromNative() local
1541 jAudioProfiles, jGains, nAudioPort->ext.device.type, jAddress, in convertAudioPortFromNative()
1543 env->DeleteLocalRef(jAddress); in convertAudioPortFromNative()
/aosp14/frameworks/base/services/core/jni/
H A 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()