/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | VehicleEmulator.cpp | 216 const VehiclePropConfig& cfg) { in populateProtoVehicleConfig() argument 217 protoCfg->set_prop(cfg.prop); in populateProtoVehicleConfig() 218 protoCfg->set_access(toInt(cfg.access)); in populateProtoVehicleConfig() 219 protoCfg->set_change_mode(toInt(cfg.changeMode)); in populateProtoVehicleConfig() 220 protoCfg->set_value_type(toInt(getPropType(cfg.prop))); in populateProtoVehicleConfig() 222 for (auto& configElement : cfg.configArray) { in populateProtoVehicleConfig() 226 if (cfg.configString.size() > 0) { in populateProtoVehicleConfig() 227 protoCfg->set_config_string(cfg.configString.c_str(), cfg.configString.size()); in populateProtoVehicleConfig() 231 switch (getPropType(cfg.prop)) { in populateProtoVehicleConfig() 242 if (cfg.areaConfigs.size() > 0) { in populateProtoVehicleConfig() [all …]
|
D | EmulatedVehicleHal.cpp | 227 VehiclePropConfig cfg = it.config; in onCreate() local 228 int32_t numAreas = cfg.areaConfigs.size(); in onCreate() 230 if (isDiagnosticProperty(cfg)) { in onCreate() 237 if (isGlobalProp(cfg.prop)) { in onCreate() 244 if (isGlobalProp(cfg.prop)) { in onCreate() 247 curArea = cfg.areaConfigs[i].areaId; in onCreate() 252 .prop = cfg.prop, in onCreate() 262 __func__, cfg.prop, curArea); in onCreate() 470 const auto& cfg = it->config; in initStaticConfig() local 473 switch (cfg.prop) { in initStaticConfig() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraFlash.cpp | 177 struct msm_flash_cfg_data_t cfg; in initFlash() local 179 memset(&cfg, 0, sizeof(struct msm_flash_cfg_data_t)); in initFlash() 182 cfg.cfg.flash_init_info = &init_info; in initFlash() 183 cfg.cfg_type = CFG_FLASH_INIT; in initFlash() 186 &cfg); in initFlash() 222 struct msm_flash_cfg_data_t cfg; in setFlashMode() local 236 memset(&cfg, 0, sizeof(struct msm_flash_cfg_data_t)); in setFlashMode() 238 cfg.flash_current[i] = QCAMERA_TORCH_CURRENT_VALUE; in setFlashMode() 239 cfg.cfg_type = mode ? CFG_FLASH_LOW: CFG_FLASH_OFF; in setFlashMode() 243 &cfg); in setFlashMode() [all …]
|
/hardware/google/av/media/eco/include/eco/ |
D | ECOService.h | 89 bool operator==(const SessionConfig& cfg) { 90 return mWidth == cfg.mWidth && mHeight == cfg.mHeight && 91 mIsCameraRecording == cfg.mIsCameraRecording; 103 size_t operator()(const SessionConfig& cfg) const { in operator() 105 return cfg.mWidth | (cfg.mHeight << 16) | ((int32_t)cfg.mIsCameraRecording << 31); in operator()
|
/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 39 cfg(new AMessage), in MediaCodecSanityTest() 55 sp<AMessage> cfg; member in android::MediaCodecSanityTest 112 cfg->setInt32("width", 320); in TEST_P() 113 cfg->setInt32("height", 240); in TEST_P() 114 cfg->setString("mime", MIMETYPE_VIDEO_AVC); in TEST_P() 118 cfg->setInt32("max-input-size", InputSize); in TEST_P() 121 EXPECT_EQ(codec->configure(cfg, nullptr, nullptr, 0), OK); in TEST_P() 141 cfg->setInt32("width", 320); in TEST_P() 142 cfg->setInt32("height", 240); in TEST_P() 143 cfg->setString("mime", MIMETYPE_VIDEO_VP8); in TEST_P() [all …]
|
/hardware/qcom/sdm845/thermal/ |
D | thermal_target.c | 658 struct target_therm_cfg *cfg = NULL; in get_temperatures() local 663 cfg = sensor_cfg_8953; in get_temperatures() 667 cfg = sensor_cfg_660; in get_temperatures() 671 cfg = sensor_cfg_630; in get_temperatures() 676 cfg = sensor_cfg_710; in get_temperatures() 680 cfg = sensor_cfg_632; in get_temperatures() 684 cfg = sensor_cfg_439; in get_temperatures() 688 cfg = sensor_cfg_8917; in get_temperatures() 693 cfg = sensor_cfg_msmnile; in get_temperatures() 697 cfg = sensor_cfg_talos; in get_temperatures() [all …]
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 116 EGLConfig *cfg; in select_config_for_window() local 136 cfg = (EGLConfig*) malloc(sizeof(EGLConfig) * max); in select_config_for_window() 137 if (!cfg) in select_config_for_window() 140 if (eglChooseConfig(dpy, attr, cfg, max, &n) == EGL_FALSE) { in select_config_for_window() 147 eglGetConfigAttrib(dpy, cfg[i], EGL_RED_SIZE, &r); in select_config_for_window() 148 eglGetConfigAttrib(dpy, cfg[i], EGL_GREEN_SIZE, &g); in select_config_for_window() 149 eglGetConfigAttrib(dpy, cfg[i], EGL_BLUE_SIZE, &b); in select_config_for_window() 150 eglGetConfigAttrib(dpy, cfg[i], EGL_ALPHA_SIZE, &a); in select_config_for_window() 152 *config = cfg[i]; in select_config_for_window() 153 free(cfg); in select_config_for_window() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Config.cpp | 161 IPACM_conf_t *cfg; in Init() local 162 cfg = (IPACM_conf_t *)malloc(sizeof(IPACM_conf_t)); in Init() 163 if(cfg == NULL) in Init() 185 if (IPACM_SUCCESS == ipacm_read_cfg_xml(IPACM_config_file, cfg)) in Init() 197 ipa_num_ipa_interfaces = cfg->iface_config.num_iface_entries; in Init() 213 for (i = 0; i < cfg->iface_config.num_iface_entries; i++) in Init() 215 …strncpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init() 216 iface_table[i].if_cat = cfg->iface_config.iface_entries[i].if_cat; in Init() 217 iface_table[i].if_mode = cfg->iface_config.iface_entries[i].if_mode; in Init() 218 iface_table[i].wlan_mode = cfg->iface_config.iface_entries[i].wlan_mode; in Init() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Config.cpp | 170 IPACM_conf_t *cfg; in Init() local 171 cfg = (IPACM_conf_t *)malloc(sizeof(IPACM_conf_t)); in Init() 172 if(cfg == NULL) in Init() 194 if (IPACM_SUCCESS == ipacm_read_cfg_xml(IPACM_config_file, cfg)) in Init() 206 ipa_num_ipa_interfaces = cfg->iface_config.num_iface_entries; in Init() 222 for (i = 0; i < cfg->iface_config.num_iface_entries; i++) in Init() 224 …strlcpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init() 225 iface_table[i].if_cat = cfg->iface_config.iface_entries[i].if_cat; in Init() 226 iface_table[i].if_mode = cfg->iface_config.iface_entries[i].if_mode; in Init() 227 iface_table[i].wlan_mode = cfg->iface_config.iface_entries[i].wlan_mode; in Init() [all …]
|
/hardware/qcom/msm8994/original-kernel-headers/media/ |
D | msm_cam_sensor.h | 233 } cfg; member 241 } cfg; member 249 } cfg; member 289 } cfg; member 353 } cfg; member 374 } cfg; member 534 } cfg; member 553 } cfg; member 585 } cfg; member 601 } cfg; member [all …]
|
/hardware/interfaces/camera/device/3.5/default/ |
D | ExternalCameraDevice.cpp | 31 const std::string& cameraId, const ExternalCameraConfig& cfg) : in ExternalCameraDevice() argument 32 V3_4::implementation::ExternalCameraDevice(cameraId, cfg) {} in ExternalCameraDevice() 46 const ExternalCameraConfig& cfg, in createSession() argument 53 cb, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)); in createSession()
|
/hardware/qcom/msm8996/kernel-headers/media/ |
D | msm_cam_sensor.h | 264 } cfg; member 274 } cfg; member 282 } cfg; member 334 } cfg; member 512 } cfg; member 534 } cfg; member 570 } cfg; member 586 } cfg; member
|
/hardware/qcom/msm8996/original-kernel-headers/media/ |
D | msm_cam_sensor.h | 233 } cfg; member 242 } cfg; member 250 } cfg; member 298 } cfg; member 456 } cfg; member 475 } cfg; member 508 } cfg; member 524 } cfg; member
|
/hardware/qcom/msm8994/kernel-headers/media/ |
D | msm_cam_sensor.h | 260 } cfg; member 269 } cfg; member 277 } cfg; member 320 } cfg; member 491 } cfg; member 512 } cfg; member 547 } cfg; member 564 } cfg; member
|
/hardware/qcom/msm8998/kernel-headers/media/ |
D | msm_cam_sensor.h | 269 } cfg; member 279 } cfg; member 287 } cfg; member 349 } cfg; member 580 } cfg; member 606 } cfg; member 642 } cfg; member 665 } cfg; member
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
D | msm_cam_sensor.h | 239 } cfg; member 248 } cfg; member 256 } cfg; member 314 } cfg; member 521 } cfg; member 545 } cfg; member 578 } cfg; member 600 } cfg; member
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | mlsl.h | 228 int inv_serial_read_cfg(unsigned char *cfg, unsigned int len); 241 int inv_serial_write_cfg(unsigned char *cfg, unsigned int len);
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mlsl.h | 228 int inv_serial_read_cfg(unsigned char *cfg, unsigned int len); 241 int inv_serial_write_cfg(unsigned char *cfg, unsigned int len);
|
/hardware/interfaces/tests/libhwbinder/1.0/default/ |
D | ScheduleTest.cpp | 51 Return<uint32_t> ScheduleTest::send(uint32_t cfg, uint32_t callerSta) { in send() argument 55 int verbose = cfg & 1; in send()
|
/hardware/google/pixel/powerstats/ |
D | GenericStateResidencyDataProvider.cpp | 43 StateResidencyConfig cfg = {stateConfig}; in generateGenericStateResidencyConfigs() local 44 cfg.name = h.first; in generateGenericStateResidencyConfigs() 45 cfg.header = h.second; in generateGenericStateResidencyConfigs() 46 stateResidencyConfigs.emplace_back(cfg); in generateGenericStateResidencyConfigs()
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
D | msm_cam_sensor.h | 461 } cfg; member 469 } cfg; member 477 } cfg; member 517 } cfg; member 738 } cfg; member 769 } cfg; member 811 } cfg; member
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
D | msm_cam_sensor.h | 501 } cfg; member 510 } cfg; member 519 } cfg; member 561 } cfg; member 806 } cfg; member 840 } cfg; member 884 } cfg; member
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehiclePropertyStore.cpp | 133 auto cfg = getConfigOrNull(propId); in getConfigOrDie() local 134 if (!cfg) { in getConfigOrDie() 138 return cfg; in getConfigOrDie()
|
/hardware/ti/am57x/libhwcomposer/ |
D | display.cpp | 240 int HWCDisplay::get_display_attributes(uint32_t cfg, const uint32_t* attributes, int32_t* values) in get_display_attributes() argument 247 if (cfg >= this->configs.size()) in get_display_attributes() 250 display_config_t* config = &this->configs[cfg]; in get_display_attributes()
|
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/ |
D | ExternalCameraDevice_3_5.h | 60 ExternalCameraDevice(const std::string& cameraId, const ExternalCameraConfig& cfg); 77 const ExternalCameraConfig& cfg,
|