Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 191) sorted by relevance

12345678

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehiclePropConfigIndex_test.cpp34 configs.assign(std::begin(kVehicleProperties), in SetUp()
41 std::vector<VehiclePropConfig> configs; member in android::hardware::automotive::vehicle::V2_0::__anon273abc220111::PropConfigTest
45 VehiclePropConfigIndex index(configs); in TEST_F()
55 VehiclePropConfigIndex index(configs); in TEST_F()
58 ASSERT_EQ(configs.size(), actualConfigs.size()); in TEST_F()
61 ASSERT_EQ(toString(configs[i]), toString(actualConfigs[i])); in TEST_F()
66 VehiclePropConfigIndex index(configs); in TEST_F()
68 ASSERT_EQ(toString(configs[1]), toString(actualConfig)); in TEST_F()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtilsCommon.cpp28 hidl_vec<AudioPortConfig>* configs) { in audioPortConfigsFromHal() argument
30 configs->resize(numHalConfigs); in audioPortConfigsFromHal()
32 if (status_t status = audioPortConfigFromHal(halConfigs[i], &(*configs)[i]); in audioPortConfigsFromHal()
40 status_t HidlUtils::audioPortConfigsToHal(const hidl_vec<AudioPortConfig>& configs, in audioPortConfigsToHal() argument
43 halConfigs->reset(new audio_port_config[configs.size()]); in audioPortConfigsToHal()
44 for (size_t i = 0; i < configs.size(); ++i) { in audioPortConfigsToHal()
45 if (status_t status = audioPortConfigToHal(configs[i], &(*halConfigs)[i]); in audioPortConfigsToHal()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DConfigHelper.h87 std::vector<AudioConfig> configs; in combineAudioConfig() local
88 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig()
96 configs.push_back(config); in combineAudioConfig()
99 return configs; in combineAudioConfig()
105 std::vector<AudioConfig> configs; in combineAudioConfig() local
106 configs.reserve(channelMasks.size() * sampleRates.size() * formats.size()); in combineAudioConfig()
116 configs.push_back(config); in combineAudioConfig()
120 return configs; in combineAudioConfig()
/hardware/google/gfxstream/guest/mesa-gn/
Dmesa.gni28 # Can't forward configs because doing so overwrites the default
29 # configs specified by the build system.
30 forward_variables_from(invoker, "*", [ "configs" ])
35 if (defined(invoker.configs)) {
36 configs += invoker.configs
/hardware/interfaces/tv/input/1.0/default/
DTvInput.cpp83 const tv_stream_config_t* configs = nullptr; in getStreamConfigurations() local
84 int ret = mDevice->get_stream_configurations(mDevice, deviceId, &configCount, &configs); in getStreamConfigurations()
89 tvStreamConfigs.resize(getSupportedConfigCount(configCount, configs)); in getStreamConfigurations()
92 if (isSupportedStreamType(configs[i].type)) { in getStreamConfigurations()
93 tvStreamConfigs[pos].streamId = configs[i].stream_id; in getStreamConfigurations()
94 tvStreamConfigs[pos].maxVideoWidth = configs[i].max_video_width; in getStreamConfigurations()
95 tvStreamConfigs[pos].maxVideoHeight = configs[i].max_video_height; in getStreamConfigurations()
192 const tv_stream_config_t* configs) { in getSupportedConfigCount() argument
195 if (isSupportedStreamType(configs[i].type)) { in getSupportedConfigCount()
/hardware/google/graphics/common/libhwc2.1/libvrr/display/exynos/
DExynosDisplayContextProvider.cpp78 const auto configs = getDisplayConfigs(); in getDisplayConfig() local
79 if ((!configs) || configs->count(id) == 0) { in getDisplayConfig()
82 const auto& config = configs->find(id); in getDisplayConfig()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehiclePropConfigIndex.h57 ImmutablePropConfigMap(const std::vector<VehiclePropConfig>& configs) { in ImmutablePropConfigMap() argument
58 setCapacity(configs.size()); in ImmutablePropConfigMap()
59 for (auto& config : configs) { in ImmutablePropConfigMap()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/JsonConfigLoader/test/
DJsonConfigLoaderUnitTest.cpp54 auto configs = result.value(); in TEST_F() local
55 ASSERT_EQ(configs.size(), 1u); in TEST_F()
56 ASSERT_EQ(configs.begin()->second.config.prop, 291504388); in TEST_F()
/hardware/google/gfxstream/guest/renderControl_enc/
DrenderControl.attrib30 dir configs out
31 var_flag configs nullAllowed
32 len configs configs_size*sizeof(uint32_t)
DREADME24 queries the host for the number of supported EGL configs.
25 The function returns the number of supported configs and returns in
29 This function queries the host for the all set of supported configs
36 of configs and buffer is filled as follows: The first 'numAttribs'
42 EGLint rcChooseConfig(EGLint *attribs, uint32_t attribs_size, uint32_t *configs, uint32_t configs_s…
44 configs matching the given attribs values.
47configs - the returned matching configuration names (same names as familiar to the client in rcGet…
48 configs_size - the size of the configs buffers
/hardware/interfaces/camera/provider/2.7/default/
DCameraProvider_2_7.h100 configs, in isConcurrentStreamCombinationSupported()
102 return impl.isConcurrentStreamCombinationSupported(configs, _hidl_cb); in isConcurrentStreamCombinationSupported()
106 const hidl_vec<CameraIdAndStreamCombination>& configs, in isConcurrentStreamCombinationSupported_2_7()
108 return impl.isConcurrentStreamCombinationSupported_2_7(configs, _hidl_cb); in isConcurrentStreamCombinationSupported_2_7()
/hardware/interfaces/configstore/utils/include/configstore/
DUtils.h58 static sp<I> configs = I::getService(); in getService() local
59 return configs; in getService()
72 sp<I> configs = getService<I>(); in decltype() local
74 if (!configs.get()) { in decltype()
78 auto status = (*configs.*func)([&ret](V v) { in decltype()
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp212 int HWCDisplay::get_display_configs(uint32_t* configs, size_t* numConfigs) in get_display_configs() argument
214 if (!configs || !numConfigs) in get_display_configs()
222 size_t num = this->configs.size(); in get_display_configs()
227 configs[i] = i; in get_display_configs()
241 if (cfg >= this->configs.size()) in get_display_attributes()
244 display_config_t* config = &this->configs[cfg]; in get_display_attributes()
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DGenerators.cpp52 auto configs = ConfigHelper::combineAudioConfig( in generateOutputDeviceConfigParameters() local
57 for (auto& config : configs) { in generateOutputDeviceConfigParameters()
115 auto configs = ConfigHelper::combineAudioConfig( in generateInputDeviceConfigParameters() local
119 for (const auto& config : configs) { in generateInputDeviceConfigParameters()
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_reader.cpp134 std::vector<StreamConfiguration>* configs) const { in StreamConfigurations()
148 configs->insert( in StreamConfigurations()
149 configs->end(), raw_stream_configs.begin(), raw_stream_configs.end()); in StreamConfigurations()
152 for (const auto& config : *configs) { in StreamConfigurations()
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_rtt_controller_aidl_test.cpp198 std::vector<RttConfig> configs = {config}; in TEST_P() local
199 EXPECT_TRUE(wifi_rtt_controller_->rangeRequest(cmdId, configs).isOk()); in TEST_P()
235 std::vector<RttConfig> configs = {config}; in TEST_P() local
236 EXPECT_TRUE(wifi_rtt_controller_->rangeRequest(cmdId, configs).isOk()); in TEST_P()
284 std::vector<RttConfig> configs = {config}; in TEST_P() local
285 EXPECT_TRUE(wifi_rtt_controller_->rangeRequest(cmdId, configs).isOk()); in TEST_P()
/hardware/libhardware/modules/camera/3_4/
Dstatic_properties_test.cpp291 std::vector<StreamConfiguration> configs = test_configs_; in TEST_F() local
292 configs.push_back( in TEST_F()
298 .WillOnce(DoAll(SetArgPointee<0>(configs), Return(0))); in TEST_F()
307 std::vector<StreamConfiguration> configs = test_configs_; in TEST_F() local
308 for (auto it = configs.begin(); it != configs.end();) { in TEST_F()
311 it = configs.erase(it); in TEST_F()
317 .WillOnce(DoAll(SetArgPointee<0>(configs), Return(0))); in TEST_F()
326 std::vector<StreamConfiguration> configs = test_configs_; in TEST_F() local
327 configs.push_back({{{5, in TEST_F()
332 .WillOnce(DoAll(SetArgPointee<0>(configs), Return(0))); in TEST_F()
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DGenerators.cpp44 std::vector<AudioConfig> configs; in combineAudioConfig() local
45 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig()
52 configs.push_back(config); in combineAudioConfig()
55 return configs; in combineAudioConfig()
105 auto configs = combineAudioConfig(profile.getChannelMasks(), in generateOutputDeviceConfigParameters() local
107 for (auto& config : configs) { in generateOutputDeviceConfigParameters()
251 auto configs = combineAudioConfig(profile.getChannelMasks(), in generateInputDeviceConfigParameters() local
253 for (const auto& config : configs) { in generateInputDeviceConfigParameters()
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp166 std::vector<RttConfig> configs; in TEST_P() local
190 configs.push_back(config); in TEST_P()
193 const auto& status = HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_6, cmdId, configs); in TEST_P()
215 std::vector<RttConfig> configs; in TEST_P() local
239 configs.push_back(config); in TEST_P()
242 const auto& status = HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_6, cmdId, configs); in TEST_P()
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp171 std::vector<RttConfig> configs; in TEST_P() local
195 configs.push_back(config); in TEST_P()
199 HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_4, cmdId, configs); in TEST_P()
224 std::vector<RttConfig> configs; in TEST_P() local
248 configs.push_back(config); in TEST_P()
252 HIDL_INVOKE(wifi_rtt_controller_, rangeRequest_1_4, cmdId, configs); in TEST_P()
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/test/
Dproto_message_converter_test.cpp53 std::vector<aidl_vehicle::VehiclePropConfig> configs; in prepareTestConfigs() local
55 configs.push_back(configDeclaration.config); in prepareTestConfigs()
57 return configs; in prepareTestConfigs()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp1084 ALOGI("window configs size(%zu)", mDpuData.configs.size());
1531 (compositionInfo.mWindowIndex >= (int32_t)mDpuData.configs.size())) in handleStaticLayers()
1537 exynos_win_config_data &config = mDpuData.configs[compositionInfo.mWindowIndex]; in handleStaticLayers()
1569 for (size_t i = 0; i < mLastDpuData.configs.size(); i++) { in handleStaticLayers()
1572 dumpConfig(result, mLastDpuData.configs[i]); in handleStaticLayers()
2221 if ((windowIndex < 0) || (windowIndex >= (int32_t)mDpuData.configs.size())) in configureOverlay()
2228 exynos_win_config_data &config = mDpuData.configs[windowIndex]; in configureOverlay()
2449 if ((windowIndex < 0) || (windowIndex >= (int32_t)mDpuData.configs.size())) { in setWinConfigData()
2455 if ((ret = configureOverlay(mLayers[i], mDpuData.configs[windowIndex])) != NO_ERROR) in setWinConfigData()
2521 for (size_t i = 0; i < mDpuData.configs.size(); i++) { in printDebugInfos()
[all …]
/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.h54 auto configs = mDisplayContextProvider->getDisplayConfigs(); in getCurrentDisplayConfiguration() local
55 if (configs) { in getCurrentDisplayConfiguration()
56 const auto& it = configs->find(mVrrActiveConfig); in getCurrentDisplayConfiguration()
57 if (it != configs->end()) { in getCurrentDisplayConfiguration()
98 void setVrrConfigurations(std::unordered_map<hwc2_config_t, VrrConfig_t> configs);
/hardware/interfaces/automotive/vehicle/tools/
Dgenerate_annotation_enums.py216 self.configs = None
222 configs = []
305 configs.append(config)
307 self.configs = configs
313 for config in self.configs:
361 for config in self.configs:
/hardware/google/gfxstream/host/gl/
DEmulatedEglConfig.cpp164 EGLint* configs, in chooseConfig() argument
239 if (configs && configsSize > 0 && result >= configsSize) { in chooseConfig()
253 if (configs && result < configsSize) { in chooseConfig()
254 configs[result] = config.getGuestEglConfig(); in chooseConfig()

12345678