Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 22 of 22) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_config.cpp182 bool BatteryConfig::SplitKey(const std::string& key, std::vector<std::string>& keys) const in SplitKey()
184 SplitStr(TrimStr(key), ".", keys); in SplitKey()
185 return (keys.size() < MIN_DEPTH || keys.size() > MAX_DEPTH) ? false : true; in SplitKey()
190 std::vector<std::string> keys; in GetValue() local
191 if (!SplitKey(key, keys)) { in GetValue()
196 Json::Value value = FindConf(keys[MAP_KEY_INDEX]); in GetValue()
198 BATTERY_HILOGW(COMP_HDI, "Value is empty. key=%{public}s", keys[MAP_KEY_INDEX].c_str()); in GetValue()
202 for (size_t i = 1; i < keys.size(); ++i) { in GetValue()
203 if (!value.isObject() || !value.isMember(keys[i])) { in GetValue()
204 BATTERY_HILOGW(COMP_HDI, "The key is not configured. key=%{public}s", keys[i].c_str()); in GetValue()
[all …]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
Dhdf_delete_handler.py44 help=' '.join(self.handlers.keys()),
224 board_name_list = list(res_json_format.keys())
251 model_info_key_list = list(model_info.keys())
253 file_list = list(model_info[key_name].keys())
283 model_info_key_list = list(model_info.keys())
285 file_list = list(model_info[key_name].keys())
309 driver_config_index.keys()))
321 driver_config_index.keys()))
Dhdf_tool_commands.py46 for cmd in self.commands.keys():
Dhdf_get_handler.py51 help=' '.join(self.handlers.keys()),
156 file_key_list = list(list(json_type.items())[0][-1].keys())
249 board_list = list(model_driver_json.keys())
261 board_list = list(temp_res.keys())
289 for type_name in temp_driver_info.keys():
Dhdf_liteos_scann.py233 for name in list(model_path_dict.keys()):
250 for k_name in list(return_dict.keys()):
251 for model_detail in list(return_dict.get(k_name).keys()):
382 for key_model in list(return_dict.keys()):
398 for enable_name_lower in list(temp_key_model.keys()):
Dhdf_set_handler.py46 help=' '.join(self.handlers.keys()),
Dhdf_add_handler.py43 help=' '.join(self.handlers.keys()),
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
Dhdi_delete_handler.py32 help=' '.join(self.handlers.keys()),
214 temp_str = pre_dict[list(pre_dict.keys())[0]][0].split(":")[0]
217 if result_test_str in pre_dict[list(pre_dict.keys())[1]]:
218 pre_dict[list(pre_dict.keys())[1]].remove(result_test_str)
Dhdi_get_handler.py29 help=' '.join(self.handlers.keys()),
Dhdi_add_handler.py34 help=' '.join(self.handlers.keys()),
376 for key_name in list(config_list.keys()):
427 temp_str = pre_dict[list(pre_dict.keys())[0]][0].split(":")[0]
430 if result_test_str not in pre_dict[list(pre_dict.keys())[1]]:
431 pre_dict[list(pre_dict.keys())[1]].append(result_test_str)
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/
Dmetadata_controller.h68 …bool UpdateNewTagData(const std::vector<int32_t> &keys, const std::shared_ptr<CameraMetadata> &inM…
71 …const std::vector<int32_t> &keys, common_metadata_header_t *data, std::shared_ptr<CameraMetadata> …
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
Dmetadata_controller.cpp444 bool MetadataController::UpdateNewTagData(const std::vector<int32_t> &keys, in UpdateNewTagData() argument
447 if (keys.size() == 0) { in UpdateNewTagData()
456 return DealUpdateNewTagData(keys, data, outMeta); in UpdateNewTagData()
460 …const std::vector<int32_t> &keys, common_metadata_header_t *data, std::shared_ptr<CameraMetadata> … in DealUpdateNewTagData() argument
463 for (auto it = keys.cbegin(); it != keys.cend(); it++) { in DealUpdateNewTagData()
/drivers/peripheral/battery/interfaces/hdi_service/include/
Dbattery_config.h52 bool SplitKey(const std::string& key, std::vector<std::string>& keys) const;
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
Dhdf_tool_settings.py69 return ','.join(self.settings.get(key).keys())
124 return list(self.settings.get(key).keys())
Dhdf_utils.py407 file_key_list = list(list(data.items())[0][-1].keys())[:-1]
/drivers/peripheral/display/interfaces/include/
Ddisplay_device.h525 int32_t (*GetSupportedMetadataKey)(uint32_t devId, uint32_t *num, HDRMetadataKey *keys);
/drivers/peripheral/user_auth/test/unittest/attribute_test/
Dattribute_test.cpp485 const std::vector<AttributeKey> keys = {AUTH_RESULT_CODE, AUTH_SIGNATURE, AUTH_DATA, variable
492 for (const auto key : keys) {
509 for (uint32_t i = 0; i < keys.size(); ++i) {
512 ASSERT_EQ(GetAttributeUint8Array(attribute, keys[i], &value), RESULT_SUCCESS);
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/public_moudle/
Dbase.py17 from selenium.webdriver.common.keys import Keys
/drivers/interface/display/composer/v1_0/include/
Didisplay_composer_interface.h521 virtual int32_t GetSupportedMetadataKey(uint32_t devId, std::vector<HDRMetadataKey>& keys) = 0;
/drivers/interface/display/composer/v1_0/hdi_impl/
Ddisplay_composer_hdi_impl.h323 …virtual int32_t GetSupportedMetadataKey(uint32_t devId, std::vector<HDRMetadataKey>& keys) override in GetSupportedMetadataKey() argument
/drivers/interface/display/composer/v1_0/
DDisplayComposerType.idl558 * @brief Enumerates the HDR metadata keys.
/drivers/hdf_core/framework/tools/hdi-gen/
Dbuild_hdi_files_info.py142 if key in self._key_words.keys():