Home
last modified time | relevance | path

Searched refs:Update (Results 1 – 25 of 193) sorted by relevance

12345678

/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Djson_parser.cpp104 event->Update(KEY_OF_TOP_K_TIME, topKTimes); in ParsePluginStatsEvent()
108 event->Update(KEY_OF_TOP_K_EVENT, topKEvents); in ParsePluginStatsEvent()
110 event->Update(KEY_OF_PLUGIN_NAME, ParseString(root[KEY_OF_PLUGIN_NAME])); in ParsePluginStatsEvent()
111 event->Update(KEY_OF_TOTAL, ParseUInt32(root[KEY_OF_TOTAL])); in ParsePluginStatsEvent()
112 event->Update(KEY_OF_PROC_NAME, ParseString(root[KEY_OF_PROC_NAME])); in ParsePluginStatsEvent()
113 event->Update(KEY_OF_PROC_TIME, ParseUInt32(root[KEY_OF_PROC_TIME])); in ParsePluginStatsEvent()
114 event->Update(KEY_OF_TOTAL_TIME, ParseUInt64(root[KEY_OF_TOTAL_TIME])); in ParsePluginStatsEvent()
125 event->Update(KEY_OF_START, ParseUInt64(root[KEY_OF_START])); in ParseSysUsageEvent()
126 event->Update(KEY_OF_END, ParseUInt64(root[KEY_OF_END])); in ParseSysUsageEvent()
127 event->Update(KEY_OF_POWER, ParseUInt64(root[KEY_OF_POWER])); in ParseSysUsageEvent()
[all …]
/base/hiviewdfx/hiview/base/event_report/
Dhiview_event_report.cpp31 event->Update(PluginEventSpace::KEY_OF_PLUGIN_NAME, name); in ReportPluginLoad()
32 event->Update(PluginEventSpace::KEY_OF_RESULT, result); in ReportPluginLoad()
41 event->Update(PluginEventSpace::KEY_OF_PLUGIN_NAME, name); in ReportPluginUnload()
42 event->Update(PluginEventSpace::KEY_OF_RESULT, result); in ReportPluginUnload()
51 event->Update(PluginFaultEventSpace::KEY_OF_PLUGIN_NAME, name); in ReportPluginFault()
52 event->Update(PluginFaultEventSpace::KEY_OF_REASON, reason); in ReportPluginFault()
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
Dsys_usage_event_factory.cpp43 event->Update(KEY_OF_START, DEFAULT_UINT64); in Create()
44 event->Update(KEY_OF_END, TimeUtil::GetMilliseconds()); in Create()
53 event->Update(KEY_OF_POWER, bootTime); in Create()
54 event->Update(KEY_OF_RUNNING, monotonicTime); in Create()
55 event->Update(KEY_OF_SCREEN, GetScreenTime()); in Create()
Dapp_usage_event_factory.cpp71 event->Update(KEY_OF_PACKAGE, info.package_); in Create()
72 event->Update(KEY_OF_VERSION, info.version_); in Create()
73 event->Update(KEY_OF_USAGE, info.usage_); in Create()
74 event->Update(KEY_OF_DATE, info.date_); in Create()
75 event->Update(KEY_OF_START_NUM, info.startNum_); in Create()
/base/hiviewdfx/hiview/base/event_report/cache/
Dhiview_event_cacher.cpp51 event->Update(KEY_OF_PROC_NAME, procName); in UpdatePluginStatsEvent()
52 event->Update(KEY_OF_PROC_TIME, procTime); in UpdatePluginStatsEvent()
55 event->Update(KEY_OF_PLUGIN_NAME, name); in UpdatePluginStatsEvent()
56 event->Update(KEY_OF_PROC_NAME, procName); in UpdatePluginStatsEvent()
57 event->Update(KEY_OF_PROC_TIME, procTime); in UpdatePluginStatsEvent()
/base/hiviewdfx/hiview/plugins/usage_event_report/service/
Dusage_event_report_service.cpp83 cacheUsage->Update(KEY_OF_START, cacheUsage->GetValue(KEY_OF_END).GetUint64()); in ReportSysUsage()
85 cacheUsage->Update(key, DEFAULT_UINT64); in ReportSysUsage()
99 cacheUsage->Update(key, curUsageTime + cacheUsage->GetValue(key).GetUint64()); in UpdateCacheSysUsage()
101 cacheUsage->Update(KEY_OF_END, nowUsage->GetValue(KEY_OF_END).GetUint64()); in UpdateCacheSysUsage()
108 nowUsage->Update(KEY_OF_START, lastReportTime_); // save the last report time for app_usage in UpdateLastSysUsage()
121 cacheUsage->Update(KEY_OF_START, lastSysReportTime_); in SaveSysUsage()
/base/update/update_app/
DREADME.md1 # Update App<a name="EN-US_TOPIC_0000001148414479"></a>
25 base/update/app # Update app code repository
27 │ └── src # Update app code
42 Update subsystem
/base/security/security_guard/services/config_manager/src/
Dconfig_operator.cpp37 bool ConfigOperator::Update() const in Update() function in OHOS::Security::SecurityGuard::ConfigOperator
47 return config_.Update(); in Update()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.h42 virtual int32_t Update(const PkgBuffer &buffer, size_t size) in Update() function
74 int32_t Update(const PkgBuffer &buffer, size_t size) override;
92 int32_t Update(const PkgBuffer &buffer, size_t size) override;
110 int32_t Update(const PkgBuffer &buffer, size_t size) override;
Dpkg_algo_digest.cpp51 int32_t Crc32Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update() function in Hpackage::Crc32Algorithm
97 int32_t Sha256Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update() function in Hpackage::Sha256Algorithm
139 int32_t Sha384Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update() function in Hpackage::Sha384Algorithm
/base/update/updateservice/services/core/ability/sqlite/core/include/
Dtable_base_operator.h45 bool Update(const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate);
46 bool Update(
141 bool TableBaseOperator<Table, T>::Update( in Update() function
145 return Update(changedRows, values, predicates); in Update()
149 bool TableBaseOperator<Table, T>::Update( in Update() function
153 return dataBase_->Update(changedRows, values, predicates); in Update()
/base/update/updateservice/
DREADME.md1 # Update Service<a name="EN-US_TOPIC_0000001102254666"></a>
28 base/update/updateservice # Update service code
29 ├── interfaces # Update client APIs
39 │ └── engine # Update client engine
138 progress "Update progress information"
146 result "Update policy setting result"
154 policy "Update policy"
160 Update subsystem
/base/telephony/telephony_data/common/src/
Drdb_base_helper.cpp47 int RdbBaseHelper::Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket… in Update() function in OHOS::Telephony::RdbBaseHelper
52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update()
57 int RdbBaseHelper::Update(int &changedRows, const NativeRdb::ValuesBucket &values, in Update() function in OHOS::Telephony::RdbBaseHelper
62 ret = store_->Update(changedRows, values, predicate); in Update()
/base/update/updater/services/flashd/
DReadme.md6 - [Update命令](#section220mcpsimp)
31 ### Update命令<a name="section220mcpsimp"></a>
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_callback_test.cpp62 EXPECT_NE(callback->Update(event), HDF_FAILURE);
76 EXPECT_EQ(callback->Update(event), HDF_FAILURE);
/base/update/updateservice/services/firmware/data/db/src/
Dfirmware_component_operator.cpp30 return TableBaseOperator::Update(values, predicates); in UpdateProgressByUrl()
40 return TableBaseOperator::Update(values, predicates); in UpdateUrlByVersionId()
/base/update/updater/test/unittest/package/
Dpkg_algo_unittest.cpp48 ret = algo->Update(crcBuffer, sizeof(buff)); in TestCrcDigest()
71 ret = algo->Update(buffer, sizeof(buff)); in TestHash256Digest()
90 ret = algo->Update(buffer384, sizeof(buff)); in TestHash384Digest()
116 algorithm->Update(buffer, sizeof(dig2)); in TestInvalidParam()
/base/security/security_guard/services/config_manager/include/
Dconfig_operator.h27 bool Update() const;
Dbase_config.h29 virtual bool Update() = 0;
/base/telephony/core_service/services/sim/src/
Dsim_rdb_helper.cpp68 int SimRdbHelper::Update(std::shared_ptr<DataShare::DataShareHelper> dataShareHelper, in Update() function in OHOS::Telephony::SimRdbHelper
77 return dataShareHelper->Update(simUri, predicates, value); in Update()
243 int result = dataShareHelper->Update(defaultUri, predicates, value); in SetDefaultMainCard()
263 int result = dataShareHelper->Update(defaultUri, predicates, value); in SetDefaultVoiceCard()
283 int result = dataShareHelper->Update(defaultUri, predicates, value); in SetDefaultMessageCard()
303 int result = dataShareHelper->Update(defaultUri, predicates, value); in SetDefaultCellularData()
463 int result = Update(dataShareHelper, values, predicates); in UpdateDataBySimId()
478 int result = Update(dataShareHelper, values, predicates); in UpdateDataByIccId()
495 int result = Update(dataShareHelper, value, predicates); in ForgetAllData()
516 int result = Update(dataShareHelper, value, predicates); in ForgetAllData()
/base/update/packaging_tools/
DREADME.md29 ├── script_generator.py # Update script generator
31 ├── update_package.py # Update package format management and update package writing
57 update_package Update package file path.
82 Update subsystem
/base/usb/usb_manager/services/native/src/
Dusb_right_database.cpp109 int32_t UsbRightDataBase::Update( in Update() function in OHOS::USB::UsbRightDataBase
116 int32_t ret = store_->Update(changedRows, values, predicates); in Update()
124 int32_t UsbRightDataBase::Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, in Update() function in OHOS::USB::UsbRightDataBase
131 int32_t ret = store_->Update(changedRows, USB_RIGHT_TABLE_NAME, values, whereClause, whereArgs); in Update()
/base/powermgr/battery_manager/services/native/src/
Dbattery_callback.cpp24 int32_t BatteryCallback::Update(const HDI::Battery::V2_0::BatteryInfo& event) in Update() function in OHOS::PowerMgr::BatteryCallback
/base/usb/usb_manager/services/native/include/
Dusb_right_database.h55 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values,
57 …int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::strin…
/base/telephony/telephony_data/common/include/
Drdb_base_helper.h44 int Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket &values,
47 …int Update(int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::AbsRdbPredica…

12345678