Home
last modified time | relevance | path

Searched refs:halKeys (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudiohal/2.0/
DConversionHelperHidl.cpp31 AudioParameter halKeys(keys); in keysFromHal() local
32 if (halKeys.size() == 0) return BAD_VALUE; in keysFromHal()
33 hidlKeys->resize(halKeys.size()); in keysFromHal()
38 bool keepFormatValue = halKeys.size() == 2 && in keysFromHal()
39 (halKeys.get(String8(AudioParameter::keyStreamSupportedChannels), value) == NO_ERROR || in keysFromHal()
40 halKeys.get(String8(AudioParameter::keyStreamSupportedSamplingRates), value) == NO_ERROR); in keysFromHal()
42 for (size_t i = 0; i < halKeys.size(); ++i) { in keysFromHal()
44 status_t status = halKeys.getAt(i, key); in keysFromHal()
48 halKeys.getAt(i, key, value); in keysFromHal()
/frameworks/av/media/libaudiohal/4.0/
DConversionHelperHidl.cpp37 AudioParameter halKeys(keys); in keysFromHal() local
38 if (halKeys.size() == 0) return BAD_VALUE; in keysFromHal()
39 hidlKeys->resize(halKeys.size()); in keysFromHal()
44 bool keepFormatValue = halKeys.size() == 2 && in keysFromHal()
45 (halKeys.get(String8(AudioParameter::keyStreamSupportedChannels), value) == NO_ERROR || in keysFromHal()
46 halKeys.get(String8(AudioParameter::keyStreamSupportedSamplingRates), value) == NO_ERROR); in keysFromHal()
48 for (size_t i = 0; i < halKeys.size(); ++i) { in keysFromHal()
50 status_t status = halKeys.getAt(i, key); in keysFromHal()
54 halKeys.getAt(i, key, value); in keysFromHal()