Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/signedconfig/
DGlobalSettingsConfigApplicator.java56 private static <K, V> Map<K, V> makeMap(Object... keyValuePairs) { in makeMap() argument
57 if (keyValuePairs.length % 2 != 0) { in makeMap()
60 final int len = keyValuePairs.length / 2; in makeMap()
63 m.put((K) keyValuePairs[i * 2], (V) keyValuePairs[(i * 2) + 1]); in makeMap()
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp95 AudioParameter::AudioParameter(const String8& keyValuePairs) in AudioParameter() argument
97 char *str = new char[keyValuePairs.length()+1]; in AudioParameter()
98 mKeyValuePairs = keyValuePairs; in AudioParameter()
101 strcpy(str, keyValuePairs.c_str()); 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/aidl/android/media/
DIAudioTrack.aidl69 int setParameters(@utf8InCpp String keyValuePairs); in setParameters() argument
DIAudioFlingerService.aidl115 @utf8InCpp String keyValuePairs); in setParameters() argument
/frameworks/av/media/libmediahelper/include/media/
DAudioParameter.h30 AudioParameter(const String8& keyValuePairs);
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java133 public final List<Pair<String, String>> keyValuePairs = new ArrayList<>(); field in DockObserver.ExtconStateConfig
153 config.keyValuePairs.add(Pair.create(keyValueFields[0], keyValueFields[1])); in loadExtconStateConfigs()
343 for (Pair<String, String> keyValue : config.keyValuePairs) { in getDockedStateExtraValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DNoOpAudioSystemAdapter.java106 public int setParameters(String keyValuePairs) { in setParameters() argument
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp192 const String8& keyValuePairs, in setParameters() argument
195 mAudioPolicyService->setParameters(io_handle, keyValuePairs.c_str(), delay_ms); in setParameters()
DAudioPolicyService.h350 const char *keyValuePairs,
614 const char *keyValuePairs, int delayMs = 0);
828 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
DAudioPolicyService.cpp2131 const char *keyValuePairs, in parametersCommand() argument
2138 data->mKeyValuePairs = String8(keyValuePairs); in parametersCommand()
2142 keyValuePairs, ioHandle, delayMs); in parametersCommand()
2590 const char *keyValuePairs, in setParameters() argument
2593 mAudioCommandThread->parametersCommand(ioHandle, keyValuePairs, in setParameters()
/frameworks/av/services/audioflinger/
DAudioFlinger.h111 status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) final
613 void broadcastParametersToRecordThreads_l(const String8& keyValuePairs) REQUIRES(mutex());
615 audio_io_handle_t upStream, const String8& keyValuePairs,
745 void filterReservedParameters(String8& keyValuePairs, uid_t callingUid);
DAudioFlinger.cpp1701 void AudioFlinger::broadcastParametersToRecordThreads_l(const String8& keyValuePairs) in broadcastParametersToRecordThreads_l() argument
1704 mRecordThreads.valueAt(i)->setParameters(keyValuePairs); in broadcastParametersToRecordThreads_l()
1717 audio_io_handle_t upStream, const String8& keyValuePairs, in forwardParametersToDownstreamPatches_l() argument
1728 downStream->setParameters(keyValuePairs); in forwardParametersToDownstreamPatches_l()
1750 void AudioFlinger::filterReservedParameters(String8& keyValuePairs, uid_t callingUid) in filterReservedParameters() argument
1773 AudioParameter param = AudioParameter(keyValuePairs); in filterReservedParameters()
1782 logFilteredParameters(param.size() + rejectedParam.size(), keyValuePairs, in filterReservedParameters()
1784 keyValuePairs = param.toString(); in filterReservedParameters()
1802 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
1805 ioHandle, keyValuePairs.c_str(), in setParameters()
[all …]
DThreads.h184 explicit SetParameterConfigEventData(const String8& keyValuePairs) : in SetParameterConfigEventData() argument
185 mKeyValuePairs(keyValuePairs) {} in SetParameterConfigEventData()
196 explicit SetParameterConfigEvent(const String8& keyValuePairs) : in SetParameterConfigEvent() argument
198 mData = new SetParameterConfigEventData(keyValuePairs); in SetParameterConfigEvent()
338 status_t setParameters(const String8& keyValuePairs) final EXCLUDES_ThreadBase_Mutex;
DPlaybackTracks.h123 status_t setParameters(const String8& keyValuePairs) final;
DIAfTrack.h300 virtual status_t setParameters(const String8& keyValuePairs) = 0;
/frameworks/av/media/ndk/include/media/
DNdkMediaDrm.h466 AMediaDrmKeyValue *keyValuePairs, size_t *numPairs) __INTRODUCED_IN(21);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioSystemAdapter.java492 public int setParameters(String keyValuePairs) { in setParameters() argument
494 return AudioSystem.setParameters(keyValuePairs); in setParameters()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp584 AMediaDrmKeyValue *keyValuePairs, size_t *numPairs) { in AMediaDrm_queryKeyStatus() argument
609 keyValuePairs[i].mKey = mObj->mQueryResults.keyAt(i).c_str(); in AMediaDrm_queryKeyStatus()
610 keyValuePairs[i].mValue = mObj->mQueryResults.valueAt(i).c_str(); in AMediaDrm_queryKeyStatus()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h245 const String8& keyValuePairs) = 0;
435 const String8& keyValuePairs) override;
683 Status setParameters(int32_t ioHandle, const std::string& keyValuePairs) override;
DAudioSystem.h158 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
161 static status_t setParameters(const String8& keyValuePairs);
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java263 public void setParameters(String keyValuePairs) { } in setParameters() argument
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp412 const String8& keyValuePairs) { in setParameters() argument
415 legacy2aidl_String8_string(keyValuePairs)); in setParameters()
1082 AudioFlingerServerAdapter::setParameters(int32_t ioHandle, const std::string& keyValuePairs) { in setParameters() argument
1086 aidl2legacy_string_view_String8(keyValuePairs)); in setParameters()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h520 virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs,
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h141 virtual status_t setParameters(const String8& keyValuePairs);

12