Home
last modified time | relevance | path

Searched refs:getParam (Results 1 – 25 of 42) sorted by relevance

12

/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DParametersUtil.h45 Result getParam(const char* name, bool* value);
46 Result getParam(const char* name, int* value);
47 Result getParam(const char* name, String8* value, AudioParameter context = {});
/hardware/interfaces/audio/effect/all-versions/default/
DEqualizerEffect.cpp211 Result retval = mEffect->getParam(EQ_PARAM_LEVEL_RANGE, halLevels); in getLevelRange()
222 Result retval = mEffect->getParam(EQ_PARAM_BAND_LEVEL, band, halLevel); in getBandLevel()
230 Result retval = mEffect->getParam(EQ_PARAM_CENTER_FREQ, band, halFreq); in getBandCenterFrequency()
238 Result retval = mEffect->getParam(EQ_PARAM_BAND_FREQ_RANGE, band, halFreqs); in getBandFrequencyRange()
245 Result retval = mEffect->getParam(EQ_PARAM_GET_BAND, freq, halBand); in getBandForFrequency()
252 Result retval = mEffect->getParam(EQ_PARAM_GET_NUM_OF_PRESETS, halPresetCount); in getPresetNames()
258 retval = mEffect->getParam(EQ_PARAM_GET_PRESET_NAME, i, halPresetName); in getPresetNames()
288 Result retval = mEffect->getParam(EQ_PARAM_NUM_BANDS, numBands); in getAllProperties()
DNoiseSuppressionEffect.cpp201 Result retval = mEffect->getParam(NS_PARAM_LEVEL, halLevel); in getSuppressionLevel()
212 Result retval = mEffect->getParam(NS_PARAM_TYPE, halType); in getSuppressionType()
226 Result retval = mEffect->getParam(NS_PARAM_PROPERTIES, halProperties); in getAllProperties()
/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp84 Result retval = getParam(AudioParameter::keyFrameCount, &halFrameCount); in getFrameCount()
112 getParam(AudioParameter::keyStreamSupportedSamplingRates, &halListValue, context); in getSupportedSampleRates()
138 Result result = getParam(AudioParameter::keyStreamSupportedChannels, &halListValue, context); in getSupportedChannelMasks()
181 Result result = getParam(AudioParameter::keyStreamSupportedFormats, &halListValue); in getSupportedFormats()
220 Result result = getParam(AudioParameter::keyStreamSupportedFormats, &halListValue); in getSupportedProfiles()
241 result = getParam(AudioParameter::keyStreamSupportedSamplingRates, &halListValue, context); in getSupportedProfiles()
251 result = getParam(AudioParameter::keyStreamSupportedChannels, &halListValue, context); in getSupportedProfiles()
351 Result retval = getParam(AudioParameter::keyRouting, &device); in getDevice()
376 Result retval = getParam(AudioParameter::keyRouting, &halDevice); in getDevices()
DParametersUtil.cpp49 Result ParametersUtil::getParam(const char* name, bool* value) { in getParam() function in android::hardware::audio::CORE_TYPES_CPP_VERSION::implementation::ParametersUtil
51 Result retval = getParam(name, &halValue); in getParam()
62 Result ParametersUtil::getParam(const char* name, int* value) { in getParam() function in android::hardware::audio::CORE_TYPES_CPP_VERSION::implementation::ParametersUtil
70 Result ParametersUtil::getParam(const char* name, String8* value, AudioParameter context) { in getParam() function in android::hardware::audio::CORE_TYPES_CPP_VERSION::implementation::ParametersUtil
DPrimaryDevice.cpp233 Result retval = mDevice->getParam(AudioParameter::keyBtNrec, &enabled); in getBtScoNrecEnabled()
244 Result retval = mDevice->getParam(AUDIO_PARAMETER_KEY_BT_SCO_WB, &enabled); in getBtScoWidebandEnabled()
281 Result retval = mDevice->getParam(AUDIO_PARAMETER_KEY_TTY_MODE, &halMode); in getTtyMode()
307 Result retval = mDevice->getParam(AUDIO_PARAMETER_KEY_HAC, &enabled); in getHacEnabled()
322 Result retval = mDevice->getParam(AUDIO_PARAMETER_KEY_HFP_ENABLE, &enabled); in getBtHfpEnabled()
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp237 status = getParam(omxNode, OMX_IndexParamAudioInit, &params); in TEST_P()
239 status = getParam(omxNode, OMX_IndexParamVideoInit, &params); in TEST_P()
241 status = getParam(omxNode, OMX_IndexParamImageInit, &params); in TEST_P()
243 status = getParam(omxNode, OMX_IndexParamOtherInit, &params); in TEST_P()
258 status = getParam(omxNode, OMX_IndexParamAudioInit, &params); in TEST_P()
260 status = getParam(omxNode, OMX_IndexParamVideoInit, &params); in TEST_P()
319 status = getParam(omxNode, OMX_IndexParamAudioInit, &params); in TEST_P()
321 status = getParam(omxNode, OMX_IndexParamVideoInit, &params); in TEST_P()
448 status = getParam(omxNode, OMX_IndexParamAudioInit, &params); in TEST_P()
450 status = getParam(omxNode, OMX_IndexParamVideoInit, &params); in TEST_P()
[all …]
/hardware/interfaces/audio/aidl/vts/
DVtsHalAECTargetTest.cpp109 Parameter getParam; in SetAndGetParameters() local
114 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
116 EXPECT_EQ(expectParam, getParam) << "\nexpect:" << expectParam.toString() in SetAndGetParameters()
117 << "\ngetParam:" << getParam.toString(); in SetAndGetParameters()
DVtsHalAGC1TargetTest.cpp107 Parameter getParam; in SetAndGetParameters() local
112 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
114 EXPECT_EQ(expectParam, getParam) << "\nexpect:" << expectParam.toString() in SetAndGetParameters()
115 << "\ngetParam:" << getParam.toString(); in SetAndGetParameters()
DVtsHalNSTargetTest.cpp105 Parameter getParam; in SetAndGetParameters() local
110 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
112 EXPECT_EQ(expectParam, getParam) << "\nexpect:" << expectParam.toString() in SetAndGetParameters()
113 << "\ngetParam:" << getParam.toString(); in SetAndGetParameters()
DVtsHalAGC2TargetTest.cpp108 Parameter getParam; in SetAndGetParameters() local
113 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
115 EXPECT_EQ(expectParam, getParam) << "\nexpect:" << expectParam.toString() in SetAndGetParameters()
116 << "\ngetParam:" << getParam.toString(); in SetAndGetParameters()
DVtsHalEqualizerTargetTest.cpp113 Parameter getParam; in SetAndGetEqualizerParameters() local
117 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in SetAndGetEqualizerParameters()
118 EXPECT_TRUE(isEqParameterExpected(expectParam, getParam)) in SetAndGetEqualizerParameters()
120 << "\ngetParam:" << getParam.toString(); in SetAndGetEqualizerParameters()
DVtsHalVisualizerTargetTest.cpp107 Parameter getParam; in SetAndGetParameters() local
112 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)) in SetAndGetParameters()
114 EXPECT_EQ(expectParam, getParam) << "\nexpect:" << expectParam.toString() in SetAndGetParameters()
115 << "\ngetParam:" << getParam.toString(); in SetAndGetParameters()
DVtsHalPresetReverbTargetTest.cpp78 Parameter getParam; in setAndVerifyPreset() local
79 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in setAndVerifyPreset()
80 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in setAndVerifyPreset()
81 << "\ngetParam:" << getParam.toString(); in setAndVerifyPreset()
DVtsHalVirtualizerTargetTest.cpp89 Parameter getParam; in setAndVerifyStrength() local
91 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyStrength()
92 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in setAndVerifyStrength()
93 << "\ngetParam:" << getParam.toString(); in setAndVerifyStrength()
DVtsHalLoudnessEnhancerTargetTest.cpp101 Parameter getParam; in validateParameters() local
107 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in validateParameters()
109 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in validateParameters()
110 << "\ngetParam:" << getParam.toString(); in validateParameters()
DVtsHalSpatializerTargetTest.cpp129 Parameter getParam; in TEST_P() local
135 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in TEST_P()
136 EXPECT_EQ(expectParam, getParam); in TEST_P()
DVtsHalBassBoostTargetTest.cpp108 Parameter getParam; in setAndVerifyParameters() local
110 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyParameters()
111 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in setAndVerifyParameters()
112 << "\ngetParam:" << getParam.toString(); in setAndVerifyParameters()
DVtsHalVolumeTargetTest.cpp88 Parameter getParam; in setAndVerifyParameters() local
90 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyParameters()
91 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in setAndVerifyParameters()
92 << "\ngetParam:" << getParam.toString(); in setAndVerifyParameters()
DVtsHalEnvironmentalReverbTargetTest.cpp198 Parameter getParam; in setAndVerifyParam() local
199 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in setAndVerifyParam()
200 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in setAndVerifyParam()
201 << "\ngetParam:" << getParam.toString(); in setAndVerifyParam()
DVtsHalDownmixTargetTest.cpp128 Parameter getParam; in validateParameters() local
129 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in validateParameters()
131 EXPECT_EQ(expectedParam, getParam) << "\nexpectedParam:" << expectedParam.toString() in validateParameters()
132 << "\ngetParam:" << getParam.toString(); in validateParameters()
/hardware/google/gfxstream/host/magma/
DDrmDevice.h49 std::optional<int> getParam(int param);
DIntelDrmDecoder.cpp176 auto result = dev->getParam(I915_PARAM_CHIPSET_ID); in magma_device_query_fudge()
188 auto subslice_result = dev->getParam(I915_PARAM_SUBSLICE_TOTAL); in magma_device_query_fudge()
189 auto eu_result = dev->getParam(I915_PARAM_EU_TOTAL); in magma_device_query_fudge()
305 auto result = dev->getParam(I915_PARAM_HAS_CONTEXT_ISOLATION); in magma_device_query_fudge()
313 auto result = dev->getParam(I915_PARAM_CS_TIMESTAMP_FREQUENCY); in magma_device_query_fudge()
DDrmDevice.cpp77 std::optional<int> DrmDevice::getParam(int param) { in getParam() function in gfxstream::magma::DrmDevice
/hardware/interfaces/audio/aidl/default/spatializer/
DSpatializerSw.h35 std::optional<Spatializer> getParam(TAG tag);

12