/drivers/interface/camera/sequenceable/map_data/ |
H A D | map_data_sequenceable.h | 20 #include <string> 38 int32_t Get(const std::string &key, int32_t &value) const; 39 int32_t Get(const std::string &key, int64_t &value) const; 40 int32_t Get(const std::string &key, double &value) const; 41 int32_t Get(const std::string &key, std::string &value) const; 42 int32_t Set(const std::string &key, int32_t value); 43 int32_t Set(const std::string &key, int64_t value); 44 int32_t Set(const std::string &key, double value); 45 int32_t Set(const std::string [all...] |
/test/ostest/wukong/report/include/ |
H A D | statistics_componment.h | 19 #include <string> 29 std::string componmentType_ = ""; 42 uint32_t ComponmentTypesIndex(const std::string &componmentType) in ComponmentTypesIndex() 54 std::vector<std::string> componmentTypes_; 62 void StatisticsDetail(std::vector<std::map<std::string, std::string>> srcDatas, 63 std::map<std::string, std::shared_ptr<Table>> &destTables); 74 std::vector<std::string> &line); 81 void SrcDatasPretreatment(std::vector<std::map<std::string, std::string>> srcData [all...] |
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/ |
H A D | drv_bundle_state_callback.h | 52 typedef int32_t(*PCALLBACKFUN)(int, int, const string &, const string &); 64 const std::string &resultMsg, const std::string &bundleName) override; 71 virtual void OnBundleAdded(const std::string &bundleName, const int userId) override; 77 virtual void OnBundleUpdated(const std::string &bundleName, const int userId) override; 83 virtual void OnBundleRemoved(const std::string &bundleName, const int userId) override; 92 string GetStiching(); 105 string stiching = "This is used for Name Stiching"; 112 bool QueryDriverInfos(const std::string [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbinput.c | 35 * This list of commands must match the string table below it 244 {1, " [0x01 0x1234 \"string\"]", 329 * PARAMETERS: command - Command string to match 384 * PARAMETERS: command - Command string to match 414 * PARAMETERS: command - Optional command string to display help. 452 * PARAMETERS: string - Command buffer 461 char *acpi_db_get_next_token(char *string, in acpi_db_get_next_token() argument 470 if (!string || !(*string)) { in acpi_db_get_next_token() 476 while (*string in acpi_db_get_next_token() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | dbinput.c | 35 * This list of commands must match the string table below it 246 {1, " [0x01 0x1234 \"string\"]", 332 * PARAMETERS: command - Command string to match 387 * PARAMETERS: command - Command string to match 417 * PARAMETERS: command - Optional command string to display help. 455 * PARAMETERS: string - Command buffer 464 char *acpi_db_get_next_token(char *string, in acpi_db_get_next_token() argument 473 if (!string || !(*string)) { in acpi_db_get_next_token() 479 while (*string in acpi_db_get_next_token() [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | cpp_interface_code_emitter.h | 23 bool ResolveDirectory(const std::string &targetDirectory) override;
37 void EmitInterfaceDescriptor(StringBuilder &sb, const std::string &prefix) const;
39 void EmitGetMethodDecl(StringBuilder &sb, const std::string &prefix) const;
41 void EmitInterfaceDestruction(StringBuilder &sb, const std::string &prefix) const;
43 void EmitInterfaceMethodsDecl(StringBuilder &sb, const std::string &prefix);
45 void EmitInterfaceMethodDecl(const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const;
47 void EmitInterfaceGetVersionMethod(StringBuilder &sb, const std::string &prefix) const;
49 void EmitInterfaceIsProxyMethod(StringBuilder &sb, const std::string &prefix) const;
52 const AutoPtr<ASTParameter> ¶m, StringBuilder &sb, const std::string &prefix) const;
54 void EmitInterfaceMethodCommandsWithExtends(StringBuilder &sb, const std::string [all...] |
H A D | code_emitter.cpp | 18 bool CodeEmitter::OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode)
in OutPut() 28 bool CodeEmitter::Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode)
in Reset() 60 std::string prefix = StringHelper::Format("%c%s", tolower(baseName_[0]), baseName_.substr(1).c_str());
in Reset() 115 std::string CodeEmitter::GetFileParentPath(const std::string &outDir) const
in GetFileParentPath() 120 std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - 1) : outDir;
in GetFileParentPath() 121 std::string subPackage = Options::GetInstance().GetSubPackage(ast_->GetPackageName());
in GetFileParentPath() 122 std::string subPath = StringHelper::Replace(subPackage, '.', SEPARATOR);
in GetFileParentPath() 130 std::string CodeEmitter::PackageToFilePath(const std::string [all...] |
/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | sensor_info_config.h | 19 #include <string> 28 std::string type; 29 std::string replace; 31 bool operator == (const std::string &sensorType) in operator ==() 38 std::string type; 39 std::string path; 40 bool operator == (const std::string &sensorType) in operator ==() 47 std::string type; 48 std::string tempPath; 57 void SetGroupName(const std::string [all...] |
H A D | thermal_dfx.h | 23 #include <string> 45 std::string CanonicalizeSpecPath(const char* src); 46 bool Compress(const std::string& dataFile, const std::string& destFile); 48 void ProcessLogInfo(std::string& logFile, bool isEmpty); 49 void WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime); 50 void WriteToFile(std::ofstream& wStream, std::string& currentTime); 53 std::string GetFileNameIndex(const uint32_t index); 54 int32_t GetIntParameter(const std::string& key, const int32_t def, const int32_t minValue); 55 bool GetBoolParameter(const std::string [all...] |
/test/xts/acts/security/huks/huks_napi_BasicTest/include/ |
H A D | huks_cipher_rsa_test_common.h | 19 #include <string> 25 static const std::string g_inData_5 = "RSA_5"; 26 static const std::string g_inData_12 = "RSA_12_ttttt"; 27 static const std::string g_inData_14 = "RSA_14_ttttttt"; 28 static const std::string g_inData_20 = "RSA_20_ttttttttttttt"; 29 static const std::string g_inData_32 = "RSA_32_ttttttttttttttttttttttttt"; 30 static const std::string g_inData_64 = "RSA_64_ttttttttttttttttttttttttttttttttttttttttttttttttttttttttt"; 31 static const std::string g_inData_96 = 34 static const std::string g_inData_128 = 37 static const std::string g_inData_25 [all...] |
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | event-utils.h | 29 static inline char *strim(char *string) in strim() argument 33 if (!string) in strim() 35 while (*string) { in strim() 36 if (!isspace(*string)) in strim() 38 string++; in strim() 40 ret = string; in strim() 42 string = ret + strlen(ret) - 1; in strim() 43 while (string > ret) { in strim() 44 if (!isspace(*string)) in strim() 46 string in strim() [all...] |
/test/xts/hats/distributedhardware/distributedcameratest/ |
H A D | dcameratest.h | 26 int32_t OnRegisterNotify(const std::string& devId, const std::string& dhId, const std::string& reqId,
in OnRegisterNotify() 27 int32_t status, std::string& data)
in OnRegisterNotify() 32 int32_t OnUnregisterNotify(const std::string& devId, const std::string& dhId, const std::string& reqId,
in OnUnregisterNotify() 33 int32_t status, std::string& data)
in OnUnregisterNotify() 38 int32_t OnHardwareStateChanged(const std::string &devId, const std::string [all...] |
/test/xts/hats/distributedhardware/distributedcameratest_additional/ |
H A D | dcameratest.h | 29 int32_t OnRegisterNotify(const std::string &devId, const std::string &dhId, const std::string &reqId, in OnRegisterNotify() 30 int32_t status, std::string &data) in OnRegisterNotify() 35 int32_t OnUnregisterNotify(const std::string &devId, const std::string &dhId, const std::string &reqId, in OnUnregisterNotify() 36 int32_t status, std::string &data) in OnUnregisterNotify() 41 int32_t OnHardwareStateChanged(const std::string &devId, const std::string [all...] |
/test/ostest/wukong/common/src/ |
H A D | wukong_util.cpp | 44 const std::string DEFAULT_DIR = "/data/local/tmp/wukong/report/"; 76 bool TakeWuKongScreenCap(const std::string &wkScreenPath, const bool checkBWScreen = false) in TakeWuKongScreenCap() 149 startRunTime_ = std::string(fileNameBuf); in WuKongUtil() 156 std::string dirStr = "/"; in WuKongUtil() 157 std::vector<std::string> strs; in WuKongUtil() 203 std::string bundleName = item.elementName.GetBundleName(); in GetAllAppInfo() 219 void WuKongUtil::GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abilitylist) in GetBundleList() 228 uint32_t WuKongUtil::FindElement(std::vector<std::string> &bundleList, std::string ke [all...] |
H A D | app_manager.cpp | 26 const std::string HELP_MSG_NO_ABILITY_NAME_OPTION = "error: -a <ability-name> is expected"; 27 const std::string HELP_MSG_NO_BUNDLE_NAME_OPTION = "error: -b <bundle-name> is expected"; 29 const std::string STRING_START_ABILITY_OK = "start ability successfully."; 30 const std::string STRING_START_ABILITY_NG = "error: failed to start ability."; 33 bool AppManager::BlockAbilityController::AllowAbilityStart(const AAFwk::Want &want, const std::string &bundleName) in AllowAbilityStart() 36 std::vector<std::string> blocklist; in AllowAbilityStart() 37 std::vector<std::string> tempAllowList; in AllowAbilityStart() 69 bool AppManager::BlockAbilityController::AllowAbilityBackground(const std::string &bundleName) in AllowAbilityBackground() 78 ErrCode AppManager::StartAbilityByBundleInfo(std::string abilityName, std::string bundleNam [all...] |
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_major.cpp | 49 DistributeTestEnvironment::DistributeTestEnvironment(std::string cfgFile) : serverPort_(DEFAULT_AGENT_PORT)
in DistributeTestEnvironment() 54 void DistributeTestEnvironment::Init(std::string fileName)
in Init() 57 std::string iplist;
in Init() 61 std::string::size_type posend = 0;
in Init() 62 std::string::size_type pos = 0;
in Init() 64 std::string ipaddr;
in Init() 66 if (posend != std::string::npos) {
in Init() 76 } while (posend != std::string::npos);
in Init() 77 std::string strPort;
in Init() 97 int DistributeTestEnvironment::AddClient(std::string ipAdd [all...] |
/drivers/peripheral/display/composer/vdi_base/include/ |
H A D | drm_plane.h | 19 #include <string> 83 const std::string PROP_FBID = "FB_ID"; 84 const std::string PROP_IN_FENCE_FD = "IN_FENCE_FD"; 85 const std::string PROP_CRTC_ID = "CRTC_ID"; 86 const std::string PROP_TYPE = "type"; 88 const std::string PROP_CRTC_X_ID = "CRTC_X"; 89 const std::string PROP_CRTC_Y_ID = "CRTC_Y"; 90 const std::string PROP_CRTC_W_ID = "CRTC_W"; 91 const std::string PROP_CRTC_H_ID = "CRTC_H"; 93 const std::string PROP_SRC_X_I [all...] |
/drivers/peripheral/codec/test/demo/heif/include/ |
H A D | command_parser.h | 19 #include <string> 37 std::string primaryImgPath = ""; 38 std::string auxiliaryImgPath = ""; 39 std::string thumbnailImgPath = ""; 40 std::string gainMapPath = ""; 41 std::string exifDataPath = ""; 42 std::string userDataPath = ""; 43 std::string iccProfilePath = ""; 44 std::string it35Path = ""; 45 std::string outputPat [all...] |
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | file.cpp | 16 std::string File::AbsPath(const std::string &path) in AbsPath() 30 std::string File::StripSuffix(std::string path) in StripSuffix() 34 if (sepPos == std::string::npos || dotPos > sepPos) { in StripSuffix() 41 std::string File::GetDir(std::string path) in GetDir() 44 if (separatorPos == std::string::npos) { in GetDir() 50 std::string File::FileNameBase(const std::string [all...] |
H A D | file.h | 12 #include <string> 19 static std::string AbsPath(const std::string &path); 20 static std::string StripSuffix(std::string path); 21 static std::string GetDir(std::string path); 22 static std::string FileNameBase(const std::string &path);
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/ |
H A D | sensor_manager.h | 30 RetCode CreateController(ControllerId controllerId, std::string hardwareName);
31 RetCode DestroyController(ControllerId controllerId, std::string hardwareName);
32 std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName);
35 RetCode Start(std::string hardwareName, int buffCont, DeviceFormat& format);
36 RetCode Stop(std::string hardwareName);
37 RetCode PowerUp(std::string hardwareName);
38 RetCode PowerDown(std::string hardwareName);
39 std::shared_ptr<ISensor> GetSensor(std::string sensorName);
41 RetCode SendFrameBuffer(std::shared_ptr<FrameSpec> buffer, std::string hardwareName);
42 void SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareNam [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_uvc.cpp | 30 void HosV4L2UVC::V4L2UvcSearchCapability(const std::string devName, const std::string v4l2Device, bool inOut) in V4L2UvcSearchCapability() 73 int HosV4L2UVC::V4L2SprintfDev(std::pair<std::map<std::string, std::string>::iterator, bool> &iter, in V4L2SprintfDev() 74 char* devName, const std::string v4l2Device, uint32_t devNameSize) in V4L2SprintfDev() 84 iter = HosV4L2Dev::deviceMatch.insert(std::make_pair(std::string(devName), v4l2Device)); in V4L2SprintfDev() 96 void HosV4L2UVC::V4L2UvcMatchDev(const std::string name, const std::string v4l2Device, bool inOut) in V4L2UvcMatchDev() 98 std::pair<std::map<std::string, std::string> in V4L2UvcMatchDev() [all...] |
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_uvc.cpp | 30 void HosV4L2UVC::V4L2UvcSearchCapability(const std::string devName, const std::string v4l2Device, bool inOut) in V4L2UvcSearchCapability() 73 int HosV4L2UVC::V4L2SprintfDev(std::pair<std::map<std::string, std::string>::iterator, bool> &iter, in V4L2SprintfDev() 74 char* devName, const std::string v4l2Device, uint32_t devNameSize) in V4L2SprintfDev() 84 iter = HosV4L2Dev::deviceMatch.insert(std::make_pair(std::string(devName), v4l2Device)); in V4L2SprintfDev() 96 void HosV4L2UVC::V4L2UvcMatchDev(const std::string name, const std::string v4l2Device, bool inOut) in V4L2UvcMatchDev() 98 std::pair<std::map<std::string, std::string> in V4L2UvcMatchDev() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | mmflags.h | 59 #define IF_HAVE_PG_PURGEABLE(flag,string) ,{1UL << flag, string} 61 #define IF_HAVE_PG_PURGEABLE(flag,string) 65 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) ,{1UL << flag, string} 67 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) 71 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} 73 #define IF_HAVE_PG_MLOCK(flag,string) 77 #define IF_HAVE_PG_UNCACHED(flag,string) ,{ [all...] |
/drivers/external_device_manager/services/native/driver_extension_manager/include/device_manager/ |
H A D | driver_extension_controller.h | 18 #include <string> 31 int32_t StartDriverExtension(const std::string& bundleName, const std::string& abilityName); 32 int32_t StopDriverExtension(const std::string& bundleName, const std::string& abilityName, int32_t userId = -1); 34 const std::string& bundleName, 35 const std::string& abilityName, 40 const std::string& bundleName, 41 const std::string& abilityName, 52 std::string bundleName [all...] |