Home
last modified time | relevance | path

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

123

/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::__anon420225d70111::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/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()
182 const tv_stream_config_t* configs) { in getSupportedConfigCount() argument
185 if (isSupportedStreamType(configs[i].type)) { in getSupportedConfigCount()
/hardware/qcom/msm8998/thermal-engine/
Dthermal_client.h82 int thermal_client_config_query(char *algo_type, struct config_instance **configs);
83 void thermal_client_config_cleanup(struct config_instance *configs, unsigned int config_size);
84 int thermal_client_config_set(struct config_instance *configs, unsigned int config_size);
/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/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.cpp218 int HWCDisplay::get_display_configs(uint32_t* configs, size_t* numConfigs) in get_display_configs() argument
220 if (!configs || !numConfigs) in get_display_configs()
228 size_t num = this->configs.size(); in get_display_configs()
233 configs[i] = i; in get_display_configs()
247 if (cfg >= this->configs.size()) in get_display_attributes()
250 display_config_t* config = &this->configs[cfg]; in get_display_attributes()
Ddisplay.h95 std::vector<display_config_t> configs; variable
110 int get_display_configs(uint32_t* configs, size_t* numConfigs);
Dhwc.cpp176 display->configs.push_back(config); in init_primary_display()
190 display->configs.push_back(config); in init_primary_display()
236 display->configs.push_back(config); in add_external_hdmi_display()
625 static int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, uint32_t* configs, si… in hwc_getDisplayConfigs() argument
635 return display->get_display_configs(configs, numConfigs); in hwc_getDisplayConfigs()
/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()
Dmetadata_reader_test.cpp189 v4l2_camera_hal::ArrayVector<int32_t, 4> configs; in TEST_F() local
194 configs.push_back(config1); in TEST_F()
195 configs.push_back(config2); in TEST_F()
197 v4l2_camera_hal::UpdateMetadata(metadata_.get(), configs_tag_, configs), in TEST_F()
202 ASSERT_EQ(actual.size(), configs.num_arrays()); in TEST_F()
Dmetadata_reader.h62 std::vector<StreamConfiguration>* configs) const;
/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()
Dstatic_properties.cpp32 const std::vector<StreamConfiguration>& configs, in ConstructStreamCapabilities() argument
36 for (const auto& config : configs) { in ConstructStreamCapabilities()
152 std::vector<StreamConfiguration> configs; in NewStaticProperties() local
165 metadata_reader->StreamConfigurations(&configs) || in NewStaticProperties()
167 !ConstructStreamCapabilities(configs, stalls, &stream_capabilities) || in NewStaticProperties()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp118 std::vector<VehiclePropConfig> configs; in getAllConfigs() local
119 configs.reserve(mConfigs.size()); in getAllConfigs()
121 configs.push_back(recordConfigIt.second.propConfig); in getAllConfigs()
123 return configs; in getAllConfigs()
DVehicleHalManager.cpp63 std::vector<VehiclePropConfig> configs; in getPropConfigs() local
67 configs.push_back(mConfigIndex->getConfig(prop)); in getPropConfigs()
74 _hidl_cb(StatusCode::OK, configs); in getPropConfigs()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h59 hidl_vec<AudioPortConfig>* configs);
61 const hidl_vec<AudioPortConfig>& configs);
DHidlUtils.cpp220 hidl_vec<AudioPortConfig>* configs) { in audioPortConfigsFromHal() argument
221 configs->resize(numHalConfigs); in audioPortConfigsFromHal()
223 audioPortConfigFromHal(halConfigs[i], &(*configs)[i]); in audioPortConfigsFromHal()
228 const hidl_vec<AudioPortConfig>& configs) { in audioPortConfigsToHal() argument
229 std::unique_ptr<audio_port_config[]> halConfigs(new audio_port_config[configs.size()]); in audioPortConfigsToHal()
230 for (size_t i = 0; i < configs.size(); ++i) { in audioPortConfigsToHal()
231 audioPortConfigToHal(configs[i], &halConfigs[i]); in audioPortConfigsToHal()
/hardware/interfaces/radio/1.2/
DIRadioIndication.hal60 * An empty configs list indicates that the radio is in idle mode.
63 * @param configs Vector of PhysicalChannelConfigs
66 vec<PhysicalChannelConfig> configs);
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp295 std::vector<Config> configs; in TEST_F() local
296 ASSERT_NO_FATAL_FAILURE(configs = mComposerClient->getDisplayConfigs(mPrimaryDisplay)); in TEST_F()
337 std::vector<Config> configs = mComposerClient->getDisplayConfigs(mPrimaryDisplay); in TEST_F() local
338 for (auto config : configs) { in TEST_F()
360 std::vector<Config> configs = mComposerClient->getDisplayConfigs(mPrimaryDisplay); in TEST_F() local
361 for (auto config : configs) { in TEST_F()
384 std::vector<Config> configs = mComposerClient->getDisplayConfigs(mPrimaryDisplay); in TEST_F() local
385 for (auto config : configs) { in TEST_F()
431 std::vector<Config> configs = mComposerClient->getDisplayConfigs(mPrimaryDisplay); in TEST_F() local
432 for (auto config : configs) { in TEST_F()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_null.h47 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { in GetDisplayConfigs() argument
48 return HWCDisplay::GetDisplayConfigs(configs, num_configs); in GetDisplayConfigs()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_null.h47 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { in GetDisplayConfigs() argument
48 return HWCDisplay::GetDisplayConfigs(configs, num_configs); in GetDisplayConfigs()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_null.h47 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { in GetDisplayConfigs() argument
48 return HWCDisplay::GetDisplayConfigs(configs, num_configs); in GetDisplayConfigs()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp79 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfig() local
85 for (auto& config : configs) { in doGetConfig()
98 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfigAll() local
103 for (auto& config : configs) { in doGetConfigAll()
/hardware/interfaces/radio/1.4/
DIRadioIndication.hal71 * An empty configs list indicates that the radio is in idle mode.
74 * @param configs Vector of PhysicalChannelConfigs
77 vec<PhysicalChannelConfig> configs);
/hardware/interfaces/nfc/1.2/
DINfc.hal25 * populates the vendor specific configs

123