/foundation/multimodalinput/input/tools/inject_event/src/ |
H A D | input_manager_command.cpp | 209 auto isTraceOption = [](const std::string &opt1) { in ParseCommand() 210 return opt1 == std::string("--trace"); in ParseCommand() 216 std::string arg3 = argvOffset[2]; in ParseCommand() 220 if ((argCount >= 5) && isTraceOption(std::string(argvOffset[4]))) { in ParseCommand() 223 if ((argCount >= 6) && isTraceOption(std::string(argvOffset[5]))) { in ParseCommand() 272 std::string arg5 = argv[optind]; in ParseCommand() 292 std::string arg6 = argv[optind]; in ParseCommand() 898 std::string isRepeat = keyEventTemp->IsRepeat() ? "true" : "false"; in ParseCommand() 1493 std::string arg(optarg); in ParseCommand() 1494 std::string in ParseCommand() [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_stream_socket.cpp | 346 const std::string threadName = "OS_qosEvent"; in FillpStatistics() 732 bool VtpStreamSocket::InitVtpInstance(const std::string &pkgName) in InitVtpInstance() 737 void VtpStreamSocket::DestroyVtpInstance(const std::string &pkgName) in DestroyVtpInstance() 1276 bool VtpStreamSocket::SetSocketBoundInner(int fd, std::string ip) const in SetSocketBoundInner() 1296 std::string devName(ifa->ifa_name); in SetSocketBoundInner() 1338 const std::string threadName = "OS_setVtpCfg"; in SetVtpStackConfig() 1603 const std::string threadName = "OS_sntfStmLsn"; in CreateServerProcessThread() 1609 const std::string threadName = "OS_sdstyStmSkt"; in CreateServerProcessThread() 1621 const std::string threadName = "OS_sfillStatic"; in CreateServerProcessThread() 1634 const std::string threadNam in CreateClientProcessThread() [all...] |
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_proxy.cpp | 523 std::vector<std::string> queryList; in ReadWifiP2pServiceInfo() 533 std::string str = (readStr != nullptr) ? readStr : ""; in ReadWifiP2pServiceInfo() 545 std::vector<std::string> queryList = info.GetQueryList(); in WriteWifiP2pServiceInfo() 754 std::string groupOwnerAddr = reply.ReadString(); in QueryP2pLinkedInfo() 1069 ErrCode WifiP2pProxy::SetP2pDeviceName(const std::string &deviceName) in SetP2pDeviceName() 1140 ErrCode WifiP2pProxy::RegisterCallBack(const sptr<IWifiP2pCallback> &callback, const std::vector<std::string> &event) in RegisterCallBack() 1226 ErrCode WifiP2pProxy::Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) in Hid2dRequestGcIp() 1349 ErrCode WifiP2pProxy::Hid2dRemoveGcGroup(const std::string& gcIfName) in Hid2dRemoveGcGroup() 1415 ErrCode WifiP2pProxy::Hid2dConfigIPAddr(const std::string [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_single_ver_natural_store_testcase.cpp | 36 const std::string SYNC_DATA_DEFAULT_SQL = "select * from SYNC_DATA;"; 995 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in DeleteUserKeyValue001() 1039 SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in MemoryDbDeleteUserKeyValue001() 1083 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in DeleteUserKeyValue002() 1130 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in DeleteUserKeyValue003() 1213 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in DeleteUserKeyValue004() 1262 SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in MemoryDbDeleteUserKeyValue004() 1308 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in DeleteUserKeyValue005() 1365 SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) in MemoryDbDeleteUserKeyValue005() 1420 SQLiteSingleVerNaturalStoreConnection *&connection, const std::string in DeleteUserKeyValue006() [all...] |
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_store_test.cpp | 19 #include <string> 359 std::string backupPath1 = RDB_TEST_PATH + std::string("a.db"); in HWTEST_F() 365 std::string backupPath2 = RDB_TEST_PATH + std::string("b.db"); in HWTEST_F() 371 std::string backupPath3 = RDB_TEST_PATH + std::string("c.db"); in HWTEST_F() 431 std::string backupPath = "backup.db"; in HWTEST_F() 441 std::string restorePath = "error.db"; in HWTEST_F() 465 std::string backupPat in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 24 #include <string> 113 // hen do ai anaylsis, we should limit the left an right limit of the string 173 std::string textCache = textForDisplay_; in ProcessStyledString() 260 void RichEditorPattern::InsertValueInStyledString(const std::string& insertValue) in InsertValueInStyledString() 302 const std::string& insertValue, const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& textStyle) in CreateStyledStringByTextStyle() 415 bool RichEditorPattern::BeforeStyledStringChange(int32_t start, int32_t length, const std::string& string) in BeforeStyledStringChange() argument 420 auto styledString = AceType::MakeRefPtr<SpanString>(string); in BeforeStyledStringChange() 455 void RichEditorPattern::AfterStyledStringChange(int32_t start, int32_t length, const std::string& string) in AfterStyledStringChange() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_model_ng.cpp | 68 RefPtr<FrameNode> CreateBarItemTextNode(const std::string& text) in CreateBarItemTextNode() 81 RefPtr<FrameNode> CreateBarItemIconNode(const std::string& src) in CreateBarItemIconNode() 375 bool hasSubTitle, bool hasMainTitle, const std::string& subtitle, const std::string& title, bool ignoreMainTitle) in ParseCommonTitle() 457 void NavigationModelNG::SetTitle(const std::string& title, bool hasSubTitle) {} in SetTitle() 663 std::string message = Localization::GetInstance()->GetEntryLetters("navigation.back"); in SetTitleMode() 671 void NavigationModelNG::SetSubtitle(const std::string& subtitle) in SetSubtitle() 699 const std::string& src, const ImageOption& imageOption, RefPtr<PixelMap>& pixMap, in SetBackButtonIcon() 700 const std::vector<std::string>& nameList) in SetBackButtonIcon() 1017 void NavigationModelNG::SetNavigationPathInfo(const std::string [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_test_ng.cpp | 816 std::string bundleName = ""; in HWTEST_F() 817 std::string moduleName = ""; in HWTEST_F() 835 std::string bundleName = ""; in HWTEST_F() 836 std::string moduleName = ""; in HWTEST_F() 853 std::string bundleName = ""; in HWTEST_F() 854 std::string moduleName = ""; in HWTEST_F() 1171 std::vector<std::string> fontFamilies { "Georgia", "Serif" }; in HWTEST_F() 1195 std::vector<std::string> fontFamilies { "Georgia", "Serif" }; in HWTEST_F() 1256 searchModelInstance.SetOnSubmit([&](const std::string& title) { in HWTEST_F() 1258 std::vector<std::string> fontFamilie in HWTEST_F() [all...] |
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test_operations.cpp | 869 static void RenameTdd(shared_ptr<FileAccessHelper> fahs, Uri sourceFile, std::string displayName, Uri newFile) in RenameTdd() 908 std::string displayName1 = "test1.txt"; in HWTEST_F() 909 std::string displayName2 = "test2.txt"; in HWTEST_F() 952 std::string str = newDirUriTest.ToString(); in HWTEST_F() 994 EXPECT_EQ(newDirUriTest.ToString().find("测试目录2"), std::string::npos); in HWTEST_F() 1001 EXPECT_EQ(renameUri.ToString().find("测试文件.txt"), std::string::npos); in HWTEST_F() 1041 EXPECT_EQ(renameUri.ToString().find("重命名目录"), std::string::npos); in HWTEST_F() 1305 std::string str = testUri.ToString(); in HWTEST_F() 1352 EXPECT_EQ(newDirUriTest.ToString().find("测试目录0006"), std::string::npos); in HWTEST_F() 1356 EXPECT_EQ(testUri.ToString().find("测试文件.txt"), std::string in HWTEST_F() [all...] |
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_utils.cpp | 54 bool NapiUtils::CurlSetRequestOptions(std::vector<std::uint8_t>& imgBuffer, const std::string uri) in CurlSetRequestOptions() 88 bool NapiUtils::DoDownloadInCommon(std::shared_ptr<Media::PixelMap>& pixelMap, const std::string uri) 121 int32_t NapiUtils::ConvertSessionType(const std::string& typeString) in ConvertSessionType() 136 std::string NapiUtils::ConvertSessionType(int32_t type) in ConvertSessionType() 206 /* napi_value <-> std::string */ 207 napi_status NapiUtils::GetValue(napi_env env, napi_value in, std::string& out) in GetValue() 223 out = std::string(buf); in GetValue() 228 napi_status NapiUtils::SetValue(napi_env env, const std::string& in, napi_value& out) in SetValue() 258 napi_status NapiUtils::SetOutPutDeviceIdValue(napi_env env, const std::vector<std::string>& in, napi_value& out) in SetOutPutDeviceIdValue() 604 SLOGD("napi_value <- std::vector<std::string>"); in SetValue() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/ |
H A D | single_ver_data_sync.cpp | 49 const std::shared_ptr<Metadata> &inMetadata, const std::string &deviceId) in Initialize() 228 std::string SingleVerDataSync::GetLocalDeviceName() in GetLocalDeviceName() 230 std::string deviceInfo; in GetLocalDeviceName() 302 std::string localHashName = DBCommon::TransferHashString(GetLocalDeviceName()); in GetData() 416 const std::string localHashName = DBCommon::TransferHashString(localDeviceName); in SaveData() 470 const std::string &deviceId = context->GetDeviceId(); in SaveLocalWaterMark() 471 std::string queryId = context->GetQuerySyncId(); in SaveLocalWaterMark() 514 void SingleVerDataSync::GetPeerWaterMark(SyncType syncType, const std::string &queryIdentify, in GetPeerWaterMark() 535 void SingleVerDataSync::GetLocalWaterMark(SyncType syncType, const std::string &queryIdentify, in GetLocalWaterMark() 673 std::string i in FillDataRequestPacket() [all...] |
/applications/standard/app_samples/code/BasicFeature/Native/Audio/entry/src/main/cpp/ |
H A D | audio.cpp | 43 static std::string g_filePath = "/data/storage/el2/base/haps/entry/files/oh_test_audio.pcm"; 44 static std::string g_filePath_avp = "/data/storage/el2/base/haps/entry/files/2p0.pcm"; 45 static std::string g_filePath_avp_vivid = "/data/storage/el2/base/haps/entry/files/avs3_16.wav"; 46 static std::string g_filePath_avp_metadata = "/data/storage/el2/base/haps/entry/files/avs3_bitstream.bin";
|
/applications/standard/app_samples/code/DocsSample/Media/Audio/OHAudio/entry/src/main/cpp/ |
H A D | audio.cpp | 43 static std::string g_filePath = "/data/storage/el2/base/haps/entry/files/oh_test_audio.pcm"; 44 static std::string g_filePath_avp = "/data/storage/el2/base/haps/entry/files/2p0.pcm"; 45 static std::string g_filePath_avp_vivid = "/data/storage/el2/base/haps/entry/files/avs3_16.wav"; 46 static std::string g_filePath_avp_metadata = "/data/storage/el2/base/haps/entry/files/avs3_bitstream.bin";
|
/foundation/ability/form_fwk/test/unittest/fms_form_host_client_test/ |
H A D | fms_form_host_client_test.cpp | 29 const std::string FORM_PROVIDER_BUNDLE_NAME = "ohos.samples.ut.form"; 30 const std::string FORM_PROVIDER_ABILITY_NAME = "FormAbility"; 85 MOCK_METHOD2(OnError, void(const int32_t errorCode, const std::string &errorMsg)); 564 std::string errorMsg = "this is errorMsg"; in HWTEST_F()
|
/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/ |
H A D | panding_want_manager_test.cpp | 70 std::shared_ptr<AAFwk::Want> GetWant(std::string abilityName, std::string bundleName); 119 std::shared_ptr<AAFwk::Want> PandingWantManagerTest::GetWant(std::string abilityName, std::string bundleName) in GetWant()
|
/foundation/ability/ability_runtime/test/unittest/ams_ability_running_record_test/ |
H A D | ams_ability_running_record_test.cpp | 37 static const std::string GetTestAppName() in GetTestAppName() 41 static const std::string GetTestAbilityName() in GetTestAbilityName() 45 static const std::string GetAnotherTestAbilityName() in GetAnotherTestAbilityName() 49 static const std::string GetProcessName() in GetProcessName()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | js_form_extension_context.cpp | 112 std::string strFormId; in OnUpdateForm() 122 std::string formDataStr = "{}"; in OnUpdateForm() 517 std::string bundleName = element.GetBundleName(); in HandleOnAbilityDisconnectDone() 518 std::string abilityName = element.GetAbilityName(); in HandleOnAbilityDisconnectDone()
|
/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/ |
H A D | mission_manager.cpp | 197 std::string deviceId; in OnGetMissionInfos() 237 std::string deviceId; in OnGetMissionInfo() 283 std::string deviceId; in GetMissionSnapShot() 331 std::string &deviceId, int32_t &missionId) in CheckMissionSnapShotParams()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/ |
H A D | image_animator_pattern.cpp | 77 std::string traceTag = images_[index].src;
in SetShowingIndex() 213 const std::string& src)
in FindCacheImageNode() 399 std::string ImageAnimatorPattern::ImagesToString() const
in ImagesToString() 513 bool ImageAnimatorPattern::IsShowingSrc(const RefPtr<FrameNode>& imageFrameNode, const std::string& src)
in IsShowingSrc()
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | navigation_bar_theme.h | 78 auto dividerShadowEnable = pattern->GetAttr<std::string>("divider_shadow_enable", "0"); in Build() 81 auto navBarUnfocusEffectEnable = pattern->GetAttr<std::string>("section_unfocus_effect_enable", "0"); in Build() 120 auto dividerShadowEnable = pattern->GetAttr<std::string>("divider_shadow_enable", "0"); in ParsePattern() 124 auto navBarUnfocusEffectEnable = pattern->GetAttr<std::string>("section_unfocus_effect_enable", "0"); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | render_rating.cpp | 66 onScoreChange_ = AceAsyncEvent<void(const std::string)>::Create(rating->GetChangeEventId(), context_); in Update() 294 const std::string& imageSrc, RefPtr<RenderImage>& renderImage, uint32_t svgColor) in UpdateRenderImage() 447 std::string param = std::string(R"("change",{"rating":)").append(std::to_string(drawScore_).append("}")); in FireChangeEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_progress.cpp | 245 NG::ProgressStatus JSProgress::ConvertStrToProgressStatus(const std::string& value) in ConvertStrToProgressStatus() 285 std::string statusStr; in JsSetRingStyleOptions() 367 std::string text; in JsSetCapsuleStyle() 440 std::string weight; in JsSetFont()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_drag_function.cpp | 36 void NapiThrow(const RefPtr<Framework::JsEngine>& engine, int32_t errCode, const std::string& message) in NapiThrow() 41 std::string strCode = std::to_string(errCode); in NapiThrow() 208 std::string udKey = dragEvent_->GetUdKey(); in GetData() 411 JSRef<JSVal> JsDragFunction::Execute(const RefPtr<DragEvent>& info, const std::string& extraParams) in Execute()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | select_model_impl.cpp | 82 void SelectModelImpl::SetValue(const std::string& value) in SetValue() 116 void SelectModelImpl::SetFontFamily(const std::vector<std::string>& value) in SetFontFamily() 194 void SelectModelImpl::SetSelectedOptionFontFamily(const std::vector<std::string>& value) in SetSelectedOptionFontFamily() 286 void SelectModelImpl::SetOptionFontFamily(const std::vector<std::string>& value) in SetOptionFontFamily()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_text_timer_bridge.cpp | 38 const std::string DEFAULT_STR = "-1"; 133 std::string fontWeight; in SetFontWeight() 163 std::string fontFamilyStr; in SetFontFamily() 193 std::string format = secondArg->ToString(vm)->ToString(vm); in SetFormat()
|