/ohos5.0/base/update/updater/test/unittest/applypatch_test/ |
H A D | store_unittest.cpp | 44 std::string storePath = "/data/updater/ut_test"; variable 45 Store::CreateNewSpace(storePath, true); 49 Store::WriteDataToStore(storePath, filename1, buffer, 4096); 50 Store::WriteDataToStore(storePath, filename2, buffer, 4096); 51 Store::LoadDataFromStore(storePath, filename1, buffer); 52 Store::DoFreeSpace(storePath); 53 Store::WriteDataToStore(storePath, filename1, buffer, 4096); 55 Store::FreeStore(storePath, filename2); 56 EXPECT_EQ(Store::CreateNewSpace(storePath, true), 0); 67 std::string storePath = "data/updater/ut_test"; variable [all …]
|
H A D | all_cmd_unittest.cpp | 125 std::string storePath = "/data/updater/update_tmp"; variable 126 Store::CreateNewSpace(storePath, false);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | backup_manager.cpp | 74 std::string storePath = topPath + "/" + storeId; in Prepare() local 75 std::string autoBackupName = storePath + "/" + AUTO_BACKUP_NAME + BACKUP_POSTFIX; in Prepare() 77 (void)StoreUtil::InitPath(storePath); in Prepare() 119 std::string storePath = topPath + "/" + storeId; in Backup() local 120 std::string backupFullName = storePath + "/" + name + BACKUP_POSTFIX; in Backup() 125 if ((StoreUtil::GetFiles(storePath).size() >= MAX_BACKUP_NUM) && isCreate) { in Backup() 129 (void)StoreUtil::InitPath(storePath); in Backup()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_natural_store.cpp | 285 int RdSingleVerNaturalStore::PreCheckRdImport(std::string &storePath) in PreCheckRdImport() argument 306 storePath = optionTemp.uri; in PreCheckRdImport() 307 if (storePath.empty()) { in PreCheckRdImport() 317 std::string storePath; in Import() local 319 errCode = PreCheckRdImport(storePath); in Import() 352 errCode = RdRestore(storePath.c_str(), filePath.c_str(), decryptedKey, decryptedKeyLen); in Import()
|
H A D | rd_single_ver_natural_store.h | 149 int PreCheckRdImport(std::string &storePath);
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage.c | 484 static int32_t DestroyType(const char *storePath, const char *typePath, uint32_t bakFlag) in DestroyType() argument 491 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType() 520 char *storePath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in StoreDestroy() local 521 HKS_IF_NULL_RETURN(storePath, HKS_ERROR_MALLOC_FAIL) in StoreDestroy() 523 int32_t ret = GetPath(rootPath, processNameEncoded, storePath, HKS_MAX_FILE_NAME_LEN, bakFlag); in StoreDestroy() 526 HKS_FREE(storePath); in StoreDestroy() 530 ret = DestroyType(storePath, HKS_KEY_STORE_ROOT_KEY_PATH, bakFlag); in StoreDestroy() 535 ret = DestroyType(storePath, HKS_KEY_STORE_KEY_PATH, bakFlag); in StoreDestroy() 540 HKS_FREE(storePath); in StoreDestroy()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_delegate_manager.cpp | 84 void InitPropWithNbOption(KvDBProperties &properties, const std::string &storePath, in InitPropWithNbOption() argument 93 properties.SetStringProp(KvDBProperties::DATA_DIR, storePath); in InitPropWithNbOption() 139 void InitPropWithOption(KvDBProperties &properties, const std::string &storePath, in InitPropWithOption() argument 148 properties.SetStringProp(KvDBProperties::DATA_DIR, storePath); in InitPropWithOption()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | cloud_db_sync_utils_test.h | 85 …static void InitStoreProp(const std::string &storePath, const std::string &appId, const std::strin…
|
H A D | cloud_db_sync_utils_test.cpp | 311 void CloudDBSyncUtilsTest::InitStoreProp(const std::string &storePath, const std::string &appId, in InitStoreProp() argument 314 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
H A D | distributeddb_cloud_asset_compare_test.cpp | 152 …void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &user… in InitStoreProp() argument 155 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/storage_fuzzer/ |
H A D | storage_fuzzer.cpp | 133 …void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &user… in InitStoreProp() argument 136 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | block_set.cpp | 305 std::string storePath = storeBase + "/" + srcHash; in LoadTargetBuffer() local 307 int res = stat(storePath.c_str(), &storeStat); in LoadTargetBuffer()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_relational_encrypted_db_test.cpp | 60 void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &userI… in InitStoreProp() argument 63 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
H A D | distributeddb_relational_remote_query_test.cpp | 72 void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &userI… in InitStoreProp() argument 75 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
H A D | distributeddb_relational_cloud_syncable_storage_test.cpp | 351 void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &userI… in InitStoreProp() argument 354 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
H A D | distributeddb_relational_get_data_test.cpp | 128 void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &userI… in InitStoreProp() argument 131 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_meta_data_test.cpp | 62 …void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &user… in InitStoreProp() argument 65 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|
H A D | distributeddb_cloud_save_cloud_data_test.cpp | 195 …void InitStoreProp(const std::string &storePath, const std::string &appId, const std::string &user… in InitStoreProp() argument 198 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
|