Home
last modified time | relevance | path

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

12345678

/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/security/access_token/tools/accesstoken/src/
Dto_string.cpp21 void ToString::DetailUsedRecordToString( in DetailUsedRecordToString()
44 void ToString::PermissionUsedRecordToString( in PermissionUsedRecordToString()
59 ToString::DetailUsedRecordToString(true, perm.accessRecords, infos); in PermissionUsedRecordToString()
60 ToString::DetailUsedRecordToString(false, perm.rejectRecords, infos); in PermissionUsedRecordToString()
69 void ToString::BundleUsedRecordToString(const BundleUsedRecord& bundleRecord, std::string& infos) in BundleUsedRecordToString()
78 ToString::PermissionUsedRecordToString(bundleRecord.permissionRecords, infos); in BundleUsedRecordToString()
84 void ToString::PermissionUsedResultToString(const PermissionUsedResult& result, std::string& infos) in PermissionUsedResultToString()
93 ToString::BundleUsedRecordToString(res, infos); in PermissionUsedResultToString()
/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/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/global/resource_management/frameworks/resmgr/include/
Dres_desc.h89 std::string ToString() const;
108 std::string ToString() const;
121 std::string ToString() const;
152 std::string ToString() const;
176 std::string ToString() const;
204 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))
146 .append(ToString(ratio));
176 .append(ToString(uid))
178 .append(ToString(pid))
180 .append(ToString(type))
182 .append(ToString(interval))
[all …]
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dcharger_state_collection.cpp107 state_ = ToString(DISABLE); in HandleChangerStatusCompleted()
111 state_ = ToString(ENABLE); in HandleChangerStatusCompleted()
115 state_ = ToString(FULL); in HandleChangerStatusCompleted()
119 state_ = ToString(NONE); in HandleChangerStatusCompleted()
123 state_ = ToString(BUTT); in HandleChangerStatusCompleted()
167 want.SetParam(ToString(code), isIdle); in PublishIdleEvent()
180 …std::string key = ToString(static_cast<int32_t>(ThermalCommonEventCode::CODE_THERMAL_LEVEL_CHANGED… in HandleThermalLevelCompleted()
Dscreen_state_collection.cpp85 state_ = ToString(SCREEN_ON); in HandleScreenOnCompleted()
91 state_ = ToString(SCREEN_OFF); in HandleScreenOffCompleted()
101 if ((value == ToString(SCREEN_ON) && powerMgrClient.IsScreenOn()) || in DecideState()
102 (value == ToString(SCREEN_OFF) && !powerMgrClient.IsScreenOn())) { in DecideState()
/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/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/global/resource_management/frameworks/resmgr/src/
Dres_desc.cpp181 std::string KeyParam::ToString() const in ToString() function in OHOS::Global::Resource::KeyParam
252 std::string IdItem::ToString() const in ToString() function in OHOS::Global::Resource::IdItem
278 std::string IdParam::ToString() const in ToString() function in OHOS::Global::Resource::IdParam
281 idItem_->ToString().c_str()); in ToString()
294 std::string ResId::ToString() const in ToString() function in OHOS::Global::Resource::ResId
298 ret.append(idParams_[i]->ToString()); in ToString()
323 std::string ResKey::ToString() const in ToString() function in OHOS::Global::Resource::ResKey
327 ret.append(keyParams_[i]->ToString()); in ToString()
330 ret.append(resId_->ToString()); in ToString()
353 std::string ResDesc::ToString() const in ToString() function in OHOS::Global::Resource::ResDesc
[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/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/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp127 DATA_STORAGE_LOGE("OpKeyAbility::Insert failed##uri = %{public}s", uri.ToString().c_str()); in Insert()
165 DATA_STORAGE_LOGE("OpKeyAbility::Query failed##uri = %{public}s", uri.ToString().c_str()); in Query()
192 … DATA_STORAGE_LOGE("OpKeyAbility::Update failed##uri = %{public}s", uri.ToString().c_str()); in Update()
233 DATA_STORAGE_LOGE("OpKeyAbility::Delete failed##uri = %{public}s", uri.ToString().c_str()); in Delete()
253 DATA_STORAGE_LOGI("OpKeyAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
254 std::string retval(uri.ToString()); in GetType()
260 DATA_STORAGE_LOGI("OpKeyAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
270 std::string uriPath = uri.ToString(); in ParseUriType()
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp128 DATA_STORAGE_LOGE("PdpProfileAbility::Insert##uri = %{public}s", uri.ToString().c_str()); in Insert()
166 DATA_STORAGE_LOGE("PdpProfileAbility::Query##uri = %{public}s", uri.ToString().c_str()); in Query()
201 … DATA_STORAGE_LOGE("PdpProfileAbility::Update##uri = %{public}s", uri.ToString().c_str()); in Update()
242 DATA_STORAGE_LOGI("PdpProfileAbility::Delete##uri = %{public}s", uri.ToString().c_str()); in Delete()
262 DATA_STORAGE_LOGI("PdpProfileAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
263 std::string retval(uri.ToString()); in GetType()
269 DATA_STORAGE_LOGI("PdpProfileAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
279 std::string uriPath = uri.ToString(); in ParseUriType()
/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp260 .append(ToString(bluetoothBrScanTime)) in DumpForBluetooth()
263 .append(ToString(bluetoothBleScanTime)) in DumpForBluetooth()
295 .append(ToString(cameraTime)) in DumpForCommon()
298 .append(ToString(flashlightTime)) in DumpForCommon()
301 .append(ToString(gnssTime)) in DumpForCommon()
304 .append(ToString(gravityTime)) in DumpForCommon()
307 .append(ToString(proximityTime)) in DumpForCommon()
310 .append(ToString(audioTime)) in DumpForCommon()
313 .append(ToString(wakelockTime)) in DumpForCommon()
316 .append(ToString(alarmCount)) in DumpForCommon()
[all …]
/base/telephony/core_service/interfaces/innerkits/include/
Dsignal_information.h59 virtual std::string ToString() const = 0;
88 std::string ToString() const override;
115 std::string ToString() const override;
161 std::string ToString() const override;
209 std::string ToString() const override;
238 std::string ToString() const override;
276 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;
318 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.cpp142 DATA_STORAGE_LOGI("SimAbility::Insert##uri = %{public}s", uri.ToString().c_str()); in Insert()
180 DATA_STORAGE_LOGI("SimAbility::Query failed##uri = %{public}s", uri.ToString().c_str()); in Query()
225 DATA_STORAGE_LOGI("SimAbility::Update##uri = %{public}s", uri.ToString().c_str()); in Update()
292 DATA_STORAGE_LOGI("SimAbility::Delete failed##uri = %{public}s", uri.ToString().c_str()); in Delete()
309 DATA_STORAGE_LOGI("SimAbility::GetType##uri = %{public}s", uri.ToString().c_str()); in GetType()
310 std::string retval(uri.ToString()); in GetType()
316 DATA_STORAGE_LOGI("SimAbility::OpenFile##uri = %{public}s", uri.ToString().c_str()); in OpenFile()
326 std::string uriPath = uri.ToString(); in ParseUriType()
/base/notification/eventhandler/interfaces/inner_api/
Devent_handler.h46 std::string ToString() in ToString() function
415 …return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), delayTime, pr…
447 return PostTask(callback, caller.ToString(), 0, priority);
461 return PostTask(callback, caller.ToString(), delayTime, priority);
474 …return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), 0, Priority::…
488 … return PostTask(callback, name.empty() ? caller.ToString() : name, delayTime, Priority::HIGH);
500 return PostHighPriorityTask(callback, caller.ToString(), delayTime);
514 … return PostTask(callback, name.empty() ? caller.ToString() : name, delayTime, Priority::IDLE);
526 return PostIdleTask(callback, caller.ToString(), delayTime);
644 …return SendSyncEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), priority);
[all …]
/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()
/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_LOGI("GetPredicates##uri = %{public}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/notification/distributed_notification_service/frameworks/ans/src/
Dmessage_user.cpp103 ", uri = " + uri_.ToString() + in Dump()
114 jsonObject["uri"] = uri_.ToString(); in ToJson()
185 if (uri_.ToString().empty()) { in Marshalling()
195 if (!parcel.WriteString((uri_.ToString()))) { in Marshalling()

12345678