Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 67) sorted by relevance

123

/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
Devent_db_helper.h33 int InsertSysUsageEvent(std::shared_ptr<LoggerEvent> event, const std::string& table);
35 int QuerySysUsageEvent(std::shared_ptr<LoggerEvent>& events, const std::string& table);
37 int DeleteSysUsageEvent(const std::string& table);
41 …int CreateTable(const std::string& table, const std::vector<std::pair<std::string, std::string>>& …
42 int CreatePluginStatsTable(const std::string& table);
43 int CreateSysUsageTable(const std::string& table);
45 int InsertSysUsageTable(const std::string& table, const std::string& eventStr);
47 int UpdateSysUsageTable(const std::string& table, const std::string& eventStr);
49 int QuerySysUsageTable(std::string& eventStr, const std::string& table);
50 int QueryDb(std::vector<std::string>& eventStrs, const std::string& table,
[all …]
Dusage_event_cacher.h35 …std::shared_ptr<LoggerEvent> GetSysUsageEvent(const std::string& table = SysUsageDbSpace::SYS_USAG…
38 … void DeleteSysUsageEventFromDb(const std::string& table = SysUsageDbSpace::SYS_USAGE_TABLE) const;
40 const std::string& table = SysUsageDbSpace::SYS_USAGE_TABLE) const;
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Devent_db_helper.cpp109 int EventDbHelper::InsertSysUsageEvent(std::shared_ptr<LoggerEvent> event, const std::string& table) in InsertSysUsageEvent() argument
120 return QuerySysUsageEvent(oldEvent, table) != 0 ? in InsertSysUsageEvent()
121 InsertSysUsageTable(table, event->ToJsonString()) : in InsertSysUsageEvent()
122 UpdateSysUsageTable(table, event->ToJsonString()); in InsertSysUsageEvent()
151 int EventDbHelper::QuerySysUsageEvent(std::shared_ptr<LoggerEvent>& event, const std::string& table) in QuerySysUsageEvent() argument
158 if (QuerySysUsageTable(eventStr, table) != 0 || eventStr.empty()) { in QuerySysUsageEvent()
159 HIVIEW_LOGD("failed to query sysUsage table=%{public}s", table.c_str()); in QuerySysUsageEvent()
179 int EventDbHelper::DeleteSysUsageEvent(const std::string& table) in DeleteSysUsageEvent() argument
185 return DeleteTableData(table); in DeleteSysUsageEvent()
188 int EventDbHelper::CreateTable(const std::string& table, in CreateTable() argument
[all …]
Dusage_event_cacher.cpp36 std::shared_ptr<LoggerEvent> UsageEventCacher::GetSysUsageEvent(const std::string& table) const in GetSysUsageEvent()
39 if (dbHelper_->QuerySysUsageEvent(event, table) < 0) { in GetSysUsageEvent()
54 void UsageEventCacher::DeleteSysUsageEventFromDb(const std::string& table) const in DeleteSysUsageEventFromDb()
57 if (dbHelper_->QuerySysUsageEvent(event, table) >= 0) { in DeleteSysUsageEventFromDb()
58 dbHelper_->DeleteSysUsageEvent(table); in DeleteSysUsageEventFromDb()
72 …r::SaveSysUsageEventToDb(const std::shared_ptr<LoggerEvent>& event, const std::string& table) const in SaveSysUsageEventToDb()
77 if (dbHelper_->InsertSysUsageEvent(event, table) < 0) { in SaveSysUsageEventToDb()
/base/hiviewdfx/hiview/base/utility/
Dsql_util.cpp20 std::string GenerateCreateSql(const std::string& table, in GenerateCreateSql() argument
25 sql += table; in GenerateCreateSql()
38 std::string GenerateDropSql(const std::string& table) in GenerateDropSql() argument
42 sql += table; in GenerateDropSql()
/base/telephony/telephony_data/common/src/
Drdb_base_helper.cpp38 …Helper::Insert(int64_t &id, const NativeRdb::ValuesBucket &initialValues, const std::string &table) in Insert() argument
42 ret = store_->Insert(id, table, initialValues); in Insert()
47 int RdbBaseHelper::Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket… in Update() argument
52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update()
67 int RdbBaseHelper::Delete(int &changedRows, const std::string &table, const std::string &whereClaus… in Delete() argument
72 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete()
167 …r::BatchInsert(int64_t &id, const NativeRdb::ValuesBucket &initialValues, const std::string &table) in BatchInsert() argument
/base/usb/usb_manager/services/native/src/
Dusb_right_db_helper.cpp430 const std::shared_ptr<OHOS::NativeRdb::ResultSet> &resultSet, struct UsbRightTableInfo &table) in GetResultSetTableInfo() argument
444 table.primaryKeyIndex = i; in GetResultSetTableInfo()
447 table.uidIndex = i; in GetResultSetTableInfo()
450 table.installTimeIndex = i; in GetResultSetTableInfo()
453 table.updateTimeIndex = i; in GetResultSetTableInfo()
456 table.requestTimeIndex = i; in GetResultSetTableInfo()
459 table.validPeriodIndex = i; in GetResultSetTableInfo()
462 table.bundleNameIndex = i; in GetResultSetTableInfo()
465 table.deviceNameIndex = i; in GetResultSetTableInfo()
468 table.rowCount = rowCount; in GetResultSetTableInfo()
[all …]
/base/telephony/core_service/services/sim/include/
Dusim_function_handle.h23 UsimFunctionHandle(unsigned char table[], int len) in UsimFunctionHandle() argument
25 functionHandle_ = table; in UsimFunctionHandle()
/base/hiviewdfx/hiview/base/utility/include/
Dsql_util.h25 std::string GenerateCreateSql(const std::string& table,
27 std::string GenerateDropSql(const std::string& table);
/base/telephony/telephony_data/common/include/
Drdb_base_helper.h42 int Insert(int64_t &id, const NativeRdb::ValuesBucket &initialValues, const std::string &table);
43 …t BatchInsert(int64_t &id, const NativeRdb::ValuesBucket &initialValues, const std::string &table);
44 int Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket &values,
48 int Delete(int &changedRows, const std::string &table, const std::string &whereClause = "",
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/
Dnotification_rdb_data_mgr_test.cpp49 … virtual int Insert(int64_t &outRowId, const std::string &table, const ValuesBucket &initialValues) in Insert() argument
53 virtual int BatchInsert(int64_t &outInsertNum, const std::string &table, in BatchInsert() argument
58 …virtual int Replace(int64_t &outRowId, const std::string &table, const ValuesBucket &initialValues) in Replace() argument
62 virtual int InsertWithConflictResolution(int64_t &outRowId, const std::string &table, in InsertWithConflictResolution() argument
68 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values, in Update() argument
74 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values, in Update() argument
80 …virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesB… in UpdateWithConflictResolution() argument
86 …virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesB… in UpdateWithConflictResolution() argument
92 … virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause, in Delete() argument
97 …virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause = "", in Delete() argument
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_store.cpp38 std::string GenerateCreateSql(const std::string& table, std::vector<std::pair<std::string, std::str… in GenerateCreateSql() argument
42 sql += table; in GenerateCreateSql()
55 std::string GenerateDropSql(const std::string& table) in GenerateDropSql() argument
59 sql += table; in GenerateDropSql()
/base/hiviewdfx/hiappevent/
DREADME_zh.md45 <table><thead align="left"><tr id="row1880201655520"><th class="cellrowborder" valign="top" width="…
71 </table>
84 <table>
95 </table>
124 <table>
142 </table>
169 <table>
185 </table>
/base/update/sys_installer_lite/frameworks/source/updater/
Dhota_updater.c82 ComponentInfo table[OTA_MAX_PARTITION_NUM]; member
269 … if (memcpy_s(g_componentInfos.table + i, sizeof(g_componentInfos.table[i]), infoCompBuffer + pos, in ParseHotaInfoComponent()
270 sizeof(g_componentInfos.table[i])) != EOK) { in ParseHotaInfoComponent()
304 g_currentDloadComp.totalSize = g_componentInfos.table[g_currentDloadComp.index - 1].length; in InitDloadNextComp()
322 …if (memcmp(hashOut, g_componentInfos.table[g_currentDloadComp.index - 1].shaData, HASH_LENGTH) != … in ParseHotaComponent()
449 (const char *)g_componentInfos.table[g_currentDloadComp.index - 1].addr, in GetCurrentDloadCompPartition()
/base/security/appverify/
DREADME_zh.md56 <table><thead align="left"><tr id="row12757154342519"><th class="cellrowborder" valign="top" width=…
68 </table>
/base/telephony/call_manager/
DREADME_zh.md69 <table><thead align="left"><tr id="row143mcpsimp"><th class="cellrowborder" valign="top" width="33.…
85 </table>
90 <table><thead align="left"><tr id="row748952217179"><th class="cellrowborder" valign="top" width="5…
112 </table>
117 <table><thead align="left"><tr id="row193221031194"><th class="cellrowborder" valign="top" width="2…
141 </table>
DREADME.md61 <table><thead align="left"><tr id="row143mcpsimp"><th class="cellrowborder" valign="top" width="33.…
77 </table>
82 <table><thead align="left"><tr id="row748952217179"><th class="cellrowborder" valign="top" width="5…
95 …41718"></a><a name="p11490162241718"></a>Dialup options (For details, see the following table.)</p>
104 </table>
109 <table><thead align="left"><tr id="row193221031194"><th class="cellrowborder" valign="top" width="2…
133 </table>
/base/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp73 const uint8_t table[CHAR_ARRAY_LENGTH_FOUR] = { in MakeCharFour() local
82 charArrayFour[index] = table[index]; in MakeCharFour()
89 const uint8_t table[CHAR_ARRAY_LENGTH_THREE] = { in MakeCharTree() local
98 charArrayThree[index] = table[index]; in MakeCharTree()
/base/hiviewdfx/faultloggerd/docs/
Dusage.md127 2)二进制不包含unwind-table或者unwind-table生成有问题 \
128 3)路径和文件没有权限,导致无法读取到unwind-table信息 \
/base/update/updater/
DREADME.md50 3. Prepare the partition configuration table.
52 …titions through the partition configuration table. The default file name of the partition configur…
/base/update/updater/services/fs_manager/
Dpartitions.cpp155 const std::string &type, const std::string &table) in ReadPartitionFromSys() argument
184 if (strstr(buf, table.c_str()) != nullptr) { in ReadPartitionFromSys()
185 partString = std::string(buf + table.size(), sizeof(buf) - table.size()); in ReadPartitionFromSys()
/base/sensors/sensor/
DREADME_zh.md56 …<table><thead align="left"><tr id="row137911161397"><th class="cellrowborder" valign="top" width="…
103 </table>
117 <table><thead align="left"><tr id="row6821194225417"><th class="cellrowborder" valign="top" width="…
139 </table>
/base/security/device_auth/
DREADME_zh.md61 <table><thead align="left"><tr id="row4419501537"><th class="cellrowborder" valign="top" width="57.…
108 </table>
113 <table><thead align="left"><tr id="row15330631193013"><th class="cellrowborder" valign="top" width=…
135 </table>
/base/security/device_auth/frameworks/deviceauth_lite/source/schedule/
Ddistribution.c260 struct check_message_powered table[] = { { BIND, PAKE_MODULAR }, in is_message_illegal() local
273 for (uint32_t i = 0; i < sizeof(table) / sizeof(table[0]); i++) { in is_message_illegal()
274 if ((modular == table[i].modular) && (operation_code == table[i].operation_code)) { in is_message_illegal()
/base/powermgr/powermgr_lite/
DREADME.md46 The following table lists the JavaScript APIs provided by the lite power manager.
49 <table><thead align="left"><tr id="row12572123793117"><th class="cellrowborder" valign="top" width=…
76 </table>

123