Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/signedconfig/
DGlobalSettingsConfigApplicator.java55 private static <K, V> Map<K, V> makeMap(Object... keyValuePairs) { in makeMap() argument
56 if (keyValuePairs.length % 2 != 0) { in makeMap()
59 final int len = keyValuePairs.length / 2; in makeMap()
62 m.put((K) keyValuePairs[i * 2], (V) keyValuePairs[(i * 2) + 1]); in makeMap()
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp57 AudioParameter::AudioParameter(const String8& keyValuePairs) in AudioParameter() argument
59 char *str = new char[keyValuePairs.length()+1]; in AudioParameter()
60 mKeyValuePairs = keyValuePairs; in AudioParameter()
63 strcpy(str, keyValuePairs.string()); in AudioParameter()
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
DSignedConfigTest.java53 private static <K, V> Map<K, V> mapOf(Object... keyValuePairs) { in mapOf() argument
54 if (keyValuePairs.length % 2 != 0) { in mapOf()
57 final int len = keyValuePairs.length / 2; in mapOf()
60 m.put((K) keyValuePairs[i * 2], (V) keyValuePairs[(i * 2) + 1]); in mapOf()
/frameworks/av/media/libaudioclient/
DIAudioTrack.cpp120 virtual status_t setParameters(const String8& keyValuePairs) { in setParameters() argument
123 data.writeString8(keyValuePairs); in setParameters()
252 String8 keyValuePairs(data.readString8()); in onTransact() local
253 reply->writeInt32(setParameters(keyValuePairs)); in onTransact()
DAudioSystem.cpp209 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
213 return af->setParameters(ioHandle, keyValuePairs); in setParameters()
226 status_t AudioSystem::setParameters(const String8& keyValuePairs) in setParameters() argument
228 return setParameters(AUDIO_IO_HANDLE_NONE, keyValuePairs); in setParameters()
DIAudioFlinger.cpp354 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
359 data.writeString8(keyValuePairs); in setParameters()
1189 String8 keyValuePairs(data.readString8()); in onTransact() local
1190 reply->writeInt32(setParameters(ioHandle, keyValuePairs)); in onTransact()
/frameworks/av/media/libaudioclient/include/media/
DIAudioTrack.h71 virtual status_t setParameters(const String8& keyValuePairs) = 0;
DAudioSystem.h104 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
107 static status_t setParameters(const String8& keyValuePairs);
DAudioTrack.h777 status_t setParameters(const String8& keyValuePairs);
DIAudioFlinger.h391 const String8& keyValuePairs) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp144 const String8& keyValuePairs, in setParameters() argument
147 mAudioPolicyService->setParameters(io_handle, keyValuePairs.string(), delay_ms); in setParameters()
DAudioPolicyService.h181 const char *keyValuePairs,
471 const char *keyValuePairs, int delayMs = 0);
678 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
DAudioPolicyService.cpp1396 const char *keyValuePairs, in parametersCommand() argument
1403 data->mKeyValuePairs = String8(keyValuePairs); in parametersCommand()
1407 keyValuePairs, ioHandle, delayMs); in parametersCommand()
1806 const char *keyValuePairs, in setParameters() argument
1809 mAudioCommandThread->parametersCommand(ioHandle, keyValuePairs, in setParameters()
/frameworks/av/media/libmediahelper/include/media/
DAudioParameter.h30 AudioParameter(const String8& keyValuePairs);
/frameworks/av/services/audioflinger/
DAudioFlinger.h171 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
625 virtual status_t setParameters(const String8& keyValuePairs);
772 void broacastParametersToRecordThreads_l(const String8& keyValuePairs);
775 audio_io_handle_t upStream, const String8& keyValuePairs,
917 void filterReservedParameters(String8& keyValuePairs, uid_t callingUid);
DAudioFlinger.cpp1419 void AudioFlinger::broacastParametersToRecordThreads_l(const String8& keyValuePairs) in broacastParametersToRecordThreads_l() argument
1422 mRecordThreads.valueAt(i)->setParameters(keyValuePairs); in broacastParametersToRecordThreads_l()
1435 audio_io_handle_t upStream, const String8& keyValuePairs, in forwardParametersToDownstreamPatches_l() argument
1445 downStream->setParameters(keyValuePairs); in forwardParametersToDownstreamPatches_l()
1453 void AudioFlinger::filterReservedParameters(String8& keyValuePairs, uid_t callingUid) in filterReservedParameters() argument
1474 AudioParameter param = AudioParameter(keyValuePairs); in filterReservedParameters()
1483 logFilteredParameters(param.size() + rejectedParam.size(), keyValuePairs, in filterReservedParameters()
1485 keyValuePairs = param.toString(); in filterReservedParameters()
1503 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
1506 ioHandle, keyValuePairs.string(), in setParameters()
[all …]
DThreads.h155 explicit SetParameterConfigEventData(String8 keyValuePairs) : in SetParameterConfigEventData() argument
156 mKeyValuePairs(keyValuePairs) {} in SetParameterConfigEventData()
167 explicit SetParameterConfigEvent(String8 keyValuePairs) : in SetParameterConfigEvent() argument
169 mData = new SetParameterConfigEventData(keyValuePairs); in SetParameterConfigEvent()
287 virtual status_t setParameters(const String8& keyValuePairs);
DPlaybackTracks.h108 status_t setParameters(const String8& keyValuePairs);
DTracks.cpp350 status_t AudioFlinger::TrackHandle::setParameters(const String8& keyValuePairs) { in setParameters() argument
351 return mTrack->setParameters(keyValuePairs); in setParameters()
1155 status_t AudioFlinger::PlaybackThread::Track::setParameters(const String8& keyValuePairs) in setParameters() argument
1163 return thread->setParameters(keyValuePairs); in setParameters()
/frameworks/av/media/ndk/include/media/
DNdkMediaDrm.h361 AMediaDrmKeyValue *keyValuePairs, size_t *numPairs) __INTRODUCED_IN(21);
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp567 AMediaDrmKeyValue *keyValuePairs, size_t *numPairs) { in AMediaDrm_queryKeyStatus() argument
592 keyValuePairs[i].mKey = mObj->mQueryResults.keyAt(i).string(); in AMediaDrm_queryKeyStatus()
593 keyValuePairs[i].mValue = mObj->mQueryResults.valueAt(i).string(); in AMediaDrm_queryKeyStatus()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h353 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp370 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) in android_media_AudioSystem_setParameters() argument
372 const jchar* c_keyValuePairs = env->GetStringCritical(keyValuePairs, 0); in android_media_AudioSystem_setParameters()
374 if (keyValuePairs) { in android_media_AudioSystem_setParameters()
377 env->GetStringLength(keyValuePairs)); in android_media_AudioSystem_setParameters()
378 env->ReleaseStringCritical(keyValuePairs, c_keyValuePairs); in android_media_AudioSystem_setParameters()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h134 virtual status_t setParameters(const String8& keyValuePairs);
/frameworks/base/media/java/android/media/
DAudioSystem.java285 public static native int setParameters(String keyValuePairs); in setParameters() argument

12