/base/security/security_guard/services/data_collect/store/src/ |
H A D | database.cpp | 36 store_ = NativeRdb::RdbHelper::GetRdbStore(config, version, openCallback, errCode); in CreateRdbStore() 43 ret = store_->Insert(outRowId, table, initialValues); in Insert() 53 ret = store_->BatchInsert(outInsertNum, table, initialBatchValues); in BatchInsert() 63 ret = store_->Update(changedRows, values, predicates); in Update() 72 ret = store_->Delete(deletedRows, predicates); in Delete() 82 return store_->Query(predicates, columns); in Query() 91 ret = store_->ExecuteSql(sql); in ExecuteSql() 101 ret = store_->ExecuteAndGetLong(outValue, sql, bindArgs); in ExecuteAndGetLong() 110 ret = store_->Count(outValue, predicates); in Count() 119 ret = store_ in BeginTransaction() [all...] |
/base/telephony/telephony_data/common/src/ |
H A D | rdb_base_helper.cpp | 41 ret = store_->Insert(id, table, initialValues); in Insert() 51 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update() 61 ret = store_->Update(changedRows, values, predicate); in Update() 71 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete() 80 ret = store_->Delete(deletedRows, predicates); in Delete() 89 ret = store_->ExecuteSql(sql); in ExecuteSql() 98 ret = store_->ExecuteSql(sql, bindArgs); in ExecuteSql() 108 return store_->QuerySql(sql); in QuerySql() 118 return store_->Query(predicates, columns); in Query() 125 if (store_ in IsExistStore() [all...] |
/base/usb/usb_manager/services/native/src/ |
H A D | usb_right_database.cpp | 33 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCallback, errCode); in UsbRightDataBase() 53 if (store_ == nullptr) { in BeginTransaction() 54 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction store_ is nullptr"); in BeginTransaction() 57 int32_t ret = store_->BeginTransaction(); in BeginTransaction() 67 if (store_ == nullptr) { in Commit() 68 USB_HILOGE(MODULE_USB_SERVICE, "Commit store_ is nullptr"); in Commit() 71 int32_t ret = store_->Commit(); in Commit() 81 if (store_ == nullptr) { in RollBack() 82 USB_HILOGE(MODULE_USB_SERVICE, "RollBack store_ is nullptr"); in RollBack() 85 int32_t ret = store_ in RollBack() [all...] |
/base/time/time_service/services/timer/src/ |
H A D | timer_database.cpp | 59 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION_2, timeDBOpenCallback, errCode); in TimeDatabase() 67 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION_2, timeDBOpenCallback, errCode); in TimeDatabase() 90 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION_2, timeDbOpenCallback, errCode); in RecoverDataBase() 117 if (store_ == nullptr) { in Insert() 118 TIME_HILOGE(TIME_MODULE_SERVICE, "store_ is nullptr"); in Insert() 123 int ret = store_->Insert(outRowId, table, insertValues); in Insert() 132 ret = store_->Insert(outRowId, table, insertValues); in Insert() 143 if (store_ == nullptr) { in Update() 144 TIME_HILOGE(TIME_MODULE_SERVICE, "store_ is nullptr"); in Update() 149 int ret = store_ in Update() [all...] |
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlog_manager.cpp | 88 return store_->CreateLogFile(fileName); in CreateTempFaultLogFile() 93 store_ = std::make_unique<LogStoreEx>(DEFAULT_FAULTLOG_FOLDER, true); in Init() 99 store_->SetLogFileComparator(comparator); in Init() 100 store_->Init(); in Init() 112 auto fd = store_->CreateLogFile(fileName); in SaveFaultLogToFile() 135 store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile() 176 auto vec = store_->GetLogFiles(filter); in GetFaultLogFileList()
|
H A D | faultlog_manager.h | 52 std::unique_ptr<LogStoreEx> store_ = nullptr; member in OHOS::HiviewDFX::FaultLogManager
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | data_share_dao.cpp | 38 DataShareDao::DataShareDao(std::shared_ptr<DataShareStore> store) : store_(store) in DataShareDao() 45 auto dbStore = store_->GetDbStore(); in IsUidExists() 64 auto dbStore = store_->GetDbStore(); in SaveSubscriberInfo() 100 auto dbStore = store_->GetDbStore(); in DeleteSubscriberInfo() 119 auto dbStore = store_->GetDbStore(); in GetEventListByUid() 144 auto dbStore = store_->GetDbStore(); in GetUidByBundleName() 169 auto dbStore = store_->GetDbStore(); in GetTotalSubscriberInfo()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | data_share_dao.h | 43 std::shared_ptr<DataShareStore> store_; member in OHOS::HiviewDFX::DataShareDao
|
/base/request/request/services/src/cxx/ |
H A D | c_request_database.cpp | 65 BuildDatabase(path, encryptStatus, store_); in RequestDataBase() 77 BuildDatabase(OHOS::Request::DB_NAME, true, store_); in CheckAndRebuildDataBase() 89 if (store_ == nullptr) { in Insert() 94 int ret = store_->Insert(outRowId, table, insertValues); in Insert() 103 if (store_ == nullptr) { in Update() 108 int ret = store_->Update(changedRows, values, predicates); in Update() 117 if (store_ == nullptr) { in Query() 120 return store_->QueryByStep(predicates, columns); in Query() 125 if (store_ == nullptr) { in ExecuteSql() 128 int ret = store_ in ExecuteSql() [all...] |
/base/security/security_guard/services/data_collect/store/include/ |
H A D | database.h | 52 std::shared_ptr<NativeRdb::RdbStore> store_; member in OHOS::Security::SecurityGuard::Database
|
/base/security/security_guard/test/unittest/data_collect/include/ |
H A D | database.h | 52 std::shared_ptr<NativeRdb::RdbStore> store_; member in OHOS::Security::SecurityGuard::Database
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_data_manager.cpp | 181 store_->UpdateOrInsert(reminder, bundleOption); in AddExcludeDate() 198 store_->UpdateOrInsert(reminder, bundleOption); in DelExcludeDates() 267 store_->DeleteUser(userId); in CancelRemindersImplLocked() 269 store_->Delete(packageName, userId, uid); in CancelRemindersImplLocked() 405 store_->UpdateOrInsert((*it), bundleOption); in OnProcessDiedLocked() 580 store_->UpdateOrInsert(reminder, reminder->GetNotificationBundleOption()); in CloseRemindersByGroupId() 604 store_->UpdateOrInsert(reminder, reminder->GetNotificationBundleOption()); in CloseReminder() 847 store_->UpdateOrInsert(reminder, bundleOption); in TerminateAlerting() 868 store_->UpdateOrInsert(reminder, bundleOption); in UpdateAndSaveReminderLocked() 1077 store_ in ShowReminder() [all...] |
/base/telephony/telephony_data/pdp_profile/src/ |
H A D | rdb_pdp_profile_helper.cpp | 160 if (store_ == nullptr || opKey.empty() || strcmp(opKey.c_str(), INVALID_OPKEY) == 0) { in InitAPNDatabase() 186 int32_t result = store_->BeginTransaction(); in InitAPNDatabase() 198 store_->InsertWithConflictResolution( in InitAPNDatabase()
|
/base/time/time_service/services/timer/include/ |
H A D | timer_database.h | 53 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::MiscServices::TimeDatabase
|
/base/request/request/services/include/ |
H A D | c_request_database.h | 135 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::Request::RequestDataBase
|
/base/telephony/telephony_data/opkey/src/ |
H A D | rdb_opkey_helper.cpp | 93 return RdbOpKeyCallback::InitData(*store_, TABLE_OPKEY_INFO); in InitOpKeyDatabase()
|
/base/telephony/telephony_data/common/include/ |
H A D | rdb_base_helper.h | 69 std::shared_ptr<NativeRdb::RdbStore> store_; member in OHOS::Telephony::RdbBaseHelper
|
/base/usb/usb_manager/services/native/include/ |
H A D | usb_right_database.h | 76 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::USB::UsbRightDataBase
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | reminder_data_manager.h | 738 std::shared_ptr<ReminderStore> store_ = nullptr; member in OHOS::Notification::final
|