Home
last modified time | relevance | path

Searched refs:string (Results 6326 - 6350 of 53190) sorted by relevance

1...<<251252253254255256257258259260>>...2128

/foundation/bundlemanager/distributed_bundle_framework/services/dbms/test/unittest/distributed_bms_host_test/
H A Dmock_distributed_bms_interface.h33 const std::string &localeInfo, RemoteAbilityInfo &remoteAbilityInfo) override;
36 int32_t GetRemoteAbilityInfos(const std::vector<ElementName> &elementNames, const std::string &localeInfo,
40 int32_t GetAbilityInfo(const OHOS::AppExecFwk::ElementName &elementName, const std::string &localeInfo,
44 int32_t GetAbilityInfos(const std::vector<ElementName> &elementNames, const std::string &localeInfo,
46 bool GetDistributedBundleInfo(const std::string &networkId, const std::string &bundleName,
48 int32_t GetDistributedBundleName(const std::string &networkId, uint32_t accessTokenId,
49 std::string &bundleName) override;
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_adapter_utils.cpp23 #include "string"
33 void ConvertAddr(const unsigned char in[6], std::string &out) in ConvertAddr()
41 out = string(temp); in ConvertAddr()
44 void GetAddrFromString(std::string in, unsigned char out[6]) in GetAddrFromString()
61 void GetAddrFromByte(unsigned char in[6], std::string &out) in GetAddrFromByte()
66 out = string(temp); in GetAddrFromByte()
69 void GetAclStateName(int transport, int state, std::string &out) in GetAclStateName()
112 void ConvertDataToHex(const unsigned char *data, unsigned int dataLen, std::string &outStr) in ConvertDataToHex()
114 const std::string hex = "0123456789ABCDEF"; in ConvertDataToHex()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerupdateappservice_fuzzer/
H A Dappservicefwkinstallerupdateappservice_fuzzer.cpp30 const std::string MODULE_NAME_TEST = "moduleName";
31 const std::string TEST_CREATE_FILE_PATH = "/data/test/resource/bms/app_service_test/test_create_dir/test.hap";
32 const std::string VERSION_ONE_LIBRARY_ONE_PATH =
40 std::unordered_map<std::string, InnerBundleInfo> infos; in DoSomethingInterestingWithMyAPI()
48 std::string hspPath = ", path: "; in DoSomethingInterestingWithMyAPI()
53 std::string bundlePath(data, size); in DoSomethingInterestingWithMyAPI()
54 std::string cpuAbi(data, size); in DoSomethingInterestingWithMyAPI()
55 std::string targetSoPath(data, size); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_utils.h19 #include <string>
39 bool Mime2CodecId(const std::string &mime, AVCodecID &codecId);
41 std::string AVStrError(int errnum);
50 void ReplaceDelimiter(const std::string &delimiters, char newDelimiter, std::string &str);
52 std::vector<std::string> SplitString(const char* str, char delimiter);
53 std::vector<std::string> SplitString(const std::string& str, char delimiter);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Druntime_effect.cpp23 RuntimeEffect::RuntimeEffect(const std::string& sl, const RuntimeEffectOptions& options) noexcept : RuntimeEffect() in RuntimeEffect()
28 RuntimeEffect::RuntimeEffect(const std::string& sl) noexcept : RuntimeEffect() in RuntimeEffect()
33 RuntimeEffect::RuntimeEffect(const std::string& sl, const RuntimeEffectOptions& options,
39 RuntimeEffect::RuntimeEffect(const std::string& sl, bool isBlender) noexcept : RuntimeEffect() in RuntimeEffect()
47 std::shared_ptr<RuntimeEffect> RuntimeEffect::CreateForShader(const std::string& sl, in CreateForShader()
53 std::shared_ptr<RuntimeEffect> RuntimeEffect::CreateForShader(const std::string& sl) in CreateForShader()
58 std::shared_ptr<RuntimeEffect> RuntimeEffect::CreateForES3Shader(const std::string& sl) in CreateForES3Shader()
63 std::shared_ptr<RuntimeEffect> RuntimeEffect::CreateForBlender(const std::string& sl) in CreateForBlender()
/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dimpl_class.h22 #include <string>
54 const std::string &GetClassName() const;
55 const std::string &GetPackageName() const;
59 bool IsCompatible(const std::map<std::string, AttrData> &caps) const;
66 const AttrData *GetCapability(const std::string &key) const;
67 const std::map<std::string, AttrData> &GetCapability() const;
77 static std::string emptyString_;
86 std::string className_;
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/
H A Dmedia_asset_rdbstore.h42 std::vector<std::string>& columns, OperationObject& object, int& errCode);
47 std::vector<std::string>& columns, OperationObject& object);
48 EXPORT int32_t QueryTimeIdBatch(int32_t start, int32_t count, std::vector<std::string> &batchKeys);
52 EXPORT static const std::string CloudSyncTriggerFunc(const std::vector<std::string>& args);
53 EXPORT static const std::string IsCallerSelfFunc(const std::vector<std::string>& args);
54 bool IsQueryGroupPhotoAlbumAssets(const std::string& albumId);
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/photo_session/
H A Ddeferred_photo_processing_session.h48 int32_t AddImage(const std::string& imageId, DpsMetadata& metadata, bool discardable) override;
49 int32_t RemoveImage(const std::string& imageId, bool restorable) override;
50 int32_t RestoreImage(const std::string& imageId) override;
51 int32_t ProcessImage(const std::string& appName, const std::string imageId) override;
52 int32_t CancelProcessImage(const std::string& imageId) override;
55 void ReportEvent(const std::string& imageId, int32_t event);
61 std::unordered_map<std::string, std::shared_ptr<PhotoInfo>> imageIds_;
/foundation/multimedia/av_session/frameworks/common/src/
H A Davqueue_info.cpp46 void AVQueueInfo::SetBundleName(const std::string& bundleName) in SetBundleName()
51 std::string AVQueueInfo::GetBundleName() const in GetBundleName()
56 void AVQueueInfo::SetAVQueueName(const std::string& avQueueName) in SetAVQueueName()
61 std::string AVQueueInfo::GetAVQueueName() const in GetAVQueueName()
66 void AVQueueInfo::SetAVQueueId(const std::string& avQueueId) in SetAVQueueId()
71 std::string AVQueueInfo::GetAVQueueId() const in GetAVQueueId()
96 void AVQueueInfo::SetAVQueueImageUri(const std::string& avQueueImageUri) in SetAVQueueImageUri()
101 std::string AVQueueInfo::GetAVQueueImageUri() const in GetAVQueueImageUri()
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_syncer.h29 using ObjectDataNotifier = std::function<void(const SessionDataCategory category, const std::string& deviceId)>;
30 using ObjectDisconnectNotifier = std::function<void(const std::string& deviceId)>;
46 virtual int32_t PutCommonCommand(const std::string& commonCommand, const AAFwk::WantParams& commandArgs) = 0;
48 virtual int32_t GetCommonCommand(std::string& commonCommand, AAFwk::WantParams& commandArgs) = 0;
50 virtual int32_t PutSessionEvent(const std::string& event, const AAFwk::WantParams& args) = 0;
52 virtual int32_t GetSessionEvent(std::string& event, AAFwk::WantParams& args) = 0;
58 virtual int32_t PutAVQueueTitle(const std::string& items) = 0;
60 virtual int32_t GetAVQueueTitle(std::string& items) = 0;
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Ddeferred_photo_proxy.h33 DeferredPhotoProxy(const BufferHandle* bufferHandle, std::string imageId, int32_t deferredProcType);
34 DeferredPhotoProxy(const BufferHandle* bufferHandle, std::string imageId, int32_t deferredProcType,
36 DeferredPhotoProxy(const BufferHandle* bufferHandle, std::string imageId, int32_t deferredProcType,
41 std::string GetTitle() override;
42 std::string GetExtension() override;
43 std::string GetPhotoId() override;
55 std::string GetBurstKey() override;
61 std::string photoId_;
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_restore_param.h33 HCameraRestoreParam(std::string clientName, std::string cameraId, std::vector<StreamInfo_V1_1> streamInfos,
36 HCameraRestoreParam(std::string clientName, std::string cameraId);
44 std::string GetClientName();
45 std::string GetCameraId();
58 std::string mClientName;
59 std::string mCameraId;
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/task_manager/
H A Dthread_pool.h26 #include <string>
37 static std::unique_ptr<ThreadPool> Create(const std::string& name, uint32_t numThreads);
48 std::string name;
51 ThreadInfo(std::string name, std::function<void()> func) in ThreadInfo()
74 friend std::unique_ptr<ThreadPool> std::make_unique<ThreadPool>(const std::string&, uint32_t&);
75 ThreadPool(const std::string& name, uint32_t numThreads);
77 void WorkerLoop(const std::string& threadName);
81 const std::string name_;
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/mock/include/
H A Dcodec_ability_singleton.h35 std::optional<CapabilityData> GetCapabilityByName(const std::string &name);
36 std::unordered_map<std::string, CodecType> GetNameCodecTypeMap();
37 std::unordered_map<std::string, std::vector<size_t>> GetMimeCapIdxMap();
41 std::unordered_map<std::string, std::vector<size_t>> mimeCapIdxMap_;
42 std::unordered_map<std::string, CodecType> nameCodecTypeMap_;
52 std::optional<CapabilityData> GetCapabilityByName(const std::string &name);
53 std::unordered_map<std::string, CodecType> GetNameCodecTypeMap();
54 std::unordered_map<std::string, std::vector<size_t>> GetMimeCapIdxMap();
/foundation/multimedia/av_session/services/session/adapter/
H A Ddistributed_object_adapter.cpp27 void DistributedObjectAdapter::AVSessionObjectWatcher::OnChanged(const std::string &name, in OnChanged()
28 const std::vector<std::string> &keys) in OnChanged()
40 void DistributedObjectAdapter::AVSessionStatusNotifier::OnChanged(const std::string &name, in OnChanged()
41 const std::string &networkId, in OnChanged()
42 const std::string &onlineStatus) in OnChanged()
50 DistributedObjectAdapter::DistributedObjectAdapter(const std::string& name) in DistributedObjectAdapter()
75 int32_t DistributedObjectAdapter::PutData(const std::string &key, std::vector<uint8_t> &data) in PutData()
85 int32_t DistributedObjectAdapter::GetData(const std::string &key, std::vector<uint8_t> &data) in GetData()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dpicture_manager_thread.h23 #include <string>
50 EXPORT void InsertPictureData(const std::string& imageId, sptr<PicturePair>& picturePair, PictureType pictureType);
51 EXPORT std::shared_ptr<Media::Picture> GetDataWithImageId(const std::string& imageId,
54 EXPORT bool IsExsitPictureByImageId(const std::string& imageId);
55 EXPORT void SaveLowQualityPicture(const std::string& imageId = "default");
56 EXPORT void FinishAccessingPicture(const std::string& imageId);
57 EXPORT void SavePictureWithImageId(const std::string& imageId);
60 EXPORT void DeleteDataWithImageId(const std::string& imageId, PictureType pictureType);
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dburst_key_generator.cpp28 * @return std::string prefix of fileInfo.title
30 std::string BurstKeyGenerator::FindTitlePrefix(const FileInfo &fileInfo) in FindTitlePrefix()
33 if (suffixIndex == std::string::npos) { in FindTitlePrefix()
43 * @return std::string hash to identify a group of burst photo
45 std::string BurstKeyGenerator::FindGroupHash(const FileInfo &fileInfo) in FindGroupHash()
62 std::string objectHash = FindObjectHash(fileInfo); in FindGroupIndex()
76 * @return std::string objectHash to identify fileInfo
78 std::string BurstKeyGenerator::FindObjectHash(const FileInfo &fileInfo) in FindObjectHash()
86 * @return std::string uuid with 36 characters
88 std::string BurstKeyGenerato
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/include/
H A Dclone_source.h19 #include <string>
38 const std::string CREATE_FACE_TAG_TBL_FOR_ONCREATE = "CREATE TABLE IF NOT EXISTS " + VISION_FACE_TAG_TABLE + " (" +
56 const std::string CREATE_IMG_FACE_TBL_FOR_ONCREATE = "CREATE TABLE IF NOT EXISTS " + VISION_IMAGE_FACE_TABLE + " (" +
88 void Init(const std::string &path, const std::vector<std::string> &tableList);
89 void Insert(const std::vector<std::string> &tableList);
106 void Init(const std::vector<std::string> &tableList);
107 std::vector<std::string> createSqls_;
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/
H A Dringtone_data_command.cpp28 RingtoneDataCommand::RingtoneDataCommand(const Uri &uri, const string &table, const RingtoneOperationType type) in RingtoneDataCommand()
47 void RingtoneDataCommand::SetBundleName(const string &bundleName) in SetBundleName()
52 void RingtoneDataCommand::SetResult(const string &result) in SetResult()
71 const string &RingtoneDataCommand::GetTableName() in GetTableName()
81 const string &RingtoneDataCommand::GetBundleName() in GetBundleName()
86 const string &RingtoneDataCommand::GetResult() in GetResult()
91 static bool IsNumber(const string &str) in IsNumber()
108 string uriStr = uri.ToString(); in GetToneIdFromUri()
/foundation/multimodalinput/input/tools/event_inject/test/
H A Dmanage_inject_device_test.cpp56 const std::string path = "/data/json/Test_TransformJsonDataCheckFileNotEmpty.json"; in HWTEST_F()
57 std::string beginDeviceCmd = "vuinput open all & "; in HWTEST_F()
58 std::string afterDeviceCmd = "vuinput is closed"; in HWTEST_F()
64 std::string jsonBuffer = ReadJsonFile(path); in HWTEST_F()
87 const std::string filePath = "/data/json/Test_TransformJsonDataGetDeviceNodeError.json"; in HWTEST_F()
88 std::string startDeviceMsg = "vuinput start all & "; in HWTEST_F()
89 std::string closeDeviceMsg = "vuinput close all"; in HWTEST_F()
95 std::string jsonBuf = ReadJsonFile(filePath); in HWTEST_F()
H A Dprocessing_keyboard_device_test.cpp43 const std::string path = "/data/json/Test_TransformKeyBoardJsonDataToInputData.json"; in HWTEST_F()
44 std::string startDeviceCmd = "vuinput start keyboard & "; in HWTEST_F()
45 std::string closeDeviceCmd = "vuinput close all"; in HWTEST_F()
52 std::string jsonBuf = ReadJsonFile(path); in HWTEST_F()
75 const std::string path = "/data/json/Test_TransformKeyBoardJsonDataToInputDataEventsIsEmpty.json"; in HWTEST_F()
76 std::string startDeviceCmd = "vuinput start keyboard & "; in HWTEST_F()
77 std::string closeDeviceCmd = "vuinput close all"; in HWTEST_F()
83 std::string jsonBuf = ReadJsonFile(path); in HWTEST_F()
/foundation/resourceschedule/resource_schedule_service/ressched/common/include/
H A Doobe_datashare_utils.h33 ErrCode GetValue(const std::string& key, T& value);
34 Uri AssembleUri(const std::string& key);
45 ErrCode GetStringValue(const std::string& key, std::string& value);
51 ErrCode DataShareUtils::GetValue(const std::string& key, T& value) in GetValue()
53 std::string result; in GetValue()
54 std::string callingIdentity = IPCSkeleton::ResetCallingIdentity(); in GetValue()
62 if constexpr (std::is_same_v<std::string, ValueType>) { in GetValue()
/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/include/
H A Dintellisense_server.h21 #include <string>
38 void ReportAppInfo(const int pid, const int uid, const std::string bundleName, ThreadState state);
39 void ReportProcessInfo(const int pid, const int uid, const std::string bundleName, ThreadState state);
60 std::set<std::string> m_unsupportApp = {};
61 std::map<std::string, std::string> m_generalPara {};
62 std::map<std::string, std::map<std::string, int>> m_subEventPara {};
/foundation/window/window_manager/interfaces/kits/napi/common/
H A Djs_err_utils.h28 static napi_value CreateJsError(napi_env env, const WMError& errorCode, std::string msg = "");
29 static napi_value CreateJsError(napi_env env, const WmErrorCode& errorCode, std::string msg = "");
30 static napi_value CreateJsError(napi_env env, const DMError& errorCode, std::string msg = "");
31 static napi_value CreateJsError(napi_env env, const DmErrorCode& errorCode, std::string msg = "");
64 static std::string GetErrorMsg(const WMError& errorCode);
65 static std::string GetErrorMsg(const WmErrorCode& errorCode);
66 static std::string GetErrorMsg(const DMError& errorCode);
67 static std::string GetErrorMsg(const DmErrorCode& errorCode);
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/
H A Dnet_interface_callback_stub.h34 int32_t OnInterfaceAddressUpdated(const std::string &addr, const std::string &ifName, int32_t flags,
36 int32_t OnInterfaceAddressRemoved(const std::string &addr, const std::string &ifName, int32_t flags,
38 int32_t OnInterfaceAdded(const std::string &ifName) override;
39 int32_t OnInterfaceRemoved(const std::string &ifName) override;
40 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
41 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;

Completed in 17 milliseconds

1...<<251252253254255256257258259260>>...2128