Home
last modified time | relevance | path

Searched refs:string (Results 6626 - 6650 of 33625) sorted by relevance

1...<<261262263264265266267268269270>>...1345

/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dohos_rpc_test_testhelper.cpp195 JNIEnv *env, jobject object, jstring string, jint length) in Java_ohos_rpc_test_TestHelper_nativeStartExecutable()
200 const char *utfString = env->GetStringUTFChars(string, 0); in Java_ohos_rpc_test_TestHelper_nativeStartExecutable()
203 std::string exectubeFile = std::string(utfString, length); in Java_ohos_rpc_test_TestHelper_nativeStartExecutable()
206 env->ReleaseStringUTFChars(string, utfString); in Java_ohos_rpc_test_TestHelper_nativeStartExecutable()
219 JNIEnv *env, jobject object, jstring string, jint length) in Java_ohos_rpc_test_TestHelper_nativeStopExecutable()
224 const char *utfString = env->GetStringUTFChars(string, 0); in Java_ohos_rpc_test_TestHelper_nativeStopExecutable()
227 std::string exectubeFile = std::string(utfString, length); in Java_ohos_rpc_test_TestHelper_nativeStopExecutable()
230 env->ReleaseStringUTFChars(string, utfStrin in Java_ohos_rpc_test_TestHelper_nativeStopExecutable()
194 Java_ohos_rpc_test_TestHelper_nativeStartExecutable( JNIEnv *env, jobject object, jstring string, jint length) Java_ohos_rpc_test_TestHelper_nativeStartExecutable() argument
218 Java_ohos_rpc_test_TestHelper_nativeStopExecutable( JNIEnv *env, jobject object, jstring string, jint length) Java_ohos_rpc_test_TestHelper_nativeStopExecutable() argument
242 Java_ohos_rpc_test_TestHelper_nativeRunCommand( JNIEnv *env, jobject object, jstring string, jint length) Java_ohos_rpc_test_TestHelper_nativeRunCommand() argument
[all...]
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_sa_event.h48 void OnWifiWpsStateChanged(int state, const std::string &pinCode) override;
56 static std::vector<std::string> deviceCallbackEvent;
72 static std::vector<std::string> scanCallbackEvent;
92 static std::vector<std::string> hotspotCallbackEvent;
105 void OnP2pPrivatePeersChanged(const std::string &priWfdInfo) override;
157 void OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) override;
158 void OnRemoveSystemAbility(int32_t systemAbilityId, const std::string& deviceId) override;
172 WifiErrorCode RegisterDeviceEvent(const std::vector<std::string> &event);
173 WifiErrorCode RegisterScanEvent(const std::vector<std::string> &event);
174 WifiErrorCode RegisterHotspotEvent(const std::vector<std::string>
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_sync_test.cpp46 const std::string TAG = "SyscapInfoCollector";
47 const std::string SERVICE_ID = "test";
48 const std::string SERVICE_TYPE = "test";
49 const std::string CHARACTER_PRIVATE_SYSCAP = "privatesyscap";
50 const std::string CHARACTER_OS_SYSCAP = "ossyscap";
51 const std::string FAULT_CODE_KEY = "FAULT_CODE";
52 const std::string DOMAIN_NAME = std::string(HiSysEvent::Domain::DEVICE_PROFILE);
53 const std::string APP_ID = "distributed_device_profile_service";
54 const std::string STORE_I
[all...]
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Dasset_change_timer.cpp44 const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in OnAssetChanged()
50 const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in StartTimer()
52 std::string key = sessionId + ASSET_SEPARATOR + assetKey; in StartTimer()
63 const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in ProcessTask()
78 void AssetChangeTimer::StopTimer(const std::string &sessionId, const std::string &assetKey) in StopTimer()
80 std::string ke in StopTimer()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/serializable/
H A Dserializable.cpp26 bool Serializable::Unmarshall(const std::string &jsonStr) in Unmarshall()
30 // if the string size is less than 1, means the string is invalid. in Unmarshall()
42 Serializable::json Serializable::ToJson(const std::string &jsonStr) in ToJson()
46 // if the string size is less than 1, means the string is invalid. in ToJson()
58 bool Serializable::IsJson(const std::string &jsonStr) in IsJson()
66 bool Serializable::GetValue(const json &node, const std::string &name, std::string &value) in GetValue()
76 bool Serializable::GetValue(const json &node, const std::string
[all...]
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_common_event_manager.cpp51 std::vector<std::string> strEvent; in HWTEST_F()
66 std::string strEvent = "test"; in HWTEST_F()
67 std::vector<std::string> strEventVec; in HWTEST_F()
96 std::string deviceId; in HWTEST_F()
112 std::string deviceId; in HWTEST_F()
128 std::string deviceId; in HWTEST_F()
131 std::string strEvent = "test"; in HWTEST_F()
132 std::vector<std::string> strEventVec; in HWTEST_F()
139 std::vector<std::string> event = systemAbilityStatusChangeListener->changeSubscriber_->GetSubscriberEventNameVec(); in HWTEST_F()
151 std::string deviceI in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/
H A Ddcamera_source_callback.cpp30 int32_t DCameraSourceCallback::OnNotifyRegResult(const std::string& devId, const std::string& dhId, in OnNotifyRegResult()
31 const std::string& reqId, int32_t status, std::string& data) in OnNotifyRegResult()
51 int32_t DCameraSourceCallback::OnNotifyUnregResult(const std::string& devId, const std::string& dhId, in OnNotifyUnregResult()
52 const std::string& reqId, int32_t status, std::string& data) in OnNotifyUnregResult()
72 int32_t DCameraSourceCallback::OnHardwareStateChanged(const std::string &devId, const std::string
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcamera/
H A Ddistributed_camera_sink_stub_test.cpp96 std::string params = "params000"; in HWTEST_F()
127 std::string dhId = "dhId000"; in HWTEST_F()
128 std::string params = "params000"; in HWTEST_F()
144 std::string dhId = "dhId000"; in HWTEST_F()
160 std::string dhId = "dhId000"; in HWTEST_F()
176 std::string dhId = "dhId000"; in HWTEST_F()
177 std::string channelInfo = "channelInfo000"; in HWTEST_F()
193 std::string dhId = "dhId000"; in HWTEST_F()
194 std::string cameraInfo = "cameraInfo000"; in HWTEST_F()
210 std::string dhI in HWTEST_F()
[all...]
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpasteboard_client.h51 * @param std::string text.
54 std::shared_ptr<PasteDataRecord> CreateHtmlTextRecord(const std::string &text);
59 * @param std::string text.
62 std::shared_ptr<PasteDataRecord> CreatePlainTextRecord(const std::string &text);
91 * @param std::string mimeType
96 const std::string &mimeType, const std::vector<uint8_t> &arrayBuffer);
101 * @param std::vector<std::string> mimeTypes
106 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter);
111 * @param std::string text .
114 std::shared_ptr<PasteData> CreateHtmlData(const std::string
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/mock/include/
H A Dnapi_rdb_predicates.h36 explicit RdbPredicatesProxy(std::string &tableName);
49 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType);
51 napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName);
53 napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName);
55 std::string &field, std::vector<NativeRdb::ValueObject> &value, const std::string valueType);
57 std::string
[all...]
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dsystem_defined_appitem_test.cpp19 #include <string>
65 details.insert({ "string", "" }); in HWTEST_F()
69 EXPECT_EQ(std::get<std::string>(object->value_[UNIFORM_DATA_TYPE]), "openharmony.app-item"); in HWTEST_F()
185 EXPECT_EQ(std::get<std::string>(items[APP_ID]), valueType.appId_); in HWTEST_F()
186 EXPECT_EQ(std::get<std::string>(items[APP_NAME]), valueType.appName_); in HWTEST_F()
187 EXPECT_EQ(std::get<std::string>(items[APP_ICON_ID]), valueType.appIconId_); in HWTEST_F()
188 EXPECT_EQ(std::get<std::string>(items[APP_LABEL_ID]), valueType.appLabelId_); in HWTEST_F()
189 EXPECT_EQ(std::get<std::string>(items[BUNDLE_NAME]), valueType.bundleName_); in HWTEST_F()
190 EXPECT_EQ(std::get<std::string>(items[ABILITY_NAME]), valueType.abilityName_); in HWTEST_F()
213 EXPECT_EQ(std::get<std::string>(objec in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_service_proxy.h31 std::string bundleName;
34 using Observers = ConcurrentMap<std::string, std::list<ObserverParam>>;
37 std::string ObtainDistributedTableName(const std::string& device, const std::string& table) override;
43 int32_t SetDistributedTables(const RdbSyncerParam &param, const std::vector<std::string> &tables,
61 std::pair<int32_t, std::shared_ptr<ResultSet>> RemoteQuery(const RdbSyncerParam &param, const std::string &device,
62 const std::string &sql, const std::vector<std::string> &selectionArgs) override;
80 const PredicatesMemo &predicates, const std::vector<std::string>
[all...]
/foundation/distributeddatamgr/udmf/framework/common/
H A Dcustom_utd_json_parser.cpp38 bool CustomUtdJsonParser::ParseStoredCustomUtdJson(const std::string &jsonData, in ParseStoredCustomUtdJson()
53 bool CustomUtdJsonParser::ParseUserCustomUtdJson(const std::string &jsonData, in ParseUserCustomUtdJson()
72 bool CustomUtdJsonParser::ConvertUtdCfgsToJson(const std::vector<TypeDescriptorCfg> &typesCfg, std::string &jsonData) in ConvertUtdCfgsToJson()
79 std::vector<std::string> belongingToTypes(utdTypeCfg.belongingToTypes.begin(), in ConvertUtdCfgsToJson()
88 std::vector<std::string> installerBundles(utdTypeCfg.installerBundles.begin(), in ConvertUtdCfgsToJson()
102 bool CustomUtdJsonParser::AddJsonStringArray(const std::vector<std::string> &datas, const std::string &nodeName, in AddJsonStringArray()
113 bool CustomUtdJsonParser::GetTypeDescriptors(const json &jsonRoot, const std::string &nodeName, in GetTypeDescriptors()
130 std::vector<std::string> installerBundles = GetStringArrayValue(*node, INSTALLERS); in GetTypeDescriptors()
138 std::string CustomUtdJsonParse
[all...]
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/
H A Ddaudio_source_handler.cpp52 int32_t DAudioSourceHandler::InitSource(const std::string &params) in InitSource()
98 int32_t DAudioSourceHandler::RegisterDistributedHardware(const std::string &devId, const std::string &dhId, in RegisterDistributedHardware()
110 std::string reqId = GetRandomID(); in RegisterDistributedHardware()
112 std::string reduceDhId = dhId; in RegisterDistributedHardware()
116 int32_t DAudioSourceHandler::UnregisterDistributedHardware(const std::string &devId, const std::string &dhId, in UnregisterDistributedHardware()
128 std::string reqId = GetRandomID(); in UnregisterDistributedHardware()
130 std::string reduceDhId = dhId; in UnregisterDistributedHardware()
134 int32_t DAudioSourceHandler::ConfigDistributedHardware(const std::string
[all...]
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Dservice_proxy_mock.cpp58 string filePath = tm.GetRootDirCurTest().append("tmp"); in GetLocalCapabilities()
68 ErrCode ServiceProxy::AppFileReady(const string &fileName, UniqueFd fd, int32_t errCode) in AppFileReady()
78 ErrCode ServiceProxy::ServiceResultReport(const std::string restoreRetInfo, in ServiceResultReport()
84 ErrCode ServiceProxy::GetFileHandle(const string &bundleName, const string &fileName) in GetFileHandle()
90 const vector<std::string> &detailInfos, RestoreTypeEnum restoreType, int32_t userId) in AppendBundlesRestoreSession()
109 const std::vector<std::string> &detailInfos) in AppendBundlesDetailsBackupSession()
145 const vector<std::string> &infos) in AppendBundlesIncrementalBackupSession()
160 ErrCode ServiceProxy::AppIncrementalFileReady(const string &fileName, UniqueFd fd, UniqueFd manifestFd, int32_t errCode) in AppIncrementalFileReady()
170 ErrCode ServiceProxy::GetIncrementalFileHandle(const std::string
[all...]
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/src/
H A Dext_extension_mock.cpp25 UniqueFd BackupExtExtension::GetFileHandle(const string &fileName, int32_t &errCode) in GetFileHandle()
30 ErrCode BackupExtExtension::GetIncrementalFileHandle(const string &fileName) in GetIncrementalFileHandle()
45 ErrCode BackupExtExtension::PublishFile(const std::string &fileName) in PublishFile()
50 ErrCode BackupExtExtension::PublishIncrementalFile(const string &fileName) in PublishIncrementalFile()
65 int BackupExtExtension::DoRestore(const string &fileName) in DoRestore()
75 void BackupExtExtension::AsyncTaskBackup(const string config) in AsyncTaskBackup()
79 void BackupExtExtension::AsyncTaskRestore(std::set<std::string> fileSet, in AsyncTaskRestore()
112 void BackupExtExtension::AppResultReport(const std::string restoreRetInfo, in AppResultReport()
178 ErrCode BackupExtExtension::GetBackupInfo(std::string &result) in GetBackupInfo()
183 ErrCode BackupExtExtension::UpdateFdSendRate(std::string
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/
H A Di_service_mock.h49 std::string fileName = "1.tar"; in InvokeGetLocalSendRequest()
51 std::string filePath = tm.GetRootDirCurTest().append(fileName); in InvokeGetLocalSendRequest()
82 ErrCode AppFileReady(const std::string &fileName, UniqueFd fd, int32_t errCode) override
92 ErrCode ServiceResultReport(const std::string restoreRetInfo,
98 ErrCode GetFileHandle(const std::string &bundleName, const std::string &fileName) override
113 const std::vector<std::string> &detailInfos,
126 const std::vector<std::string> &bundleInfos) override
136 ErrCode GetBackupInfo(BundleName &bundleName, std::string &result) override
156 ErrCode UpdateSendRate(std::string
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_statemachine.h20 #include <string>
45 explicit HidHostStateMachine(const std::string &address);
96 std::string GetDeviceAdress();
98 static std::string GetEventName(int what);
120 inline static const std::string DISCONNECTED = "Disconnected";
121 inline static const std::string CONNECTING = "Connecting";
122 inline static const std::string DISCONNECTING = "Disconnecting";
123 inline static const std::string CONNECTED = "Connected";
127 std::string address_;
149 HidHostState(const std::string
[all...]
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
H A Ddistributed_preferences_database_test.cpp92 std::string key = "aa"; in HWTEST_F()
93 std::string value = "bb"; in HWTEST_F()
108 std::string key = "aa"; in HWTEST_F()
109 std::string value = "bb"; in HWTEST_F()
124 std::string key = "aa"; in HWTEST_F()
125 std::string value = "bb"; in HWTEST_F()
138 std::string key = "aa"; in HWTEST_F()
139 std::string value = "bb"; in HWTEST_F()
154 std::string key = "aa"; in HWTEST_F()
155 std::string valu in HWTEST_F()
[all...]
/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_sim.h33 int32_t SimStkProactiveNotify(const std::string &response);
34 int32_t SimStkAlphaNotify(const std::string &response);
35 int32_t SimStkEventNotify(const std::string &response);
43 int32_t GetSimLockStatus(std::string fac, const AppExecFwk::InnerEvent::Pointer &response);
45 std::string fac, int32_t mode, std::string passwd, const AppExecFwk::InnerEvent::Pointer &response);
46 int32_t ChangeSimPassword(std::string fac, std::string oldPassword, std::string newPassword,
48 int32_t UnlockPin(std::string pi
[all...]
/base/telephony/core_service/services/network_search/src/
H A Dsetting_utils.cpp29 const std::string SettingUtils::NETWORK_SEARCH_SETTING_URI =
31 static const std::string NETWORK_SEARCH_SETTING_EXT_URI = "datashare:///com.ohos.settingsdata.DataAbility";
32 const std::string SettingUtils::NETWORK_SEARCH_SETTING_AUTO_TIME_URI =
34 const std::string SettingUtils::NETWORK_SEARCH_SETTING_AUTO_TIMEZONE_URI =
36 const std::string SettingUtils::NETWORK_SEARCH_SETTING_AIRPLANE_MODE_URI =
38 const std::string SettingUtils::NETWORK_SEARCH_SETTING_PREFERRED_NETWORK_MODE_URI =
41 const std::string SettingUtils::SETTINGS_NETWORK_SEARCH_AUTO_TIME = "auto_time";
42 const std::string SettingUtils::SETTINGS_NETWORK_SEARCH_AUTO_TIMEZONE = "auto_timezone";
43 const std::string SettingUtils::SETTINGS_NETWORK_SEARCH_AIRPLANE_MODE = "settings.telephony.airplanemode";
44 const std::string SettingUtil
[all...]
/base/update/updater/test/unittest/utils/json/
H A Dutils_json_test.cpp56 std::string str = R"({"key": "value1"})"; in HWTEST_F()
62 std::string str = R"({"key"})"; in HWTEST_F()
70 std::string str = R"({"key": "value1"})"; in HWTEST_F()
77 std::string str = R"({"key": "value1"})"; in HWTEST_F()
85 std::string str = R"({"key": 1})"; in HWTEST_F()
93 std::string str = R"({"key": true})"; in HWTEST_F()
101 std::string str = R"({"key": [1, true, "value"]})"; in HWTEST_F()
112 std::string str = R"({"key": {"key" : "value"}}})"; in HWTEST_F()
120 std::string str = R"({"key1": null})"; in HWTEST_F()
127 std::string st in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_manager/
H A Ddevice_manager_test.cpp33 const std::string& deviceName, const std::string& vendorName);
37 const std::string& deviceName, const std::string& vendorName) in MockInit()
73 const std::string expectDeviceName = "MockDevice"; in HWTEST_F()
74 std::string deviceName = ""; in HWTEST_F()
107 const std::string expectDeviceNameA = "MockDevice"; in HWTEST_F()
108 std::string deviceName = ""; in HWTEST_F()
124 std::string deviceName = "MockDevice"; in HWTEST_F()
125 std::string vendorNam in HWTEST_F()
[all...]
/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp29 std::string FileDetail::Dump() const in Dump()
49 std::set<std::string> sourceFiles = Options::GetInstance().GetSourceFiles(); in Preprocess()
72 std::set<std::string> sourceFiles = Options::GetInstance().GetSourceFiles(); in UnitPreprocess()
89 bool Preprocessor::CheckAllFilesPath(const std::set<std::string> &sourceFiles) in CheckAllFilesPath()
107 bool Preprocessor::AnalyseImportInfo(std::set<std::string> sourceFiles, FileDetailMap &allFileDetails) in AnalyseImportInfo()
109 std::set<std::string> processSource(sourceFiles); in AnalyseImportInfo()
128 bool Preprocessor::ParseFileDetail(const std::string &sourceFile, FileDetail &info) in ParseFileDetail()
139 if (startIndex == std::string::npos || endIndex == std::string::npos || (startIndex >= endIndex)) { in ParseFileDetail()
233 const FileDetail &ownerFileDetail, FileDetailMap &allFileDetails, std::set<std::string> in LoadOtherIdlFiles()
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Doperation_test.cpp60 * @tc.desc: Verify the function when the input string contains special characters.
64 std::string value = "enter"; in HWTEST_F()
77 * @tc.desc: Verify the function when the input string is empty.
81 std::string value = ""; in HWTEST_F()
91 * @tc.desc: Verify the function when the input string contains special characters.
95 std::string value = "value"; in HWTEST_F()
104 * @tc.desc: Verify the function when the input string is empty.
108 std::string value = ""; in HWTEST_F()
117 * @tc.desc: Verify the function when the input string contains special characters.
121 std::string valu in HWTEST_F()
[all...]

Completed in 31 milliseconds

1...<<261262263264265266267268269270>>...1345