Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 66) 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::__anonb250030d0111::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/intel/common/libva/test/basic/
Dtest_05.c46 VAConfigID *configs = malloc(max_entrypoints * num_profiles * sizeof(VAConfigID)); in test() local
56 …va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); in test()
58 status("vaCreateConfig returns %08x\n", configs[config_count]); in test()
65 status("vaDestroyConfig for config %08x\n", configs[i]); in test()
66 va_status = vaDestroyConfig( va_dpy, configs[i] ); in test()
70 free(configs); in test()
Dtest_09.c46 VAConfigID *configs = malloc(max_entrypoints * num_profiles * sizeof(VAConfigID)); in test() local
57 …va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); in test()
59 status("vaCreateConfig returns %08x\n", configs[config_count]); in test()
77 status("vaCreateContext with config %08x\n", configs[i]); in test()
79 …va_status = vaCreateContext( va_dpy, configs[i], width, height, flags, surfaces + i*surface_count,… in test()
92 status("vaDestroyConfig for config %08x\n", configs[i]); in test()
93 va_status = vaDestroyConfig( va_dpy, configs[i] ); in test()
101 free(configs); in test()
Dtest_06.c32 VAConfigID *configs; variable
49 configs = malloc(max_entrypoints * num_profiles * sizeof(VAConfigID)); in pre()
50 ASSERT(configs); in pre()
61 …va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); in pre()
94 …va_status = vaQueryConfigAttributes(va_dpy, configs[config_count], &profile, &entrypoint, attrib_l… in test()
116 va_status = vaDestroyConfig( va_dpy, configs[i] ); in post()
120 free(configs); in post()
/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/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DDummyDevice.cpp113 bool DummyDevice::getDisplayConfigs(uint32_t *configs, in getDisplayConfigs() argument
117 if (!configs || !numConfigs) { in getDisplayConfigs()
127 *configs = 0; in getDisplayConfigs()
133 bool DummyDevice::getDisplayAttributes(uint32_t configs, in getDisplayAttributes() argument
139 if ((configs > 0) || !attributes || !values) { in getDisplayAttributes()
DExternalDevice.cpp308 bool ExternalDevice::getDisplayConfigs(uint32_t *configs, size_t *numConfigs) in getDisplayConfigs() argument
311 return PhysicalDevice::getDisplayConfigs(configs, numConfigs); in getDisplayConfigs()
314 return PhysicalDevice::getDisplayConfigs(configs, numConfigs); in getDisplayConfigs()
316 if (!configs || !numConfigs) in getDisplayConfigs()
319 *configs = 0; in getDisplayConfigs()
DPhysicalDevice.cpp185 bool PhysicalDevice::getDisplayConfigs(uint32_t *configs, in getDisplayConfigs() argument
197 if (!configs || !numConfigs || *numConfigs < 1) { in getDisplayConfigs()
205 configs[i] = i; in getDisplayConfigs()
/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/2.0/default/common/src/
DVehiclePropertyStore.cpp114 std::vector<VehiclePropConfig> configs; in getAllConfigs() local
115 configs.reserve(mConfigs.size()); in getAllConfigs()
117 configs.push_back(recordConfigIt.second.propConfig); in getAllConfigs()
119 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/configstore/utils/include/configstore/
DUtils.h47 sp<I> configs = I::getService(); in decltype() local
49 if (!configs.get()) { in decltype()
53 auto status = (*configs.*func)([&ret](V v) { in decltype()
/hardware/interfaces/audio/common/2.0/default/
DHidlUtils.h56 hidl_vec<AudioPortConfig> *configs);
58 const hidl_vec<AudioPortConfig>& configs);
DHidlUtils.cpp208 hidl_vec<AudioPortConfig> *configs) { in audioPortConfigsFromHal() argument
209 configs->resize(numHalConfigs); in audioPortConfigsFromHal()
211 audioPortConfigFromHal(halConfigs[i], &(*configs)[i]); in audioPortConfigsFromHal()
216 const hidl_vec<AudioPortConfig>& configs) { in audioPortConfigsToHal() argument
217 std::unique_ptr<audio_port_config[]> halConfigs(new audio_port_config[configs.size()]); in audioPortConfigsToHal()
218 for (size_t i = 0; i < configs.size(); ++i) { in audioPortConfigsToHal()
219 audioPortConfigToHal(configs[i], &halConfigs[i]); in audioPortConfigsToHal()
/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/msm8998/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.cpp65 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfig() local
71 for (auto& config : configs) { in doGetConfig()
84 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfigAll() local
89 for (auto& config : configs) { in doGetConfigAll()
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp264 std::vector<Config> configs = in TEST_F() local
266 for (auto config : configs) { in TEST_F()
289 std::vector<Config> configs = in TEST_F() local
291 for (auto config : configs) { in TEST_F()
339 std::vector<Config> configs = in TEST_F() local
341 for (auto config : configs) { in TEST_F()
DVtsHalGraphicsComposerTestUtils.cpp203 std::vector<Config> configs; in getDisplayConfigs() local
207 configs = tmpConfigs; in getDisplayConfigs()
210 return configs; in getDisplayConfigs()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DExternalDevice.h39 virtual bool getDisplayConfigs(uint32_t *configs,
DDummyDevice.h41 virtual bool getDisplayConfigs(uint32_t *configs,
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcModule.cpp129 uint32_t *configs, in hwc_getDisplayConfigs() argument
134 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcModule.cpp134 uint32_t *configs, in hwc_getDisplayConfigs() argument
138 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DPhysicalDevice.cpp187 bool PhysicalDevice::getDisplayConfigs(uint32_t *configs, in getDisplayConfigs() argument
199 if (!configs || !numConfigs || *numConfigs < 1) { in getDisplayConfigs()
207 configs[i] = i; in getDisplayConfigs()
/hardware/interfaces/audio/effect/2.0/
DIEffect.hal357 * Get supported configs for a vendor-specific feature. The configs returned
363 * configs, it must return NOT_SUPPORTED. If the feature is supported but
372 * @param maxConfigs maximum number of configs to return.
375 * @return configsCount number of configs returned.
376 * @return configsData data for all the configs returned.
394 * feature configs, it must return NOT_SUPPORTED.
416 * feature configs, it must return NOT_SUPPORTED.

123