Home
last modified time | relevance | path

Searched refs:string (Results 8051 - 8075 of 24312) sorted by relevance

1...<<321322323324325326327328329330>>...973

/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/
H A Ddistributed_device_profile_client.cpp23 #include <string>
48 const std::string TAG = "DistributedDeviceProfileClient";
150 int32_t DistributedDeviceProfileClient::GetTrustDeviceProfile(const std::string& deviceId, in GetTrustDeviceProfile()
171 int32_t DistributedDeviceProfileClient::GetAccessControlProfile(std::map<std::string, std::string> params, in GetAccessControlProfile()
256 int32_t DistributedDeviceProfileClient::GetDeviceProfile(const std::string& deviceId, DeviceProfile& deviceProfile) in GetDeviceProfile()
266 int32_t DistributedDeviceProfileClient::GetServiceProfile(const std::string& deviceId, const std::string& serviceName, in GetServiceProfile()
277 int32_t DistributedDeviceProfileClient::GetCharacteristicProfile(const std::string& deviceId, in GetCharacteristicProfile()
278 const std::string in GetCharacteristicProfile()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/
H A Dsync_operation.cpp23 SyncOperation::SyncOperation(uint32_t syncId, const std::vector<std::string> &devices, in SyncOperation()
49 std::map<std::string, DeviceSyncProcess> tempSyncProcessMap; in Initialize()
52 for (const std::string &deviceId : devices_) { in Initialize()
53 statuses_.insert(std::pair<std::string, int>(deviceId, OP_WAITING)); in Initialize()
57 syncProcessMap_.insert(std::pair<std::string, DeviceSyncProcess>(deviceId, processInfo)); in Initialize()
92 void SyncOperation::SetStatus(const std::string &deviceId, int status) in SetStatus()
141 int SyncOperation::GetStatus(const std::string &deviceId) const in GetStatus()
163 std::map<std::string, int> tmpStatus; in Finished()
164 std::map<std::string, DeviceSyncProcess> tmpProcessMap; in Finished()
179 std::string ms in Finished()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_sqlite_utils_test.cpp30 string g_testDir;
31 string g_dbDir;
170 std::string text; in HWTEST_F()
181 std::string val; in HWTEST_F()
199 std::string text; in HWTEST_F()
210 std::string val; in HWTEST_F()
228 std::string text; in HWTEST_F()
238 std::string val; in HWTEST_F()
254 const std::string tableName = "naturalbase_kv_aux_sync_data_log"; in HWTEST_F()
255 const std::string primaryKe in HWTEST_F()
[all...]
H A Ddistributeddb_storage_subscribe_query_test.cpp37 std::string g_testDir;
38 string g_resourceDir;
48 const std::string SUBSCRIBE_ID = "680A20600517073AE306B11FEA8306C57DC5102CD33E322F7C513176AA707F0C";
50 const std::string REMOTE_DEVICE_ID = "remote_device_id";
51 const std::string REMOTE_DEVICE_A = "remote_device_A";
52 const std::string REMOTE_DEVICE_B = "remote_device_B";
61 const std::string NORMAL_FBS_FILE_NAME = "normal_fbs.bfbs";
62 const string SCHEMA_STRING =
86 std::string validJsonData; in PreSetData()
97 void CreateAndGetStore(const std::string
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_attach_test.cpp18 #include <string>
50 static const std::string CREATE_TABLE_TEST;
53 std::string const MainOpenCallback::CREATE_TABLE_TEST = "CREATE TABLE IF NOT EXISTS test1(id INTEGER PRIMARY KEY "
70 static const std::string CREATE_TABLE_TEST;
73 std::string const AttachedOpenCallback::CREATE_TABLE_TEST = "CREATE TABLE IF NOT EXISTS test2(id INTEGER PRIMARY KEY "
123 int ret = store->ExecuteSql("ATTACH '" + std::string(ATTACHED_DATABASE_NAME) + "' as attached"); in HWTEST_F()
141 int ret = store->ExecuteSql("ATTACH DATABASE '" + std::string(ATTACHED_DATABASE_NAME) + "' as 'attached'"); in HWTEST_F()
153 ret = store->ExecuteSql("attach database '" + std::string(ATTACHED_DATABASE_NAME) + "' as 'attached'"); in HWTEST_F()
167 const std::string attachedName = "attached"; in HWTEST_F()
198 const std::string attachedNam in HWTEST_F()
[all...]
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_client_test.cpp58 std::string plainText = "plain text"; in HWTEST_F()
74 std::string plainText = "plain text"; in HWTEST_F()
91 std::string plainText = "helloWorld"; in HWTEST_F()
109 std::string htmlText = "<div class='disable'>helloWorld</div>"; in HWTEST_F()
166 std::string plainText = "helloWorld"; in HWTEST_F()
169 std::string bundleName; in HWTEST_F()
260 std::string plainText("r法塔赫已经,速tdghf!】qd rqdswww.comsski,.sjopwe" in HWTEST_F()
262 std::string plainText0("https://giedqwrtheeeeeefub.cerm/meeeelkove/obaklo_tjokl" in HWTEST_F()
264 std::string plainText1("2我就破888芙蓉王82h7"); in HWTEST_F()
265 std::string plainText in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp35 DScreen::DScreen(const std::string &devId, const std::string &dhId, in DScreen()
77 void DScreen::OnTransError(int32_t err, const std::string &content) in OnTransError()
110 void DScreen::SetScreenVersion(const std::string &version) in SetScreenVersion()
115 std::string DScreen::GetScreenVersion() in GetScreenVersion()
120 std::string DScreen::GetDHId() const in GetDHId()
125 std::string DScreen::GetDevId() const in GetDevId()
206 void DScreen::HandleEnable(const std::string &param, const std::string &taskId) in HandleEnable()
285 int32_t DScreen::NegotiateCodecType(const std::string
[all...]
/foundation/ability/form_fwk/frameworks/js/napi/form_host/
H A Djs_form_state_observer.cpp51 void FormAddCallbackClient::ProcessFormAdd(const std::string &bundleName, in ProcessFormAdd()
98 void FormRemoveCallbackClient::ProcessFormRemove(const std::string &bundleName, in ProcessFormRemove()
147 bool JsFormStateObserver::CheckMapSize(const std::string &type, const std::string &bundleName) in CheckMapSize()
173 const std::string &bundleName, const napi_value callback) in RegisterFormAddCallback()
202 const std::string &bundleName, const napi_value callback) in RegisterFormRemoveCallback()
230 void JsFormStateObserver::ClearFormAddCallbackByBundle(const std::string &bundleName) in ClearFormAddCallbackByBundle()
244 void JsFormStateObserver::DelFormAddCallbackByBundle(const napi_value callback, const std::string &bundleName) in DelFormAddCallbackByBundle()
266 int32_t JsFormStateObserver::OnAddForm(const std::string &bundleName, in OnAddForm()
281 void JsFormStateObserver::ClearFormRemoveCallbackByBundle(const std::string
[all...]
/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.cpp32 SharingErrorCode Agent::CreateSession(const std::string &className) in CreateSession()
55 std::string(magic_enum::enum_name(event.eventMsg->type)).c_str()); in HandleEvent()
247 std::string(magic_enum::enum_name(static_cast<EventType>(statusMsg->msg->type))).c_str()); in HandleProsumerState()
328 std::string(magic_enum::enum_name(static_cast<SessionNotifyStatus>(statusMsg->status))).c_str()); in OnSessionNotify()
371 std::string(magic_enum::enum_name(static_cast<SessionRunningStatus>(statusMsg->status))).c_str(), in UpdateSessionStatus()
385 std::string(magic_enum::enum_name(statusMsg->msg->type)).c_str()); in NotifyPrivateEvent()
390 std::string(magic_enum::enum_name(statusMsg->msg->type)).c_str()); in NotifyPrivateEvent()
420 std::string(magic_enum::enum_name(step)).c_str(), std::string(magic_enum::enum_name(status)).c_str()); in SetRunningStatus()
433 std::string(magic_enu in SendInteractionEvent()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/
H A Dclipboard_impl.cpp28 std::string g_clipboard;
53 const std::string SPAN_STRING_TAG = "openharmony.styled-string";
69 const std::function<void(bool hasData)>& callback, const std::vector<std::string>& mimeTypes) in HasDataType()
90 void ClipboardImpl::SetData(const std::string& data, CopyOptions copyOption, bool isDragData) in SetData()
134 void ClipboardImpl::GetData(const std::function<void(const std::string&)>& callback, bool syncMode) in GetData()
197 std::map<std::string, std::shared_ptr<OHOS::MiscServices::EntryValue>> multiTypeDataMap; in AddMultiTypeRecord()
216 std::make_shared<std::map<std::string, std::shared_ptr<OHOS::MiscServices::EntryValue>>>(multiTypeDataMap); in AddMultiTypeRecord()
223 const std::string ClipboardImpl::GetMimeType( in GetMimeType()
224 std::map<std::string, st in GetMimeType()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_installer_proxy.cpp51 const std::string &bundlePath, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Install()
74 bool BundleInstallerProxy::Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, in Install()
103 bool BundleInstallerProxy::Recover(const std::string &bundleName, in Recover()
128 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Uninstall()
150 bool BundleInstallerProxy::Uninstall(const std::string &bundleName, const std::string &modulePackage, in Uninstall()
193 ErrCode BundleInstallerProxy::InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, in InstallSandboxApp()
232 ErrCode BundleInstallerProxy::UninstallSandboxApp(const std::string &bundleName, int32_t appIndex, int32_t userId) in UninstallSandboxApp()
341 bool BundleInstallerProxy::UninstallAndRecover(const std::string &bundleName, const InstallParam &installParam, in UninstallAndRecover()
364 ErrCode BundleInstallerProxy::StreamInstall(const std::vector<std::string>
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/
H A Dnapi_parser_utils.cpp18 #include <string>
49 std::string uuid {}; in NapiParseGattService()
121 std::string serviceUuid {}; in NapiParseGattCharacteristic()
122 std::string characterUuid {}; in NapiParseGattCharacteristic()
154 std::string serviceUuid {}; in NapiParseGattDescriptor()
155 std::string characterUuid {}; in NapiParseGattDescriptor()
156 std::string descriptorUuid {}; in NapiParseGattDescriptor()
182 std::string serviceUuid {}; in NapiParseNotifyCharacteristic()
183 std::string characterUuid {}; in NapiParseNotifyCharacteristic()
204 std::string deviceI in NapiParseGattsServerResponse()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_boot_scanner_test/
H A Dbms_bundle_quick_fix_boot_scanner_test.cpp45 const std::string BUNDLE_PATH = "/data/test/resource/bms/quick_fix/first_right.hap";
46 const std::string BUNDLE_NAME = "com.example.l3jsdemo";
47 const std::string RESULT_CODE = "resultCode";
48 const std::string RESULT_BUNDLE_NAME = "bundleName";
49 const std::string HAP_FILE_PATH = "/data/app/el1/bundle/public/com.example.l3jsdemo/patch_1000001/entry.hqf";
50 const std::string PATCH_PATH = "/data/app/el1/bundle/public/com.example.l3jsdemo/patch_1000001";
65 InnerAppQuickFix GenerateAppQuickFixInfo(const std::string &bundleName, const QuickFixStatus &status,
68 void AddInnerBundleInfo(const std::string &bundleName) const;
69 void CheckQuickFixInfo(const std::string &bundleName, size_t size) const;
70 void QueryAllInnerQuickFixInfo(std::map<std::string, InnerAppQuickFi
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_ipc_test.cpp32 const std::string TEST_BUNDLE_NAME = "testBundleName";
33 const std::string TEST_MODULE_NAME = "testModuleName";
34 const std::string TEST_TARGET_BUNDLE_NAME = "testTargetBundleName";
35 const std::string TEST_TARGET_MODULE_NAME = "testTargetModuleName";
36 const std::string TEST_HAP_PATH = "testHapPath";
37 const std::string TEST_BUNDLE_DIR = "testBundleDir";
51 virtual ErrCode GetAllOverlayModuleInfo(const std::string &bundleName,
53 virtual ErrCode GetOverlayModuleInfo(const std::string &bundleName, const std::string &moduleName,
55 virtual ErrCode GetOverlayModuleInfo(const std::string
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_extension_data_mgr_test.cpp47 const std::string BMS_EXTENSION_PATH = "/system/etc/app/bms-extensions.json";
48 const std::string BMS_DATA_PATH = "data/data";
49 const std::string BUNDLE_EXT_NAME = "bundleExtName";
50 const std::string TEST_BUNDLE_NAME = "testBundleName";
270 std::string bundleName; in HWTEST_F()
290 std::string filePath; in HWTEST_F()
399 std::string bundleName = ""; in HWTEST_F()
526 std::string filePath; in HWTEST_F()
571 std::string bundleName; in HWTEST_F()
653 std::string bundleNam in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_info.h24 #include <string>
74 const std::string MICROPHONE_PERMISSION = "ohos.permission.MICROPHONE";
75 const std::string MANAGE_INTELLIGENT_VOICE_PERMISSION = "ohos.permission.MANAGE_INTELLIGENT_VOICE";
76 const std::string MANAGE_AUDIO_CONFIG = "ohos.permission.MANAGE_AUDIO_CONFIG";
77 const std::string MICROPHONE_CONTROL_PERMISSION = "ohos.permission.MICROPHONE_CONTROL";
78 const std::string MODIFY_AUDIO_SETTINGS_PERMISSION = "ohos.permission.MODIFY_AUDIO_SETTINGS";
79 const std::string ACCESS_NOTIFICATION_POLICY_PERMISSION = "ohos.permission.ACCESS_NOTIFICATION_POLICY";
80 const std::string USE_BLUETOOTH_PERMISSION = "ohos.permission.USE_BLUETOOTH";
81 const std::string CAPTURER_VOICE_DOWNLINK_PERMISSION = "ohos.permission.CAPTURE_VOICE_DOWNLINK_AUDIO";
82 const std::string RECORD_VOICE_CALL_PERMISSIO
[all...]
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Dmain.cpp16 #include <string.h>
19 #include <string>
44 void append_file(const std::string& filename, const std::string& storename)
48 if (pos != std::string::npos) {
94 void add_directory(const std::string& path, const std::string& outpath)
102 std::string p, op;
117 auto alphaSort = [](dirent* x, dirent* y) { return std::string(x->d_name) < std::string(
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/
H A Daudio_decoder_reset_demo.cpp82 vector<string> SplitStringFully(const string& str, const string& separator) in SplitStringFully()
84 vector<string> dest; in SplitStringFully()
85 string substring; in SplitStringFully()
86 string::size_type start = 0; in SplitStringFully()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully()
89 while (index != string::npos) { in SplitStringFully()
93 if (start == string::npos) { in SplitStringFully()
104 void StringReplace(std::string
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/
H A Daudio_decoder_description_demo.cpp82 vector<string> SplitStringFully(const string& str, const string& separator) in SplitStringFully()
84 vector<string> dest; in SplitStringFully()
85 string substring; in SplitStringFully()
86 string::size_type start = 0; in SplitStringFully()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully()
89 while (index != string::npos) { in SplitStringFully()
93 if (start == string::npos) { in SplitStringFully()
104 void StringReplace(std::string
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/
H A Daudio_decoder_flush_demo.cpp82 vector<string> SplitStringFully(const string& str, const string& separator) in SplitStringFully()
84 vector<string> dest; in SplitStringFully()
85 string substring; in SplitStringFully()
86 string::size_type start = 0; in SplitStringFully()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully()
89 while (index != string::npos) { in SplitStringFully()
93 if (start == string::npos) { in SplitStringFully()
104 void StringReplace(std::string
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/
H A Daudio_decoder_demo.cpp83 vector<string> SplitStringFully(const string& str, const string& separator) in SplitStringFully()
85 vector<string> dest; in SplitStringFully()
86 string substring; in SplitStringFully()
87 string::size_type start = 0; in SplitStringFully()
88 string::size_type index = str.find_first_of(separator, start); in SplitStringFully()
90 while (index != string::npos) { in SplitStringFully()
94 if (start == string::npos) { in SplitStringFully()
105 void StringReplace(std::string
[all...]
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_media_codec_unit_test.cpp18 #include <string>
39 const std::string AAC_MIME_TYPE = "audio/mp4a-latm";
40 const std::string UNKNOW_MIME_TYPE = "audio/unknow";
41 const std::string AAC_DEC_CODEC_NAME = "OH.Media.Codec.Decoder.Audio.AAC";
100 std::shared_ptr<Plugins::CodecPlugin> CreatePlugin(const std::string &codecName);
123 std::shared_ptr<Plugins::CodecPlugin> AudioMediaCodecUnitTest::CreatePlugin(const std::string &codecName) in CreatePlugin()
378 std::string codecName = "OH.Media.Codec.Encoder.Audio.Flac"; in HWTEST_F()
392 std::string codecName = "OH.Media.Codec.Encoder.Audio.Flac"; in HWTEST_F()
412 std::string codecName = "OH.Media.Codec.Encoder.Audio.AAC"; in HWTEST_F()
423 std::string codecNam in HWTEST_F()
[all...]
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/
H A Dwebsocket_exec.cpp99 std::string message;
102 static const std::vector<std::string> WS_PREFIX = {PREFIX_WSS, PREFIX_WS};
142 void Close(lws_close_status status, const std::string &reason) in Close()
205 std::map<std::string, std::string> header;
209 std::string closeReason;
213 std::string openMessage;
344 std::string name = pair.first + NAME_END; in LwsCallbackClientAppendHandshakeHeader()
374 std::string closeReason; in LwsCallbackWsPeerInitiatedClose()
488 std::map<std::string, st in LwsCallbackClientFilterPreEstablish()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_state_machine.cpp20 #include <string>
44 const std::string DEFAULT_P2P_IPADDR = "192.168.49.1";
49 const std::string CARRY_DATA_MIRACAST = "1";
165 std::string deviceName; in InitializeThisDevice()
174 deviceName = std::string("OHOS_") + GetRandomStr(randomLen); in InitializeThisDevice()
221 std::string groupName = config.GetGroupName(); in ReawakenPersistentGroup()
284 WifiP2pDevice P2pStateMachine::FetchNewerDeviceInfo(const std::string &deviceAddr) const in FetchNewerDeviceInfo()
332 void P2pStateMachine::SetWifiP2pInfoWhenGroupFormed(const std::string &groupOwnerAddress) in SetWifiP2pInfoWhenGroupFormed()
391 GcInfo P2pStateMachine::MatchDevInGcInfos(const std::string &deviceAddr, in MatchDevInGcInfos()
392 const std::string in MatchDevInGcInfos()
[all...]
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Duds_test.cpp75 EXPECT_EQ(UDMF_META_PLAIN_TEXT, *(std::get_if<std::string>(&(plainText->obj->value_[UNIFORM_DATA_TYPE])))); in HWTEST_F()
89 EXPECT_EQ(UDMF_META_PLAIN_TEXT, std::string(OH_UdsPlainText_GetType(plainText))); in HWTEST_F()
111 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetContent(plainText))); in HWTEST_F()
133 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetAbstract(plainText))); in HWTEST_F()
156 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetContent(plainText))); in HWTEST_F()
182 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetAbstract(plainText))); in HWTEST_F()
206 EXPECT_EQ(UDMF_META_HYPERLINK, *(std::get_if<std::string>(&(hyperlink->obj)->value_[UNIFORM_DATA_TYPE]))); in HWTEST_F()
220 EXPECT_EQ(UDMF_META_HYPERLINK, std::string(OH_UdsHyperlink_GetType(hyperlink))); in HWTEST_F()
242 EXPECT_EQ("www.xxx.com", std::string(OH_UdsHyperlink_GetUrl(hyperlink))); in HWTEST_F()
264 EXPECT_EQ("do something", std::string(OH_UdsHyperlink_GetDescriptio in HWTEST_F()
[all...]

Completed in 58 milliseconds

1...<<321322323324325326327328329330>>...973