Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp277 std::vector<C2FieldSupportedValues>& supportedValues) { in isLargeAudioFrameSupported() argument
289 supportedValues.clear(); in isLargeAudioFrameSupported()
294 supportedValues.push_back(validValueInfos[i].values); in isLargeAudioFrameSupported()
301 const std::vector<C2FieldSupportedValues>& supportedValues) { in configureLargeFrameParams() argument
303 if (supportedValues.empty()) { in configureLargeFrameParams()
308 auto boundBySupportedValues = [](const C2FieldSupportedValues& supportedValues, uint32_t& value) in configureLargeFrameParams()
311 switch (supportedValues.type) { in configureLargeFrameParams()
314 const auto& range = supportedValues.range; in configureLargeFrameParams()
325 for (const C2Value::Primitive& prim : supportedValues.values) { in configureLargeFrameParams()
343 c2_status_t c2_err = boundBySupportedValues(supportedValues[0], maxOutput); in configureLargeFrameParams()
[all …]
/frameworks/libs/modules-utils/java/com/android/internal/util/
DPreconditions.java682 public static String checkArgumentIsSupported(final String[] supportedValues, in checkArgumentIsSupported() argument
685 checkNotNull(supportedValues); in checkArgumentIsSupported()
687 if (!contains(supportedValues, value)) { in checkArgumentIsSupported()
689 + Arrays.toString(supportedValues)); in checkArgumentIsSupported()