Home
last modified time | relevance | path

Searched defs:sql (Results 1 – 20 of 20) sorted by relevance

/base/hiviewdfx/hiview/base/utility/
Dsql_util.cpp23 std::string sql; in GenerateCreateSql() local
40 std::string sql; in GenerateDropSql() local
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_store.cpp40 std::string sql; in GenerateCreateSql() local
57 std::string sql; in GenerateDropSql() local
73 std::string sql = GenerateCreateSql(Blocks::TABLE, fields); in OnCreate() local
120 std::string sql = GenerateCreateSql(Block::TABLE_PREFIX + name, fields); in CreateBlockTable() local
137 std::string sql = GenerateDropSql(Block::TABLE_PREFIX + name); in DropBlockTable() local
Dapp_event_block_dao.cpp89 std::string sql; in DeletePackageByNum() local
110 std::string sql; in GetPackagesBySize() local
147 std::string sql; in CountPackages() local
Dapp_event_blocks_dao.cpp43 std::string sql; in IsBlockExists() local
100 std::string sql; in GetBlocks() local
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Dsqlite_storage.cpp216 std::string sql = "insert into " + it->second.tableName_ + " values("; in CreateInsertPrepareSqlCmd() local
236 std::string sql = "delete from " + it->second.tableName_ + " where 1 = 1"; in CreateDeletePrepareSqlCmd() local
256 std::string sql = "update " + it->second.tableName_ + " set "; in CreateUpdatePrepareSqlCmd() local
282 std::string sql = "select * from " + it->second.tableName_; in CreateSelectPrepareSqlCmd() local
292 std::string sql = "create table if not exists "; in CreateHapTokenInfoTable() local
328 std::string sql = "create table if not exists "; in CreateNativeTokenInfoTable() local
356 std::string sql = "create table if not exists "; in CreatePermissionDefinitionTable() local
394 std::string sql = "create table if not exists "; in CreatePermissionStateTable() local
/base/security/access_token/services/privacymanager/src/database/
Dpermission_used_record_db.cpp213 std::string sql = "insert into " + it->second.tableName_ + " values("; in CreateInsertPrepareSqlCmd() local
233 std::string sql = "delete from " + it->second.tableName_ + " where 1 = 1"; in CreateDeletePrepareSqlCmd() local
253 std::string sql = "update " + it->second.tableName_ + " set "; in CreateUpdatePrepareSqlCmd() local
281 std::string sql = "select * from " + it->second.tableName_ + " where 1 = 1"; in CreateSelectByConditionPrepareSqlCmd() local
316 std::string sql = "select count(*) from " + it->second.tableName_; in CreateCountPrepareSqlCmd() local
327 std::string sql = "delete from " + it->second.tableName_ + " where "; in CreateDeleteExpireRecordsPrepareSqlCmd() local
357 std::string sql = "delete from " + it->second.tableName_ + " where "; in CreateDeleteExcessiveRecordsPrepareSqlCmd() local
375 std::string sql = "select distinct "; in CreateGetDistinctValue() local
386 std::string sql = "create table if not exists "; in CreatePermissionRecordTable() local
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_dao.cpp54 std::string sql; in IsUidExists() local
128 std::string sql; in GetEventListByUid() local
153 std::string sql; in GetUidByBundleName() local
178 std::string sql; in GetTotalSubscriberInfo() local
Ddata_share_store.cpp45 std::string sql = SqlUtil::GenerateCreateSql(EventTable::TABLE, fields); in OnCreate() local
77 std::string sql = SqlUtil::GenerateDropSql(tableName); in DropTable() local
/base/usb/usb_manager/services/native/src/
Dusb_right_database.cpp169 int32_t UsbRightDataBase::ExecuteSql(const std::string &sql, const std::vector<OHOS::NativeRdb::Val… in ExecuteSql()
184 const std::string &sql, const std::vector<std::string> &selectionArgs) in QuerySql()
205 std::string sql = CREATE_USB_RIGHT_TABLE; in OnCreate() local
/base/hiviewdfx/hiview/base/event_store/dao/
Dsys_event_query_wrapper.cpp49 void QueryStatusLogUtil::LogTooManyQueryRules(const std::string sql) in LogTooManyQueryRules()
64 void QueryStatusLogUtil::LogQueryOverTime(time_t costTime, const std::string sql, bool innerQuery) in LogQueryOverTime()
71 void QueryStatusLogUtil::LogQueryCountOverLimit(const int32_t queryCount, const std::string& sql, in LogQueryCountOverLimit()
79 void QueryStatusLogUtil::LogQueryTooFrequently(const std::string& sql, const std::string& processNa… in LogQueryTooFrequently()
/base/telephony/telephony_data/common/src/
Drdb_base_helper.cpp86 int RdbBaseHelper::ExecuteSql(const std::string &sql) in ExecuteSql()
95 int RdbBaseHelper::ExecuteSql(const std::string &sql, const std::vector<NativeRdb::ValueObject> &bi… in ExecuteSql()
105 const std::string &sql, const std::vector<std::string> &selectionArgs) in QuerySql()
/base/update/updateservice/services/firmware/data/db/src/
Dfirmware_database_callback.cpp31 for (auto &sql : dbCreateSqlVector) { in OnCreate() local
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/
Dnotification_rdb_data_mgr_test.cpp112 const std::string &sql, const std::vector<std::string> &selectionArgs) in QuerySql()
117 const std::string &sql, const std::vector<ValueObject> &selectionArgs = {}) in QuerySql()
122 const std::string &sql, const std::vector<std::string> &selectionArgs) in QueryByStep()
127 const std::string &sql, const std::vector<ValueObject> &bindArgs = {}) in QueryByStep()
132const std::string &sql, const std::vector<ValueObject> &bindArgs = std::vector<ValueObject>()) in ExecuteSql()
136 virtual int ExecuteAndGetLong(int64_t &outValue, const std::string &sql, in ExecuteAndGetLong()
141 virtual int ExecuteAndGetString(std::string &outValue, const std::string &sql, in ExecuteAndGetString()
146 virtual int ExecuteForLastInsertedRowId(int64_t &outValue, const std::string &sql, in ExecuteForLastInsertedRowId()
151 virtual int ExecuteForChangedRowCount(int64_t &outValue, const std::string &sql, in ExecuteForChangedRowCount()
/base/telephony/telephony_data/sms_mms/src/
Drdb_sms_mms_helper.cpp237 std::string sql; in QueryMaxGroupId() local
246 std::string sql; in StatisticsUnRead() local
/base/telephony/telephony_data/pdp_profile/src/
Drdb_pdp_profile_helper.cpp118 std::string sql; in ResetApn() local
/base/telephony/telephony_data/opkey/src/
Drdb_opkey_callback.cpp79 std::string sql; in ClearData() local
/base/telephony/telephony_data/sim/src/
Drdb_sim_helper.cpp173 std::string sql; in ClearData() local
/base/security/access_token/services/common/database/src/
Dstatement.cpp27 Statement::Statement(sqlite3* db, const std::string& sql) : db_(db), sql_(sql) in Statement()
/base/security/access_token/interfaces/innerkits/analysis_model/test/unittest/
Dcode_signature_analysis_kit_test.cpp42 static int32_t GetDataFromSqlMock(const char* sql, uint8_t *result, uint32_t resultLen) in GetDataFromSqlMock()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Devent_db_helper.cpp191 std::string sql = SqlUtil::GenerateCreateSql(table, fields); in CreateTable() local