Home
last modified time | relevance | path

Searched refs:store_ (Results 1 - 16 of 16) sorted by relevance

/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_account.cpp54 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in Insert() local
59 if (store_ == nullptr) { in Insert()
60 HILOG_ERROR("ContactsAccount insert store_ is nullptr"); in Insert()
63 int ret = store_->Insert(outRowId, ContactTableName::ACCOUNT, values); in Insert()
81 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in LookupAccountTypeId() local
97 auto resultSet = store_->QuerySql(sqlBuilder, selectionArgs); in LookupAccountTypeId()
114 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in GetAccountFromLocal() local
116 if (store_ == nullptr) { in GetAccountFromLocal()
117 HILOG_ERROR("ContactsAccount GetAccountFromLocal store_ is nullptr"); in GetAccountFromLocal()
130 auto result = store_ in GetAccountFromLocal()
156 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; GetNotExistAccount() local
201 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; DeleteAccountByAccountId() local
220 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; DeleteDataByRawId() local
239 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; DeleteGroupsByAccountId() local
258 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; StopForegin() local
268 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; OpenForegin() local
[all...]
H A Dcontacts_database.cpp44 std::shared_ptr<OHOS::NativeRdb::RdbStore> ContactsDataBase::store_ = nullptr; member in OHOS::Contacts::ContactsDataBase
75 store_ = contactStore_; in ContactsDataBase()
77 contactsAccount->PrepopulateCommonAccountTypes(store_); in ContactsDataBase()
79 contactsType.PrepopulateCommonTypes(store_); in ContactsDataBase()
98 if (store_ == nullptr) { in BeginTransaction()
99 HILOG_ERROR("ContactsDataBase BeginTransaction store_ is nullptr"); in BeginTransaction()
102 int ret = store_->BeginTransaction(); in BeginTransaction()
111 if (store_ == nullptr) { in Commit()
112 HILOG_ERROR("ContactsDataBase Commit store_ is nullptr"); in Commit()
115 int ret = store_ in Commit()
[all...]
H A Draw_contacts.cpp89 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in GetDeleteContactIdByAccountId() local
90 if (store_ == nullptr) { in GetDeleteContactIdByAccountId()
91 HILOG_ERROR("RawContacts GetDeleteContactIdByAccountId store_ is nullptr or accountId illegal"); in GetDeleteContactIdByAccountId()
123 auto rawResult = store_->QuerySql(sql, selectArgs); in GetDeleteContactIdByAccountId()
141 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in GetDeleteRawContactIdByAccountId() local
142 if (store_ == nullptr) { in GetDeleteRawContactIdByAccountId()
143 HILOG_ERROR("RawContacts GetDeleteRawContactIdByAccountId store_ is nullptr"); in GetDeleteRawContactIdByAccountId()
163 auto rawResult = store_->QuerySql(sql, selectArgs); in GetDeleteRawContactIdByAccountId()
180 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in DeleteRawcontactByRawId() local
181 if (store_ in DeleteRawcontactByRawId()
[all...]
H A Dcontacts_type.cpp35 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in Insert() local
41 if (store_ == nullptr) { in Insert()
42 HILOG_ERROR("ContactsType insert store_ is nullptr"); in Insert()
46 int ret = store_->Insert(outRowId, ContactTableName::CONTACT_TYPE, values); in Insert()
86 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in LookupTypeId() local
94 auto resultSet = store_->QuerySql(sqlBuilder, selectionArgs); in LookupTypeId()
109 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in GetTypeText() local
117 auto resultSet = store_->QuerySql(sqlBuilder, selectionArgs); in GetTypeText()
H A Dprofile_database.cpp31 std::shared_ptr<OHOS::NativeRdb::RdbStore> ProfileDatabase::store_ = nullptr; member in OHOS::Contacts::ProfileDatabase
44 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCallback, errCode); in ProfileDatabase()
55 contactsAccount->PrepopulateCommonAccountTypes(store_); in ProfileDatabase()
57 contactsType.PrepopulateCommonTypes(store_); in ProfileDatabase()
H A Dcontacts_data_ability.cpp659 contactDataBase_->store_ = contactDataBase_->contactStore_; in SwitchProfile()
662 contactDataBase_->store_ = profileDataBase_->store_; in SwitchProfile()
/applications/standard/contacts_data/dataBusiness/voicemail/src/
H A Dvoicemail_database.cpp24 std::shared_ptr<OHOS::NativeRdb::RdbStore> VoiceMailDataBase::store_ = nullptr; member in OHOS::Contacts::VoiceMailDataBase
28 store_ = CallLogDataBase::GetInstance()->store_; in VoiceMailDataBase()
43 if (store_ == nullptr) { in InsertVoiceMail()
44 HILOG_ERROR("VoiceMailDataBase Insert store_ is nullptr"); in InsertVoiceMail()
48 int ret = store_->Insert(outRowId, tableName, insertValues); in InsertVoiceMail()
60 if (store_ == nullptr) { in UpdateVoiceMail()
61 HILOG_ERROR("VoiceMailDataBase Update store_ is nullptr"); in UpdateVoiceMail()
67 int ret = store_->Update(changedRows, values, rdbPredicates); in UpdateVoiceMail()
78 if (store_ in DeleteVoiceMail()
[all...]
/applications/standard/contacts_data/ability/datadisasterrecovery/src/
H A Ddatabase_disaster_recovery.cpp62 redbStoreMap.insert(std::make_pair(PROFILE_DATABASE_NAME, profile->store_)); in SQLiteCheckDb()
71 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = kv.second; in SQLiteCheckDb() local
72 int ret = SQLiteCheckDb(store_, kv.first); in SQLiteCheckDb()
88 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_ = rdbStore; in SQLiteCheckDb() local
89 if (store_ == nullptr) { in SQLiteCheckDb()
90 HILOG_ERROR("DataBaseDisasterRecovery SQLliteCheck %{public}s store_ is nullptr", dataBaseName.c_str()); in SQLiteCheckDb()
94 store_->ExecuteAndGetString(result, "PRAGMA quick_check(0)"); in SQLiteCheckDb()
114 redbStoreMap.insert(std::make_pair(PROFILE_DATABASE_NAME, profile->store_)); in BackDatabase()
123 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = kv.second; in BackDatabase() local
125 store_ in BackDatabase()
140 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = iter->second; BackDatabase() local
168 GetBackUpDatabase(const std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_) GetBackUpDatabase() argument
[all...]
/applications/standard/contacts_data/dataBusiness/calllog/src/
H A Dcalllog_database.cpp25 std::shared_ptr<OHOS::NativeRdb::RdbStore> CallLogDataBase::store_ = nullptr; member in OHOS::Contacts::CallLogDataBase
34 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCallback, errCode); in CallLogDataBase()
53 if (store_ == nullptr) { in BeginTransaction()
54 HILOG_ERROR("CallLogDataBase BeginTransaction store_ is nullptr"); in BeginTransaction()
57 int ret = store_->BeginTransaction(); in BeginTransaction()
66 if (store_ == nullptr) { in Commit()
67 HILOG_ERROR(" CallLogDataBase Commit store_ is nullptr"); in Commit()
70 int ret = store_->Commit(); in Commit()
79 if (store_ == nullptr) { in RollBack()
80 HILOG_ERROR(" CallLogDataBase RollBack store_ i in RollBack()
[all...]
/applications/standard/contacts_data/ability/account/src/
H A Daccount_manager.cpp36 ContactsDataBase::store_, AccountData::ACCOUNT_NAME, AccountData::ACCOUNT_TYPE); in GetAccount()
H A Daccount_sync.cpp85 store = profileDataBase_->store_; in SyncUpdateAccount()
/applications/standard/contacts_data/dataBusiness/voicemail/include/
H A Dvoicemail_database.h37 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::Contacts::VoiceMailDataBase
/applications/standard/contacts_data/ability/datadisasterrecovery/include/
H A Ddatabase_disaster_recovery.h32 std::string GetBackUpDatabase(const std::shared_ptr<OHOS::NativeRdb::RdbStore> &store_);
/applications/standard/contacts_data/dataBusiness/contacts/include/
H A Dprofile_database.h32 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::Contacts::ProfileDatabase
H A Dcontacts_database.h36 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::Contacts::ContactsDataBase
/applications/standard/contacts_data/dataBusiness/calllog/include/
H A Dcalllog_database.h40 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::Contacts::CallLogDataBase

Completed in 7 milliseconds