/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, in GetSingleKvStore() argument 33 std::string storeIdTmp = storeId.storeId; in GetSingleKvStore() 35 MockSingleKvStore::InsertMockKvStore(appId, storeId, kvStore); in GetSingleKvStore() 39 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 49 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument 51 MockSingleKvStore::RemoveMockKvStore(appId, storeId); in DeleteKvStore()
|
H A D | mock_single_kv_store.cpp | 25 void MockSingleKvStore::InsertMockKvStore(AppId appId, StoreId storeId, std::shared_ptr<SingleKvStore> store) in InsertMockKvStore() argument 29 kvStoreMap_[std::pair<std::string, std::string>(appId.appId, storeId.storeId)] = store; in InsertMockKvStore() 32 void MockSingleKvStore::RemoveMockKvStore(AppId appId, StoreId storeId) in RemoveMockKvStore() argument 34 kvStoreMap_.erase(std::pair<std::string, std::string>(appId.appId, storeId.storeId)); in RemoveMockKvStore() 37 std::shared_ptr<MockSingleKvStore> MockSingleKvStore::GetMockKvStorePointer(AppId appId, StoreId storeId) in GetMockKvStorePointer() argument 40 if (kvstore.first == std::pair<std::string, std::string>(appId.appId, storeId.storeId)) { in GetMockKvStorePointer() 157 StoreId storeId; in GetStoreId() local [all...] |
/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, in GetSingleKvStore() argument 33 std::string storeIdTmp = storeId.storeId; in GetSingleKvStore() 38 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument
|
H A D | mock_single_kv_store.cpp | 64 StoreId storeId; in GetStoreId() local 65 storeId.storeId = ""; in GetStoreId() 66 return storeId; in GetStoreId()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, in GetSingleKvStore() argument 33 std::string storeIdTmp = storeId.storeId; in GetSingleKvStore() 38 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument
|
H A D | mock_single_kv_store.cpp | 63 StoreId storeId; in GetStoreId() local 64 storeId.storeId = ""; in GetStoreId() 65 return storeId; in GetStoreId()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
H A D | mock_distributed_kv_data_manager.cpp | 34 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, in GetSingleKvStore() argument 40 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument
|
H A D | mock_single_kv_store.cpp | 73 StoreId storeId; in GetStoreId() local 74 storeId.storeId = ""; in GetStoreId() 75 return storeId; in GetStoreId()
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences_database.cpp | 69 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in GetKvStore() local 70 DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore() 192 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in ClearDatabase() local 193 DistributedKv::Status status = kvDataManager_->CloseKvStore(appId, storeId); in ClearDatabase() 199 status = kvDataManager_->DeleteKvStore(appId, storeId, KV_STORE_PATH); in ClearDatabase()
|
H A D | distributed_screen_status_manager.cpp | 77 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in OnDeviceDisconnected() local 78 kvDataManager_->DeleteKvStore(appId, storeId, KV_STORE_PATH); in OnDeviceDisconnected() 143 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in GetKvStore() local 144 DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore()
|
H A D | distributed_database.cpp | 98 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in GetKvStore() local 99 DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore() 341 DistributedKv::StoreId storeId = {.storeId = STORE_ID}; in RecreateDistributedDB() local 342 DistributedKv::Status status = kvDataManager_->DeleteKvStore(appId, storeId, KV_STORE_PATH); in RecreateDistributedDB()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
H A D | mock_distributed_kv_data_manager.cpp | 37 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId,
in GetSingleKvStore() argument 46 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path)
in DeleteKvStore() argument
|
H A D | mock_single_kv_store.cpp | 82 StoreId storeId;
in GetStoreId() local 83 storeId.storeId = "";
in GetStoreId() 84 return storeId;
in GetStoreId()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
H A D | mock_distributed_kv_data_manager.cpp | 42 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, in GetSingleKvStore() argument 77 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 87 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument
|
H A D | mock_single_kv_store.cpp | 64 StoreId storeId; in GetStoreId() local 65 storeId.storeId = ""; in GetStoreId() 66 return storeId; in GetStoreId()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_data_storage.cpp | 26 OsAccountDataStorage::OsAccountDataStorage(const std::string &appId, const std::string &storeId, const bool &autoSync) in OsAccountDataStorage() argument 27 : AccountDataStorage(appId, storeId, { .autoSync = autoSync }) in OsAccountDataStorage()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/ |
H A D | mock_single_kv_store.cpp | 78 StoreId storeId; in GetStoreId() local 79 storeId.storeId = ""; in GetStoreId() 80 return storeId; in GetStoreId()
|
H A D | mock_distributed_kv_data_manager.cpp | 28 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId,
in GetSingleKvStore() argument
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | os_account_data_storage.h | 27 OsAccountDataStorage(const std::string &appId, const std::string &storeId, const bool &autoSync);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 442 DistributedKv::StoreId storeId = {.storeId = KVSTORE_SCREEN_STATUS_STORE_ID}; in SetDistributedScreenStatus() local 444 DistributedKv::MockSingleKvStore::GetMockKvStorePointer(appId, storeId); in SetDistributedScreenStatus() 1731 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; in HWTEST_F() local 1733 DistributedKv::MockSingleKvStore::GetMockKvStorePointer(appId, storeId); in HWTEST_F() 1756 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; in HWTEST_F() local 1758 DistributedKv::MockSingleKvStore::GetMockKvStorePointer(appId, storeId); in HWTEST_F() 1781 DistributedKv::StoreId storeId in HWTEST_F() local 1807 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 1835 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 1868 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 1898 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 1931 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 1967 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 2028 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 2082 DistributedKv::StoreId storeId = {.storeId = KVSTORE_SCREEN_STATUS_STORE_ID}; HWTEST_F() local 2245 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local 2290 DistributedKv::StoreId storeId = {.storeId = KVSTORE_NOTIFICATION_STORE_ID}; HWTEST_F() local [all...] |
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_data_storage.cpp | 29 AppAccountDataStorage::AppAccountDataStorage(const std::string &storeId, const AccountDataStorageOptions &options) in AppAccountDataStorage() argument 30 : AccountDataStorage(Constants::APP_ACCOUNT_APP_ID, storeId, options) in AppAccountDataStorage()
|
H A D | app_account_control_manager.cpp | 180 for (std::string &storeId : storeIdList) { in MoveData() 181 if (storeId.find(EL2_DATA_STORE_PREFIX) != std::string::npos in MoveData() 182 || storeId.find(userId) == std::string::npos) { in MoveData() 186 if (storeId.find(DATA_STORAGE_PREFIX) != std::string::npos) { in MoveData() 189 ACCOUNT_LOGI("MoveData start, storeId=%{public}s", storeId.c_str()); in MoveData() 190 auto oldPtr = std::make_shared<AppAccountDataStorage>(storeId, options); in MoveData() 197 ACCOUNT_LOGE("MoveData failed, storeId=%{public}s, result=%{public}u", in MoveData() 198 storeId.c_str(), result); in MoveData() 203 ACCOUNT_LOGE("DeleteKvStore failed, storeId in MoveData() 1125 std::string storeId = std::to_string(userId); OnUserRemoved() local 1250 std::string storeId = std::to_string(userId); GetDataStorageByUserId() local [all...] |
/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_data_storage.h | 27 AppAccountDataStorage(const std::string &storeId, const AccountDataStorageOptions &options);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/ |
H A D | mock_single_kv_store.h | 340 * @param storeId Indicates the id of store. 343 static void InsertMockKvStore(AppId appId, StoreId storeId, std::shared_ptr<SingleKvStore> store); 349 * @param storeId Indicates the id of store. 351 static void RemoveMockKvStore(AppId appId, StoreId storeId); 357 * @param storeId Indicates the id of store. 360 static std::shared_ptr<MockSingleKvStore> GetMockKvStorePointer(AppId appId, StoreId storeId);
|
/base/security/dlp_permission_service/services/dlp_permission/sa/storage/src/ |
H A D | dlp_kv_data_storage.cpp | 31 DlpKvDataStorage::DlpKvDataStorage(const std::string &storeId, in DlpKvDataStorage() argument 35 storeId_.storeId = storeId; in DlpKvDataStorage()
|