/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | power_config.cpp | 119 bool PowerConfig::SplitKey(const std::string& key, std::vector<std::string>& keys) const
in SplitKey() 121 SplitStr(TrimStr(key), ".", keys);
in SplitKey() local 122 return (keys.size() < MIN_DEPTH || keys.size() > MAX_DEPTH) ? false : true;
in SplitKey() 127 std::vector<std::string> keys;
in GetValue() local 128 if (!SplitKey(key, keys)) {
in GetValue() 133 std::string firstKey = keys[MAP_KEY_INDEX];
in GetValue() 136 HDF_LOGW("Value is empty. key=%{public}s", keys[MAP_KEY_INDEX].c_str());
in GetValue() 140 for (size_t i = 1; i < keys.size(); ++i) {
in GetValue() 141 if (!value.isObject() || !value.isMember(keys[ in GetValue() [all...] |
H A D | power_config.h | 45 bool SplitKey(const std::string& key, std::vector<std::string>& keys) const;
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | battery_config.cpp | 372 bool BatteryConfig::SplitKey(const std::string& key, std::vector<std::string>& keys) const in SplitKey() 374 SplitStr(TrimStr(key), ".", keys); in SplitKey() local 375 return (keys.size() < MIN_DEPTH || keys.size() > MAX_DEPTH) ? false : true; in SplitKey() 380 std::vector<std::string> keys; in GetValue() local 381 if (!SplitKey(key, keys)) { in GetValue() 386 std::string firstKey = keys[MAP_KEY_INDEX]; in GetValue() 393 for (size_t i = 1; i < keys.size(); ++i) { in GetValue() 394 if (!value.isObject() || !value.isMember(keys[i])) { in GetValue() 395 BATTERY_HILOGW(COMP_HDI, "The key is not configured. key=%{public}s", keys[ in GetValue() [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_delete_handler.py | 44 help=' '.join(self.handlers.keys()), 60 driver_config_index.keys())) 72 driver_config_index.keys())) 325 board_name_list = list(res_json_format.keys()) 352 model_info_key_list = list(model_info.keys()) 354 file_list = list(model_info[key_name].keys()) 384 model_info_key_list = list(model_info.keys()) 386 file_list = list(model_info[key_name].keys())
|
H A D | hdf_tool_commands.py | 46 for cmd in self.commands.keys():
|
H A D | hdf_get_handler.py | 51 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():
|
H A D | hdf_liteos_scann.py | 233 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()):
|
/drivers/interface/display/buffer/v1_1/hdi_impl/ |
H A D | display_buffer_hdi_impl.h | 79 int32_t ListMetadataKeys(const BufferHandle& handle, std::vector<uint32_t>& keys) override 85 int32_t ret = metadata_->ListMetadataKeys(hdiBuffer, keys);
|
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/ |
H A D | metadata_controller.h | 68 bool UpdateNewTagData(const std::vector<int32_t> &keys, const std::shared_ptr<CameraMetadata> &inMeta,
71 const std::vector<int32_t> &keys, common_metadata_header_t *data, std::shared_ptr<CameraMetadata> &outMeta);
|
/drivers/peripheral/distributed_audio/hdi_service/common/utils/include/ |
H A D | daudio_utils.h | 70 int32_t WrapCJsonItem(const std::initializer_list<std::pair<std::string, std::string>> &keys, std::string &content); 72 bool CJsonParamCheck(const cJSON *jsonObj, const std::initializer_list<std::string> &keys);
|
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/ |
H A D | metadata_controller.cpp | 170 CAMERA_LOGE("filter update keys fail and streamId = %{public}d", streamId); in UpdateSettingsConfig() 332 CAMERA_LOGE("set meta config new keys failed."); in UpdateChangeMetadata() 341 CAMERA_LOGE("update keys metadata failed."); in UpdateChangeMetadata() 347 CAMERA_LOGE("set metadta config keys failed."); in UpdateChangeMetadata() 459 bool MetadataController::UpdateNewTagData(const std::vector<int32_t> &keys, in UpdateNewTagData() argument 462 if (keys.size() == 0) { in UpdateNewTagData() 471 return DealUpdateNewTagData(keys, data, outMeta); in UpdateNewTagData() 475 const std::vector<int32_t> &keys, common_metadata_header_t *data, std::shared_ptr<CameraMetadata> &outMeta) in DealUpdateNewTagData() 478 for (auto it = keys.cbegin(); it != keys in DealUpdateNewTagData() 474 DealUpdateNewTagData( const std::vector<int32_t> &keys, common_metadata_header_t *data, std::shared_ptr<CameraMetadata> &outMeta) DealUpdateNewTagData() argument [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_delete_handler.py | 32 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)
|
/drivers/interface/display/buffer/v1_1/include/ |
H A D | idisplay_buffer.h | 41 virtual int32_t ListMetadataKeys(const BufferHandle& handle, std::vector<uint32_t>& keys) = 0;
|
/drivers/peripheral/display/buffer/hdi_service/src/ |
H A D | metadata_service.cpp | 152 int32_t MetadataService::ListMetadataKeys(const sptr<NativeBuffer>& handle, std::vector<uint32_t>& keys) in ListMetadataKeys() argument 160 int32_t ret = vdiImpl_->ListMetadataKeys(*buffer, keys); in ListMetadataKeys()
|
/drivers/peripheral/display/buffer/test/benchmarktest/ |
H A D | display_buffer_benchmark_test.cpp | 125 std::vector<uint32_t> keys; in BENCHMARK_F() local 129 ret = g_gralloc->ListMetadataKeys(*g_bufferHandle, keys); in BENCHMARK_F()
|
/drivers/peripheral/display/buffer/test/fuzztest/metadata_fuzzer/ |
H A D | metadata_fuzzer.cpp | 119 std::vector<uint32_t> keys = {}; in TestListMetadataKeys() local 120 (void)g_bufferInterface->ListMetadataKeys(handle, keys); in TestListMetadataKeys()
|
/drivers/interface/display/composer/v1_1/include/ |
H A D | idisplay_composer_interface.h | 96 * @brief Set the layer per frame keys supported by a display device. 113 * @brief Obtains the layer per frame keys supported by a display device. 115 * @param keys Indicates the vector of the information about all HDR metadata keys supported by the display device. 122 virtual int32_t GetSupportedLayerPerFrameParameterKey(std::vector<std::string>& keys) = 0;
|
/drivers/peripheral/display/buffer/hdi_service/include/ |
H A D | metadata_service.h | 41 int32_t ListMetadataKeys(const sptr<NativeBuffer>& handle, std::vector<uint32_t>& keys) override;
|
H A D | idisplay_buffer_vdi.h | 128 virtual int32_t ListMetadataKeys(const BufferHandle& handle, std::vector<uint32_t>& keys) = 0;
|
/drivers/peripheral/distributed_audio/hdi_service/common/utils/src/ |
H A D | daudio_utils.cpp | 244 int32_t WrapCJsonItem(const std::initializer_list<std::pair<std::string, std::string>> &keys, std::string &content) in WrapCJsonItem() argument 250 for (auto item : keys) { in WrapCJsonItem() 264 bool CJsonParamCheck(const cJSON *jsonObj, const std::initializer_list<std::string> &keys) in CJsonParamCheck() argument 271 for (auto it = keys.begin(); it != keys.end(); it++) { in CJsonParamCheck()
|
/drivers/peripheral/display/buffer/vdi_base/include/ |
H A D | display_buffer_vdi_impl.h | 45 virtual int32_t ListMetadataKeys(const BufferHandle& handle, std::vector<uint32_t>& keys) override;
|
/drivers/peripheral/display/buffer/vdi_base/src/ |
H A D | display_buffer_vdi_impl.cpp | 101 int32_t DisplayBufferVdiImpl::ListMetadataKeys(const BufferHandle& handle, std::vector<uint32_t>& keys) in ListMetadataKeys() argument
|
/drivers/peripheral/display/composer/hdi_service/include/ |
H A D | idisplay_composer_vdi_v1_1.h | 40 virtual int32_t GetSupportedLayerPerFrameParameterKey(std::vector<std::string>& keys) = 0;
|
/drivers/interface/display/composer/v1_1/hdi_impl/ |
H A D | display_composer_hdi_impl.h | 135 virtual int32_t GetSupportedLayerPerFrameParameterKey(std::vector<std::string>& keys) override 137 return ToDispErrCode(hdi_v1_1_->GetSupportedLayerPerFrameParameterKey(keys));
|
/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 404 std::vector<uint32_t> keys = {}; in MetadataTest() local 414 ret = displayBuffer_->ListMetadataKeys(handle, keys); in MetadataTest() 417 EXPECT_TRUE(keys.size() == 1 && keys[0] == key); in MetadataTest()
|