Home
last modified time | relevance | path

Searched refs:map (Results 1 - 25 of 209) sorted by relevance

123456789

/drivers/hdf_core/framework/utils/src/
H A Dhdf_map.c46 static uint32_t MapHashIdx(const Map *map, uint32_t hash) in MapHashIdx() argument
48 if (map->bucketSize < 1 || map->bucketSize > HDF_UINT32_MAX) { in MapHashIdx()
51 return (hash & (map->bucketSize - 1)); in MapHashIdx()
54 static void MapAddNode(Map *map, struct MapNode *node) in MapAddNode() argument
56 uint32_t idx = MapHashIdx(map, node->hash); in MapAddNode()
57 node->next = map->nodes[idx]; in MapAddNode()
58 map->nodes[idx] = node; in MapAddNode()
61 static int32_t MapResize(Map *map, uint32_t size) in MapResize() argument
73 tmp = map in MapResize()
123 MapSetCheckPara(const Map *map, const char *key, const void *value, uint32_t valueSize) MapSetCheckPara() argument
136 MapSet(Map *map, const char *key, const void *value, uint32_t valueSize) MapSet() argument
191 MapGet(const Map *map, const char *key) MapGet() argument
216 MapErase(Map *map, const char *key) MapErase() argument
250 MapInit(Map *map) MapInit() argument
261 MapDelete(Map *map) MapDelete() argument
[all...]
/drivers/peripheral/camera/vdi_base/v4l2/include/camera_host/
H A Dmetadata_enum_map.h20 #include <map>
24 std::map<std::string, camera_device_metadata_tag_t> MetadataTagMap = {
79 std::map<std::string, camera_position_enum_t> CameraPositionMap = {
85 std::map<std::string, camera_type_enum_t> CameraTypeMap = {
94 std::map<std::string, camera_connection_type_t> cameraConnectionTypeMap = {
100 std::map<std::string, camera_exposure_mode_enum_t> ExposureModeMap = {
107 std::map<std::string, camera_focus_mode_enum_t> FocusModeMap = {
114 std::map<std::string, camera_flash_mode_enum_t> FlashModeMap = {
121 std::map<std::string, camera_meter_mode_t> meterModeMap = {
127 std::map<st
[all...]
/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_map.h26 void MapInit(Map *map);
28 void MapDelete(Map *map);
30 int32_t MapSet(Map *map, const char *key, const void *value, uint32_t valueSize);
32 void *MapGet(const Map *map, const char *key);
34 int32_t MapErase(Map *map, const char *key);
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/
H A Ddmetadata_processor.h20 #include <map>
67 std::map<int, std::vector<DCResolution>> GetDCameraSupportedFormats(const std::string &abilityInfo);
68 void ParsePhotoFormats(cJSON* rootValue, std::map<int, std::vector<DCResolution>>& supportedFormats);
69 void ParsePreviewFormats(cJSON* rootValue, std::map<int, std::vector<DCResolution>>& supportedFormats);
70 void ParseVideoFormats(cJSON* rootValue, std::map<int, std::vector<DCResolution>>& supportedFormats);
73 std::map<int, std::vector<DCResolution>>& supportedFormats, cJSON* rootValue);
75 std::map<int, std::vector<DCResolution>>& supportedFormats, cJSON* rootValue);
77 void InitBasicConfigTag(std::map<int, std::vector<DCResolution>> &supportedFormats,
79 void InitExtendConfigTag(std::map<int, std::vector<DCResolution>> &supportedFormats,
110 std::map<in
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_generator.h13 #include <map>
22 using GeneratePolicies = std::map<SystemLevel, std::map<GenMode, std::map<Language, CodeGenFunc>>>;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_dev.h18 #include <map>
84 static std::map<std::string, std::string> deviceMatch;
85 static std::map<std::string, int> fdMatch;
88 static std::map<std::string, std::string> CreateDevMap() in CreateDevMap()
90 std::map<std::string, std::string> tmp_map; in CreateDevMap()
99 static std::map<std::string, int> CreateFdMap() in CreateFdMap()
101 std::map<std::string, int> tmp_map; in CreateFdMap()
H A Dv4l2_utils.h19 #include <map>
25 static const std::map<CameraBufferFormat, uint32_t> ohos_mapPixFmtHal2V4l2 = {
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_chip.h20 #include <map>
76 const std::map<IfaceType, size_t>& expandedCombo, IfaceType type);
78 std::map<IfaceType, size_t> GetCurrentIfaceCombo();
79 std::vector<std::map<IfaceType, size_t>> ExpandIfaceCombinations(
84 const std::map<IfaceType, size_t>& expandedCombo,
85 const std::map<IfaceType, size_t>& reqCombo);
87 const std::map<IfaceType, size_t>& reqCombo);
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Drunning_lock_timer_handler.h20 #include <map>
44 std::map<RunningLockType, std::map<std::string, uint32_t>> runninglockTimerMap_;
H A Dpower_config.h23 #include <map>
40 const std::map<std::string, PowerConfig::PowerSceneConfig>& GetPowerSceneConfigMap() const;
49 std::map<std::string, PowerConfig::PowerSceneConfig> sceneConfigMap_;
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
H A Ddstream_operator.h19 #include <map>
165 std::map<DCSceneType, std::vector<int>> dcSupportedFormatMap_;
166 std::map<int, std::vector<DCResolution>> dcSupportedPhotoResolutionMap_;
167 std::map<int, std::vector<DCResolution>> dcSupportedPreviewResolutionMap_;
168 std::map<int, std::vector<DCResolution>> dcSupportedVideoResolutionMap_;
170 std::map<int, std::shared_ptr<DCameraStream>> halStreamMap_;
171 std::map<int, std::shared_ptr<DCStreamInfo>> dcStreamInfoMap_;
172 std::map<int, std::shared_ptr<CaptureInfo>> halCaptureInfoMap_;
174 std::map<int, bool> enableShutterCbkMap_;
175 std::map<pai
[all...]
/drivers/external_device_manager/test/moduletest/bus_extension_core_mt/
H A Dbus_extension_core_mt.cpp36 const std::unordered_map<uint64_t, std::shared_ptr<Device>> &map = devmgr.deviceMap_[BUS_TYPE_USB]; in PrintAllDevice() local
37 cout << "usb device size: " << map.size() << endl; in PrintAllDevice()
38 for (const auto &iter : map) { in PrintAllDevice()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/include/
H A Dbuffer_allocator_factory.h22 #include <map>
59 std::map<int32_t, std::weak_ptr<IBufferAllocator>> bufferAllocatorMap_ = {};
60 std::map<int32_t, std::function<IBufferAllocator*()>> allocatorRegisterMap_ = {};
/drivers/peripheral/codec/hal/idl_service/include/
H A Dcodec_component_manager_service.h19 #include <map>
40 void GetManagerMap(std::map<uint32_t, sptr<ICodecComponent>> &dumpMap);
46 std::map<uint32_t, sptr<ICodecComponent>> componentMap_;
/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/
H A Detx_device_mgr.cpp42 EDM_LOGD(MODULE_DEV_MGR, " bundleInfo map size[%{public}zu]", bundleMatchMap_.size()); in PrintMatchDriverMap()
46 EDM_LOGD(MODULE_DEV_MGR, "print match map info[%{public}s], deviceId %{public}016" PRIX64 "", in PrintMatchDriverMap()
50 EDM_LOGD(MODULE_DEV_MGR, "ExtDeviceManager print driver match map success"); in PrintMatchDriverMap()
114 EDM_LOGI(MODULE_DEV_MGR, "not find bundleInfo from map"); in RemoveDevIdOfBundleInfoMap()
155 unordered_map<uint64_t, shared_ptr<Device>> &map = deviceMap_[type]; in RemoveDeviceOfDeviceMap() local
156 map.erase(deviceId); in RemoveDeviceOfDeviceMap()
231 unordered_map<uint64_t, shared_ptr<Device>> &map = deviceMap_[type]; in RegisterDevice() local
232 if (map.find(deviceId) != map.end() && map[deviceI in RegisterDevice()
293 unordered_map<uint64_t, shared_ptr<Device>> &map = deviceMap_[type]; UnRegisterDevice() local
335 unordered_map<uint64_t, shared_ptr<Device>> map = deviceMap_[busType]; QueryDevice() local
[all...]
/drivers/external_device_manager/services/native/driver_extension/src/
H A Ddriver_extension_module_loader.cpp28 std::map<std::string, std::string> DriverExtensionModuleLoader::GetParams() in GetParams()
30 std::map<std::string, std::string> params; in GetParams()
/drivers/external_device_manager/utils/include/
H A Dibus_extension.h19 #include <map>
29 virtual shared_ptr<DriverInfoExt> ParseDriverInfo(const map<string, string> &metadata) = 0;
/drivers/peripheral/camera/vdi_base/common/include/
H A Dbuffer_manager.h20 #include <map>
48 std::map<int64_t, std::weak_ptr<IBufferPool>> bufferPoolMap_;
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/
H A Dmetadata_config.h20 #include <map>
29 using CameraMetadataMap = std::map<int32_t, std::shared_ptr<CameraMetadata>>;
/drivers/peripheral/camera/vdi_base/v4l2/include/offline_stream_operator/
H A Doffline_stream_operator_vdi_impl.h19 #include <map>
43 std::map<int, std::shared_ptr<OfflineStream>> offlineStreamMap_ = {};
/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/
H A Dmedia_key_system_service.h41 int32_t GetStatistics(std::map<std::string, std::string>& statistics) override;
76 std::map<std::string, std::vector<uint8_t>> configuration_;
77 std::map<std::string, std::string> configurationString_;
78 std::map<sptr<MediaKeySessionService>, bool> mediaKeySessionMap_;
82 std::map<std::string, std::string> offlineKeyIdAndKeyValueBase64_;
/drivers/hdf_core/framework/model/sensor/driver/als/
H A Dsensor_als_driver.h91 int32_t GetTimeByRegValue(uint8_t regValue, struct TimeRegAddrValueMap *map, int32_t itemNum);
92 int32_t GetRegGroupIndexByTime(uint32_t timeValue, struct TimeRegAddrValueMap *map, int32_t itemNum);
93 int32_t GetGainByRegValue(uint8_t regValue, struct GainRegAddrValueMap *map, int32_t itemNum);
/drivers/hdf_core/interfaces/inner_api/hdi/
H A Dobject_collector.h47 #include <map>
80 std::map<const std::u16string, const Constructor> constructorMapper_;
82 std::map<HdiBase *, wptr<IRemoteObject>> interfaceObjectCollector_;
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_thread.h19 #include <map>
31 using UeventMap = std::map<std::string, std::vector<std::pair<std::string, std::string>>>;
65 std::map<int32_t, Callback> callbacks_;
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
H A Dcreate_devicemanager_factory.h21 #include <map>
31 std::map<std::string, createClass>::const_iterator iter; in GetDeviceManagerByName()
52 std::map<std::string, createClass> deviceManagerMap_;

Completed in 7 milliseconds

123456789