Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 25 of 264) sorted by relevance

1234567891011

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_detector.cpp109 .append(ToString(bootTimeMs)) in HandleThermalInfo()
121 .append(ToString(data.level)) in HandleBatteryInfo()
123 .append(ToString(data.eventDataExtra)) in HandleBatteryInfo()
125 .append(ToString(bootTimeMs)) in HandleBatteryInfo()
136 .append(ToString(bootTimeMs)) in HandleDispalyInfo()
149 .append(ToString(data.uid)) in HandleWakelockInfo()
151 .append(ToString(data.pid)) in HandleWakelockInfo()
153 .append(ToString(data.eventDataType)) in HandleWakelockInfo()
157 .append(ToString(bootTimeMs)) in HandleWakelockInfo()
169 .append(ToString(data.uid)) in HandleWorkschedulerInfo()
[all …]
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_database_callback.cpp36 …callback_.OnInsert(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
44 …callback_.OnUpdate(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
52 …callback_.OnDelete(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
/base/telephony/sms_mms/test/unittest/
Dsms_cb_message_test.cpp118 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody7Bit()
133 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody7BitUmts()
147 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody8Bit()
161 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBodyUcs2()
179 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBodyUcs2Umts()
193 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestEtwsWarningType0()
208 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestEtwsWarningType1()
223 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestEtwsWarningType2()
237 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestEtwsWarningType3()
252 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestEtwsWarningType4()
[all …]
/base/security/access_token/tools/accesstoken/src/
Dto_string.cpp23 void ToString::DetailUsedRecordToString( in DetailUsedRecordToString()
50 void ToString::PermissionUsedRecordToString( in PermissionUsedRecordToString()
62 ToString::DetailUsedRecordToString(true, perm.accessRecords, infos); in PermissionUsedRecordToString()
63 ToString::DetailUsedRecordToString(false, perm.rejectRecords, infos); in PermissionUsedRecordToString()
69 void ToString::BundleUsedRecordToString(const BundleUsedRecord& bundleRecord, std::string& infos) in BundleUsedRecordToString()
80 ToString::PermissionUsedRecordToString(bundleRecord.permissionRecords, infos); in BundleUsedRecordToString()
88 void ToString::PermissionUsedResultToString(const PermissionUsedResult& result, std::string& infos) in PermissionUsedResultToString()
101 ToString::BundleUsedRecordToString(res, infos); in PermissionUsedResultToString()
110 void ToString::PermissionUsedTypeInfoToString(const PermissionUsedTypeInfo& info, std::string& info… in PermissionUsedTypeInfoToString()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_desc.h88 std::string ToString() const;
107 std::string ToString() const;
120 std::string ToString() const;
151 std::string ToString() const;
171 std::string ToString() const;
196 std::string ToString() const;
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_dump_test.cpp76 .append(ToString(batteryLevel))
78 .append(ToString(batteryChargerType));
112 .append(ToString(uid))
114 .append(ToString(pid))
116 .append(ToString(type))
147 .append(ToString(ratio));
177 .append(ToString(uid))
179 .append(ToString(pid))
181 .append(ToString(type))
183 .append(ToString(interval))
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_desc.cpp114 std::string KeyParam::ToString() const in ToString() function in OHOS::Global::Resource::KeyParam
188 std::string IdItem::ToString() const in ToString() function in OHOS::Global::Resource::IdItem
211 std::string IdParam::ToString() const in ToString() function in OHOS::Global::Resource::IdParam
214 idItem_->ToString().c_str()); in ToString()
225 std::string ResId::ToString() const in ToString() function in OHOS::Global::Resource::ResId
229 ret.append(idParams_[i]->ToString()); in ToString()
244 std::string ResKey::ToString() const in ToString() function in OHOS::Global::Resource::ResKey
248 ret.append(keyParams_[i]->ToString()); in ToString()
251 ret.append(resId_->ToString()); in ToString()
268 std::string ResDesc::ToString() const in ToString() function in OHOS::Global::Resource::ResDesc
[all …]
/base/global/resource_management/frameworks/resmgr/include/
Dres_desc.h89 std::string ToString() const;
123 std::string ToString() const;
136 std::string ToString() const;
167 std::string ToString() const;
192 std::string ToString() const;
220 std::string ToString() const;
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dscreen_state_collection.cpp80 state_ = ToString(SCREEN_ON); in HandleScreenOnCompleted()
86 state_ = ToString(SCREEN_OFF); in HandleScreenOffCompleted()
96 if ((value == ToString(SCREEN_ON) && powerMgrClient.IsScreenOn()) || in DecideState()
97 (value == ToString(SCREEN_OFF) && !powerMgrClient.IsScreenOn())) { in DecideState()
Dcharger_state_collection.cpp110 state_ = ToString(DISABLE); in HandleChangerStatusCompleted()
114 state_ = ToString(ENABLE); in HandleChangerStatusCompleted()
118 state_ = ToString(FULL); in HandleChangerStatusCompleted()
122 state_ = ToString(NONE); in HandleChangerStatusCompleted()
126 state_ = ToString(BUTT); in HandleChangerStatusCompleted()
183 want.SetParam(ToString(code), isIdle); in PublishIdleEvent()
197 …std::string key = ToString(static_cast<int32_t>(ThermalCommonEventCode::CODE_THERMAL_LEVEL_CHANGED… in HandleThermalLevelCompleted()
/base/global/resource_management/frameworks/resmgr/src/
Dres_desc.cpp189 std::string KeyParam::ToString() const in ToString() function in OHOS::Global::Resource::KeyParam
261 std::string IdItem::ToString() const in ToString() function in OHOS::Global::Resource::IdItem
282 std::string IdParam::ToString() const in ToString() function in OHOS::Global::Resource::IdParam
285 idItem_->ToString().c_str()); in ToString()
293 std::string ResId::ToString() const in ToString() function in OHOS::Global::Resource::ResId
297 ret.append(idParams_[i]->ToString()); in ToString()
308 std::string ResKey::ToString() const in ToString() function in OHOS::Global::Resource::ResKey
312 ret.append(keyParams_[i]->ToString()); in ToString()
315 ret.append(resId_->ToString()); in ToString()
332 std::string ResDesc::ToString() const in ToString() function in OHOS::Global::Resource::ResDesc
[all …]
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_data_storage.cpp36 nlohmann::json jsonObject = nlohmann::json::parse(item.value.ToString(), nullptr, false); in SaveEntries()
38 ACCOUNT_LOGE("error key: %{private}s", item.key.ToString().c_str()); in SaveEntries()
47 infos.emplace(item.key.ToString(), std::make_shared<OsAccountInfo>(osAccountInfo)); in SaveEntries()
/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
Dbase_type.h52 std::string ToString() const;
69 std::string ToString() const;
103 std::string ToString() const;
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_dump_test.cpp99 .append(ToString(batteryLevel))
101 .append(ToString(batteryChargerType));
112 expectedMissInfo.append("Battery level = ").append(ToString(-1));
147 .append(ToString(uid))
149 .append(ToString(pid))
151 .append(ToString(type))
192 .append(ToString(ratio));
234 .append(ToString(uid))
236 .append(ToString(pid))
238 .append(ToString(type))
[all …]
/base/location/interfaces/inner_api/include/
Dlocating_required_data.h86 std::string ToString() in ToString() function
89 return str + wifiData_->ToString() + blueToothData_->ToString(); in ToString()
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp146 DATA_STORAGE_LOGE("OpKeyAbility::Insert failed##uri = %{public}s", uri.ToString().c_str()); in Insert()
184 DATA_STORAGE_LOGE("OpKeyAbility::Query failed##uri = %{public}s", uri.ToString().c_str()); in Query()
211 … DATA_STORAGE_LOGE("OpKeyAbility::Update failed##uri = %{public}s", uri.ToString().c_str()); in Update()
252 DATA_STORAGE_LOGE("OpKeyAbility::Delete failed##uri = %{public}s", uri.ToString().c_str()); in Delete()
272 DATA_STORAGE_LOGI("OpKeyAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
273 std::string retval(uri.ToString()); in GetType()
279 DATA_STORAGE_LOGI("OpKeyAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
289 std::string uriPath = uri.ToString(); in ParseUriType()
/base/telephony/telephony_data/global_params/src/
Dglobal_params_ability.cpp146 … DATA_STORAGE_LOGE("GlobalParamsAbility::Query failed##uri = %{public}s", uri.ToString().c_str()); in Query()
163 DATA_STORAGE_LOGE("GlobalParamsAbility::Query##uri = %{public}s", uri.ToString().c_str()); in Query()
213 DATA_STORAGE_LOGI("GlobalParamsAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
214 std::string retval(uri.ToString()); in GetType()
220 DATA_STORAGE_LOGI("GlobalParamsAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
230 std::string uriPath = uri.ToString(); in ParseUriType()
/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp272 .append(ToString(bluetoothBrScanTime)) in DumpForBluetooth()
275 .append(ToString(bluetoothBleScanTime)) in DumpForBluetooth()
308 .append(ToString(cameraTime)) in DumpForCommon()
311 .append(ToString(flashlightTime)) in DumpForCommon()
314 .append(ToString(gnssTime)) in DumpForCommon()
317 .append(ToString(gravityTime)) in DumpForCommon()
320 .append(ToString(proximityTime)) in DumpForCommon()
323 .append(ToString(audioTime)) in DumpForCommon()
326 .append(ToString(wakelockTime)) in DumpForCommon()
329 .append(ToString(alarmCount)) in DumpForCommon()
[all …]
/base/telephony/core_service/interfaces/innerkits/include/
Dsignal_information.h59 virtual std::string ToString() const = 0;
91 std::string ToString() const override;
119 std::string ToString() const override;
166 std::string ToString() const override;
215 std::string ToString() const override;
245 std::string ToString() const override;
284 std::string ToString() const override;
Dcell_information.h62 virtual std::string ToString() const = 0;
109 std::string ToString() const override;
148 std::string ToString() const override;
187 std::string ToString() const override;
226 std::string ToString() const override;
265 std::string ToString() const override;
319 std::string ToString() const override;
/base/update/updater/services/script/script_interpreter/
Dscript_context.h59 virtual std::string ToString();
85 std::string ToString() override;
107 std::string ToString() override;
134 std::string ToString() override;
155 std::string ToString() override;
190 std::string ToString() override;
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp141 DATA_STORAGE_LOGI("SimAbility::Insert##uri = %{public}s", uri.ToString().c_str()); in Insert()
179 DATA_STORAGE_LOGI("SimAbility::Query failed##uri = %{public}s", uri.ToString().c_str()); in Query()
224 DATA_STORAGE_LOGI("SimAbility::Update##uri = %{public}s", uri.ToString().c_str()); in Update()
291 DATA_STORAGE_LOGI("SimAbility::Delete failed##uri = %{public}s", uri.ToString().c_str()); in Delete()
308 DATA_STORAGE_LOGI("SimAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
309 std::string retval(uri.ToString()); in GetType()
315 DATA_STORAGE_LOGI("SimAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
325 std::string uriPath = uri.ToString(); in ParseUriType()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
Dapp_event_observer.cpp59 strStream << eventConfig.ToString() << ","; in GetStr()
107 std::string EventConfig::ToString() const in ToString() function in OHOS::HiviewDFX::HiAppEvent::EventConfig
114 std::string TriggerCondition::ToString() const in ToString() function in OHOS::HiviewDFX::HiAppEvent::TriggerCondition
121 std::string ReportConfig::ToString() const in ToString() function in OHOS::HiviewDFX::HiAppEvent::ReportConfig
124 …{" << name << "," << debugMode << "," << routeInfo << "," << appId << "," << triggerCond.ToString() in ToString()
295 : static_cast<int64_t>(std::hash<std::string>{}(reportConfig_.ToString())); in GenerateHashCode()
/base/telephony/telephony_data/sms_mms/src/
Dsms_mms_ability.cpp157 DATA_STORAGE_LOGI("SmsMmsAbility::Insert##uri = %{public}s", uri.ToString().c_str()); in Insert()
258 DATA_STORAGE_LOGD("GetPredicates##uri = %{private}s", uri.ToString().c_str()); in GetPredicates()
290 DATA_STORAGE_LOGI("uri = %{public}s", uri.ToString().c_str()); in GetResultSet()
359 DATA_STORAGE_LOGI("SmsMmsAbility::Delete##uri = %{public}s", uri.ToString().c_str()); in CreateAbsRdbPredicates()
376 DATA_STORAGE_LOGI("SmsMmsAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
377 std::string retval(uri.ToString()); in GetType()
383 DATA_STORAGE_LOGI("SmsMmsAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
406 DATA_STORAGE_LOGI("SmsMmsAbility::BatchInsert##uri = %{public}s", uri.ToString().c_str()); in BatchInsert()
415 std::string uriPath = uri.ToString(); in ParseUriType()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_data_storage.cpp111 Json jsonObject = Json::parse(item.value.ToString(), nullptr, false); in SaveEntries()
113 ACCOUNT_LOGE("error key: %{private}s", item.key.ToString().c_str()); in SaveEntries()
124 infos.emplace(item.key.ToString(), std::make_shared<AppAccountInfo>(appAccountInfo)); in SaveEntries()

1234567891011