/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
D | app_event_cache.cpp | 40 return store_ != nullptr; in IsOpen() 50 if (store_ != nullptr) { in Open() 51 store_.reset(); in Open() 53 store_ = std::make_shared<AppEventStore>(dir); in Open() 59 if (store_ == nullptr) { in Close() 65 int ret = store_->DestroyDbStore(); // delete db in Close() 66 store_.reset(); in Close() 72 if (store_ == nullptr) { in CreateBlock() 81 …if (AppEventBlocksDao(store_).AddBlock(name) != DB_SUCC || store_->CreateBlockTable(name) != DB_SU… in CreateBlock() 84 blocks_[name] = std::make_shared<AppEventBlock>(store_, name); in CreateBlock() [all …]
|
D | app_event_blocks_dao.cpp | 31 AppEventBlocksDao::AppEventBlocksDao(std::shared_ptr<AppEventStore> store) : store_(store) in AppEventBlocksDao() 38 auto dbStore = store_->GetDbStore(); in IsBlockExists() 57 auto dbStore = store_->GetDbStore(); in AddBlock() 75 auto dbStore = store_->GetDbStore(); in RemoveBlock() 95 auto dbStore = store_->GetDbStore(); in GetBlocks()
|
D | app_event_block_dao.cpp | 34 : store_(store) in AppEventBlockDao() 41 auto dbStore = store_->GetDbStore(); in InsertPackage() 61 auto dbStore = store_->GetDbStore(); in DeletePackageBySeq() 82 auto dbStore = store_->GetDbStore(); in DeletePackageByNum() 103 auto dbStore = store_->GetDbStore(); in GetPackagesBySize() 141 auto dbStore = store_->GetDbStore(); in CountPackages()
|
/base/request/request/download/ability/src/ |
D | download_database.cpp | 24 std::shared_ptr<OHOS::NativeRdb::RdbStore> DownloadDataBase::store_ = nullptr; member in OHOS::Request::Download::DownloadDataBase 34 …store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCa… in DownloadDataBase() 53 if (store_ == nullptr) { in BeginTransaction() 57 int ret = store_->BeginTransaction(); in BeginTransaction() 66 if (store_ == nullptr) { in Commit() 70 int ret = store_->Commit(); in Commit() 79 if (store_ == nullptr) { in RollBack() 83 int ret = store_->RollBack(); in RollBack() 100 if (store_ == nullptr) { in Insert() 105 int ret = store_->Insert(outRowId, TABLE_NAME, insertValues); in Insert() [all …]
|
/base/telephony/data_storage/common/src/ |
D | rdb_base_helper.cpp | 42 ret = store_->Insert(id, table, initialValues); in Insert() 52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update() 62 ret = store_->Update(changedRows, values, predicate); in Update() 72 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete() 81 ret = store_->Delete(deletedRows, predicates); in Delete() 90 ret = store_->ExecuteSql(sql); in ExecuteSql() 99 ret = store_->ExecuteSql(sql, bindArgs); in ExecuteSql() 110 resultSet = store_->QuerySql(sql); in QuerySql() 121 resultSet = store_->Query(predicates, columns); in Query() 128 if (store_ == nullptr) { in IsExistStore() [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlog_manager.cpp | 85 return store_->CreateLogFile(fileName); in CreateTempFaultLogFile() 90 store_ = std::make_unique<LogStoreEx>(FaultLogger::DEFAULT_FAULTLOG_FOLDER, true); in Init() 96 store_->SetLogFileComparator(comparator); in Init() 97 store_->Init(); in Init() 104 auto fd = store_->CreateLogFile(fileName); in SaveFaultLogToFile() 120 … store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile() 161 auto vec = store_->GetLogFiles(filter); in GetFaultLogFileList()
|
D | faultlog_manager.h | 52 std::unique_ptr<LogStoreEx> store_ = nullptr; variable
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | reminder_data_manager.cpp | 145 store_->DeleteUser(userId); in CancelRemindersImplLocked() 147 store_->Delete(packageName, userId); in CancelRemindersImplLocked() 295 store_->UpdateOrInsert((*it), bundleOption); in OnProcessDiedLocked() 448 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in CloseReminder() 531 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in TerminateAlerting() 552 store_->UpdateOrInsert(reminder, bundleOption); in UpdateAndSaveReminderLocked() 701 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in ShowReminder() 707 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in ShowReminder() 734 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in ShowReminder() 777 store_->UpdateOrInsert(reminder, FindNotificationBundleOption(reminder->GetReminderId())); in SnoozeReminderImpl() [all …]
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/ |
D | app_event_blocks_dao.h | 36 std::shared_ptr<AppEventStore> store_;
|
D | app_event_block_dao.h | 48 std::shared_ptr<AppEventStore> store_;
|
D | app_event_cache.h | 44 std::shared_ptr<AppEventStore> store_; variable
|
/base/request/request/download/ability/include/ |
D | download_database.h | 55 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; variable
|
/base/msdp/device_status/libs/include/ |
D | devicestatus_msdp_rdb.h | 74 std::shared_ptr<NativeRdb::RdbStore> store_; variable
|
D | devicestatus_sensor_rdb.h | 76 std::shared_ptr<NativeRdb::RdbStore> store_; variable
|
/base/telephony/data_storage/common/include/ |
D | rdb_base_helper.h | 74 std::shared_ptr<NativeRdb::RdbStore> store_;
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_msdp_rdb.cpp | 172 if (store_ == nullptr) { in TrigerDatabaseObserver() 179 …store_->QuerySql("SELECT * FROM DEVICESTATUSSENSOR WHERE ID = (SELECT max(ID) from DEVICESTATUSSEN… in TrigerDatabaseObserver()
|
D | devicestatus_sensor_rdb.cpp | 176 if (store_ == nullptr) { in TrigerDatabaseObserver() 183 …store_->QuerySql("SELECT * FROM DEVICESTATUSSENSOR WHERE ID = (SELECT max(ID) from DEVICESTATUSSEN… in TrigerDatabaseObserver()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | reminder_data_manager.h | 505 std::shared_ptr<ReminderStore> store_ = nullptr; variable
|