Home
last modified time | relevance | path

Searched refs:device_address (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp132 …etDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) in android_media_AudioSystem_setDeviceConnectionState() argument
134 const char *c_address = env->GetStringUTFChars(device_address, NULL); in android_media_AudioSystem_setDeviceConnectionState()
138 env->ReleaseStringUTFChars(device_address, c_address); in android_media_AudioSystem_setDeviceConnectionState()
143 …udioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) in android_media_AudioSystem_getDeviceConnectionState() argument
145 const char *c_address = env->GetStringUTFChars(device_address, NULL); in android_media_AudioSystem_getDeviceConnectionState()
148 env->ReleaseStringUTFChars(device_address, c_address); in android_media_AudioSystem_getDeviceConnectionState()
/frameworks/base/media/java/android/media/
DAudioSystem.java247 public static native int setDeviceConnectionState(int device, int state, String device_address); in setDeviceConnectionState() argument
248 public static native int getDeviceConnectionState(int device, String device_address); in getDeviceConnectionState() argument
/frameworks/base/include/media/
DIAudioPolicyService.h45 const char *device_address) = 0;
47 … const char *device_address) = 0;
DAudioSystem.h143 …onnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address);
144 …io_policy_dev_state_t getDeviceConnectionState(audio_devices_t device, const char *device_address);
/frameworks/base/media/libmedia/
DIAudioPolicyService.cpp71 const char *device_address) in setDeviceConnectionState() argument
77 data.writeCString(device_address); in setDeviceConnectionState()
84 const char *device_address) in getDeviceConnectionState() argument
89 data.writeCString(device_address); in getDeviceConnectionState()
378 const char *device_address = data.readCString(); in onTransact() local
381 device_address))); in onTransact()
389 const char *device_address = data.readCString(); in onTransact() local
391 device_address))); in onTransact()
DAudioSystem.cpp511 const char *device_address) in setDeviceConnectionState() argument
518 if (device_address != NULL) { in setDeviceConnectionState()
519 address = device_address; in setDeviceConnectionState()
526 const char *device_address) in getDeviceConnectionState() argument
531 return aps->getDeviceConnectionState(device, device_address); in getDeviceConnectionState()
/frameworks/base/services/audioflinger/
DAudioPolicyService.h58 const char *device_address);
61 const char *device_address);
DAudioPolicyService.cpp156 const char *device_address) in setDeviceConnectionState() argument
175 state, device_address); in setDeviceConnectionState()
180 const char *device_address) in getDeviceConnectionState() argument
186 device_address); in getDeviceConnectionState()