/hardware/qcom/sdm845/gps/msm8998/android/ |
D | GnssConfiguration.cpp | 43 GnssConfig config; in setSuplEs() local 44 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 45 config.size = sizeof(GnssConfig); in setSuplEs() 46 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 47 config.suplEmergencyServices = (enabled ? in setSuplEs() 51 return mGnss->updateConfiguration(config); in setSuplEs() 60 GnssConfig config; in setSuplVersion() local 61 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 62 config.size = sizeof(GnssConfig); in setSuplVersion() 63 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/gps/msm8998/android/ |
D | GnssConfiguration.cpp | 43 GnssConfig config; in setSuplEs() local 44 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 45 config.size = sizeof(GnssConfig); in setSuplEs() 46 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 47 config.suplEmergencyServices = (enabled ? in setSuplEs() 51 return mGnss->updateConfiguration(config); in setSuplEs() 60 GnssConfig config; in setSuplVersion() local 61 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 62 config.size = sizeof(GnssConfig); in setSuplVersion() 63 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150p/gps/android/1.0/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | GnssConfiguration.cpp | 43 GnssConfig config; in setSuplEs() local 44 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 45 config.size = sizeof(GnssConfig); in setSuplEs() 46 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 47 config.suplEmergencyServices = (enabled ? in setSuplEs() 51 return mGnss->updateConfiguration(config); in setSuplEs() 60 GnssConfig config; in setSuplVersion() local 61 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 62 config.size = sizeof(GnssConfig); in setSuplVersion() 63 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm7150/gps/android/1.0/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150/gps/android/1.0/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Xml.cpp | 62 IPACM_conf_t *config 68 IPACM_firewall_conf_t *config 124 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument 140 memset(config, 0, sizeof(IPACM_conf_t)); in ipacm_read_cfg_xml() 143 ret_val = ipacm_cfg_xml_parse_tree(root, config); in ipacm_read_cfg_xml() 160 IPACM_conf_t *config in ipacm_cfg_xml_parse_tree() argument 192 config->iface_config.num_iface_entries++; in ipacm_cfg_xml_parse_tree() 198 config->private_subnet_config.num_subnet_entries++; in ipacm_cfg_xml_parse_tree() 204 config->alg_config.num_alg_entries++; in ipacm_cfg_xml_parse_tree() 207 ret_val = ipacm_cfg_xml_parse_tree(xml_node->children, config); in ipacm_cfg_xml_parse_tree() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Xml.cpp | 62 IPACM_conf_t *config 68 IPACM_firewall_conf_t *config 115 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument 131 memset(config, 0, sizeof(IPACM_conf_t)); in ipacm_read_cfg_xml() 134 ret_val = ipacm_cfg_xml_parse_tree(root, config); in ipacm_read_cfg_xml() 151 IPACM_conf_t *config in ipacm_cfg_xml_parse_tree() argument 183 config->iface_config.num_iface_entries++; in ipacm_cfg_xml_parse_tree() 189 config->private_subnet_config.num_subnet_entries++; in ipacm_cfg_xml_parse_tree() 195 config->alg_config.num_alg_entries++; in ipacm_cfg_xml_parse_tree() 198 ret_val = ipacm_cfg_xml_parse_tree(xml_node->children, config); in ipacm_cfg_xml_parse_tree() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Xml.cpp | 62 IPACM_conf_t *config 68 IPACM_firewall_conf_t *config 115 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument 131 memset(config, 0, sizeof(IPACM_conf_t)); in ipacm_read_cfg_xml() 134 ret_val = ipacm_cfg_xml_parse_tree(root, config); in ipacm_read_cfg_xml() 151 IPACM_conf_t *config in ipacm_cfg_xml_parse_tree() argument 183 config->iface_config.num_iface_entries++; in ipacm_cfg_xml_parse_tree() 189 config->private_subnet_config.num_subnet_entries++; in ipacm_cfg_xml_parse_tree() 195 config->alg_config.num_alg_entries++; in ipacm_cfg_xml_parse_tree() 198 ret_val = ipacm_cfg_xml_parse_tree(xml_node->children, config); in ipacm_cfg_xml_parse_tree() [all …]
|
/hardware/qcom/sm7150/gps/android/1.1/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150/gps/android/1.1/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150p/gps/android/1.1/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150/gps/android/2.0/ |
D | GnssConfiguration.cpp | 53 GnssConfig config; in setSuplVersion() local 54 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 55 config.size = sizeof(GnssConfig); in setSuplVersion() 56 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() 59 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_4; in setSuplVersion() 62 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_2; in setSuplVersion() 65 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_0; in setSuplVersion() 68 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_1_0_0; in setSuplVersion() 76 return mGnss->updateConfiguration(config); in setSuplVersion() 85 GnssConfig config; in setSuplMode() local [all …]
|
/hardware/qcom/sm7150/gps/android/2.0/ |
D | GnssConfiguration.cpp | 53 GnssConfig config; in setSuplVersion() local 54 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 55 config.size = sizeof(GnssConfig); in setSuplVersion() 56 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() 59 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_4; in setSuplVersion() 62 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_2; in setSuplVersion() 65 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_0; in setSuplVersion() 68 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_1_0_0; in setSuplVersion() 76 return mGnss->updateConfiguration(config); in setSuplVersion() 85 GnssConfig config; in setSuplMode() local [all …]
|
/hardware/qcom/sm8150p/gps/android/2.0/ |
D | GnssConfiguration.cpp | 53 GnssConfig config; in setSuplVersion() local 54 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 55 config.size = sizeof(GnssConfig); in setSuplVersion() 56 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() 59 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_2; in setSuplVersion() 62 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_0; in setSuplVersion() 65 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_1_0_0; in setSuplVersion() 73 return mGnss->updateConfiguration(config); in setSuplVersion() 82 GnssConfig config; in setSuplMode() local 83 memset(&config, 0, sizeof(GnssConfig)); in setSuplMode() [all …]
|
/hardware/qcom/sdm845/gps/sdm845/android/ |
D | GnssConfiguration.cpp | 46 GnssConfig config; in setSuplEs() local 47 memset(&config, 0, sizeof(GnssConfig)); in setSuplEs() 48 config.size = sizeof(GnssConfig); in setSuplEs() 49 config.flags = GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in setSuplEs() 50 config.suplEmergencyServices = (enabled ? in setSuplEs() 54 return mGnss->updateConfiguration(config); in setSuplEs() 63 GnssConfig config; in setSuplVersion() local 64 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 65 config.size = sizeof(GnssConfig); in setSuplVersion() 66 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() [all …]
|
/hardware/qcom/sm8150/gps/android/2.1/ |
D | GnssConfiguration.cpp | 53 GnssConfig config; in setSuplVersion() local 54 memset(&config, 0, sizeof(GnssConfig)); in setSuplVersion() 55 config.size = sizeof(GnssConfig); in setSuplVersion() 56 config.flags = GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in setSuplVersion() 59 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_4; in setSuplVersion() 62 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_2; in setSuplVersion() 65 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_2_0_0; in setSuplVersion() 68 config.suplVersion = GNSS_CONFIG_SUPL_VERSION_1_0_0; in setSuplVersion() 76 return mGnss->updateConfiguration(config); in setSuplVersion() 85 GnssConfig config; in setSuplMode() local [all …]
|
/hardware/qcom/sdm845/vr/ |
D | vr.c | 163 static void free_config_instance(struct config_instance *config){ in free_config_instance() argument 165 if (config) { in free_config_instance() 166 if (config->fields) { in free_config_instance() 167 free(config->fields[0].data); in free_config_instance() 168 free(config->fields[0].field_name); in free_config_instance() 169 free(config->fields); in free_config_instance() 171 free(config->algo_type); in free_config_instance() 172 free(config->cfg_desc); in free_config_instance() 173 free(config); in free_config_instance() 182 … struct config_instance *config = (struct config_instance *)malloc(sizeof(struct config_instance)); in allocate_config_instance() local [all …]
|
/hardware/qcom/sm8150/vr/ |
D | vr.c | 163 static void free_config_instance(struct config_instance *config){ in free_config_instance() argument 165 if (config) { in free_config_instance() 166 if (config->fields) { in free_config_instance() 167 free(config->fields[0].data); in free_config_instance() 168 free(config->fields[0].field_name); in free_config_instance() 169 free(config->fields); in free_config_instance() 171 free(config->algo_type); in free_config_instance() 172 free(config->cfg_desc); in free_config_instance() 173 free(config); in free_config_instance() 182 … struct config_instance *config = (struct config_instance *)malloc(sizeof(struct config_instance)); in allocate_config_instance() local [all …]
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssConfiguration.cpp | 39 std::string config = "SUPL_ES=" + std::to_string(enabled ? 1 : 0) + "\n"; in setSuplEs() local 40 mGnssConfigIface->configuration_update(config.c_str(), config.size()); in setSuplEs() 50 std::string config = "SUPL_VER=" + std::to_string(version) + "\n"; in setSuplVersion() local 51 mGnssConfigIface->configuration_update(config.c_str(), config.size()); in setSuplVersion() 62 std::string config = "SUPL_MODE=" + std::to_string(mode) + "\n"; in setSuplMode() local 63 mGnssConfigIface->configuration_update(config.c_str(), config.size()); in setSuplMode() 73 std::string config = "LPP_PROFILE=" + std::to_string(lppProfile) + "\n"; in setLppProfile() local 74 mGnssConfigIface->configuration_update(config.c_str(), config.size()); in setLppProfile() 84 std::string config = "A_GLONASS_POS_PROTOCOL_SELECT=" + in setGlonassPositioningProtocol() local 86 mGnssConfigIface->configuration_update(config.c_str(), config.size()); in setGlonassPositioningProtocol() [all …]
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 31 status_t HidlUtils::audioConfigFromHal(const audio_config_t& halConfig, AudioConfig* config) { in audioConfigFromHal() argument 32 config->sampleRateHz = halConfig.sample_rate; in audioConfigFromHal() 33 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioConfigFromHal() 34 config->format = AudioFormat(halConfig.format); in audioConfigFromHal() 35 status_t status = audioOffloadInfoFromHal(halConfig.offload_info, &config->offloadInfo); in audioConfigFromHal() 36 config->frameCount = halConfig.frame_count; in audioConfigFromHal() 40 void HidlUtils::audioConfigToHal(const AudioConfig& config, audio_config_t* halConfig) { in audioConfigToHal() argument 42 halConfig->sample_rate = config.sampleRateHz; in audioConfigToHal() 43 halConfig->channel_mask = static_cast<audio_channel_mask_t>(config.channelMask); in audioConfigToHal() 44 halConfig->format = static_cast<audio_format_t>(config.format); in audioConfigToHal() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
D | ProtoMessageConverter_test.cpp | 35 void CheckPropConfigConversion(const VehiclePropConfig& config) { in CheckPropConfigConversion() argument 39 toProto(&protoCfg, config); in CheckPropConfigConversion() 42 EXPECT_EQ(config.prop, tmpConfig.prop); in CheckPropConfigConversion() 43 EXPECT_EQ(config.access, tmpConfig.access); in CheckPropConfigConversion() 44 EXPECT_EQ(config.changeMode, tmpConfig.changeMode); in CheckPropConfigConversion() 45 EXPECT_EQ(config.configString, tmpConfig.configString); in CheckPropConfigConversion() 46 EXPECT_EQ(config.minSampleRate, tmpConfig.minSampleRate); in CheckPropConfigConversion() 47 EXPECT_EQ(config.maxSampleRate, tmpConfig.maxSampleRate); in CheckPropConfigConversion() 48 EXPECT_EQ(config.configArray, tmpConfig.configArray); in CheckPropConfigConversion() 50 EXPECT_EQ(config.areaConfigs.size(), tmpConfig.areaConfigs.size()); in CheckPropConfigConversion() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | DefaultConfig.h | 185 VehiclePropConfig config; member 196 {.config = 204 {.config = 212 {.config = 220 {.config = 228 {.config = 236 {.config = 244 {.config = 252 {.config = 260 {.config = [all …]
|
/hardware/google/pixel/powerstats/ |
D | GenericStateResidencyDataProvider.cpp | 63 static bool parseState(PowerEntityStateResidencyData &data, const StateResidencyConfig &config, in parseState() argument 67 config.entryCountSupported + config.totalTimeSupported + config.lastEntrySupported; in parseState() 72 if (config.entryCountSupported && utils::extractStat(line, config.entryCountPrefix, stat)) { in parseState() 74 config.entryCountTransform ? config.entryCountTransform(stat) : stat; in parseState() 76 } else if (config.totalTimeSupported && in parseState() 77 utils::extractStat(line, config.totalTimePrefix, stat)) { in parseState() 79 config.totalTimeTransform ? config.totalTimeTransform(stat) : stat; in parseState() 81 } else if (config.lastEntrySupported && in parseState() 82 utils::extractStat(line, config.lastEntryPrefix, stat)) { in parseState() 84 config.lastEntryTransform ? config.lastEntryTransform(stat) : stat; in parseState() [all …]
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | Utils.cpp | 143 BandConfig *config, in convertBandConfigFromHal() argument 147 config->type = static_cast<Band>(halConfig->type); in convertBandConfigFromHal() 148 config->antennaConnected = halConfig->antenna_connected; in convertBandConfigFromHal() 149 config->lowerLimit = halConfig->lower_limit; in convertBandConfigFromHal() 150 config->upperLimit = halConfig->upper_limit; in convertBandConfigFromHal() 151 config->spacings.setToExternal(const_cast<unsigned int *>(&halConfig->spacings[0]), in convertBandConfigFromHal() 154 config->spacings.resize(halConfig->num_spacings); in convertBandConfigFromHal() 156 if (config->type == Band::FM) { in convertBandConfigFromHal() 157 config->ext.fm.deemphasis = static_cast<Deemphasis>(halConfig->fm.deemphasis); in convertBandConfigFromHal() 158 config->ext.fm.stereo = halConfig->fm.stereo; in convertBandConfigFromHal() [all …]
|