Home
last modified time | relevance | path

Searched refs:keyValuePairs (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp80 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) in android_media_AudioSystem_setParameters() argument
82 const jchar* c_keyValuePairs = env->GetStringCritical(keyValuePairs, 0); in android_media_AudioSystem_setParameters()
84 if (keyValuePairs) { in android_media_AudioSystem_setParameters()
85 c_keyValuePairs8 = String8(c_keyValuePairs, env->GetStringLength(keyValuePairs)); in android_media_AudioSystem_setParameters()
86 env->ReleaseStringCritical(keyValuePairs, c_keyValuePairs); in android_media_AudioSystem_setParameters()
/frameworks/base/media/libmedia/
DAudioParameter.cpp33 AudioParameter::AudioParameter(const String8& keyValuePairs) in AudioParameter() argument
35 char *str = new char[keyValuePairs.length()+1]; in AudioParameter()
36 mKeyValuePairs = keyValuePairs; in AudioParameter()
38 strcpy(str, keyValuePairs.string()); in AudioParameter()
DIAudioFlinger.cpp318 virtual status_t setParameters(int ioHandle, const String8& keyValuePairs) in setParameters() argument
323 data.writeString8(keyValuePairs); in setParameters()
807 String8 keyValuePairs(data.readString8()); in onTransact() local
808 reply->writeInt32(setParameters(ioHandle, keyValuePairs)); in onTransact()
DAudioSystem.cpp167 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) { in setParameters() argument
170 return af->setParameters(ioHandle, keyValuePairs); in setParameters()
/frameworks/base/include/media/
DAudioParameter.h30 AudioParameter(const String8& keyValuePairs);
DIAudioFlinger.h105 virtual status_t setParameters(int ioHandle, const String8& keyValuePairs) = 0;
DAudioSystem.h75 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
/frameworks/base/services/audioflinger/
DAudioPolicyService.h126 const char *keyValuePairs,
175 … status_t parametersCommand(int ioHandle, const char *keyValuePairs, int delayMs = 0);
DAudioPolicyService.cpp845 const char *keyValuePairs, in parametersCommand() argument
854 data->mKeyValuePairs = String8(keyValuePairs); in parametersCommand()
864 keyValuePairs, ioHandle, delayMs); in parametersCommand()
1011 const char *keyValuePairs, in setParameters() argument
1014 mAudioCommandThread->parametersCommand((int)ioHandle, keyValuePairs, in setParameters()
DAudioFlinger.cpp729 status_t AudioFlinger::setParameters(int ioHandle, const String8& keyValuePairs) in setParameters() argument
734 ioHandle, keyValuePairs.string(), gettid(), IPCThreadState::self()->getCallingPid()); in setParameters()
747 result = dev->set_parameters(dev, keyValuePairs.string()); in setParameters()
752 AudioParameter param = AudioParameter(keyValuePairs); in setParameters()
789 AudioParameter param = AudioParameter(keyValuePairs); in setParameters()
793 mRecordThreads.valueAt(i)->setParameters(keyValuePairs); in setParameters()
799 result = thread->setParameters(keyValuePairs); in setParameters()
1030 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters() argument
1034 LOGV("ThreadBase::setParameters() %s", keyValuePairs.string()); in setParameters()
1037 mNewParameters.add(keyValuePairs); in setParameters()
DAudioFlinger.h113 virtual status_t setParameters(int ioHandle, const String8& keyValuePairs);
424 virtual status_t setParameters(const String8& keyValuePairs);
/frameworks/base/media/java/android/media/
DAudioSystem.java120 public static native int setParameters(String keyValuePairs); in setParameters() argument
DAudioManager.java1287 public void setParameters(String keyValuePairs) { in setParameters() argument
1288 AudioSystem.setParameters(keyValuePairs); in setParameters()