Home
last modified time | relevance | path

Searched refs:store_ (Results 1 – 18 of 18) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_cache.cpp40 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 …]
Dapp_event_blocks_dao.cpp31 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()
Dapp_event_block_dao.cpp34 : 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/
Ddownload_database.cpp24 std::shared_ptr<OHOS::NativeRdb::RdbStore> DownloadDataBase::store_ = nullptr; member in OHOS::Request::Download::DownloadDataBase
34store_ = 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/
Drdb_base_helper.cpp42 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/
Dfaultlog_manager.cpp85 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()
120store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile()
161 auto vec = store_->GetLogFiles(filter); in GetFaultLogFileList()
Dfaultlog_manager.h52 std::unique_ptr<LogStoreEx> store_ = nullptr; variable
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp145 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/
Dapp_event_blocks_dao.h36 std::shared_ptr<AppEventStore> store_;
Dapp_event_block_dao.h48 std::shared_ptr<AppEventStore> store_;
Dapp_event_cache.h44 std::shared_ptr<AppEventStore> store_; variable
/base/request/request/download/ability/include/
Ddownload_database.h55 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; variable
/base/msdp/device_status/libs/include/
Ddevicestatus_msdp_rdb.h74 std::shared_ptr<NativeRdb::RdbStore> store_; variable
Ddevicestatus_sensor_rdb.h76 std::shared_ptr<NativeRdb::RdbStore> store_; variable
/base/telephony/data_storage/common/include/
Drdb_base_helper.h74 std::shared_ptr<NativeRdb::RdbStore> store_;
/base/msdp/device_status/libs/src/
Ddevicestatus_msdp_rdb.cpp172 if (store_ == nullptr) { in TrigerDatabaseObserver()
179store_->QuerySql("SELECT * FROM DEVICESTATUSSENSOR WHERE ID = (SELECT max(ID) from DEVICESTATUSSEN… in TrigerDatabaseObserver()
Ddevicestatus_sensor_rdb.cpp176 if (store_ == nullptr) { in TrigerDatabaseObserver()
183store_->QuerySql("SELECT * FROM DEVICESTATUSSENSOR WHERE ID = (SELECT max(ID) from DEVICESTATUSSEN… in TrigerDatabaseObserver()
/base/notification/distributed_notification_service/services/ans/include/
Dreminder_data_manager.h505 std::shared_ptr<ReminderStore> store_ = nullptr; variable