Home
last modified time | relevance | path

Searched refs:storePath (Results 1 - 4 of 4) sorted by relevance

/base/update/updater/test/unittest/applypatch_test/
H A Dstore_unittest.cpp44 std::string storePath = "/data/updater/ut_test"; in HWTEST_F() local
45 Store::CreateNewSpace(storePath, true); in HWTEST_F()
49 Store::WriteDataToStore(storePath, filename1, buffer, 4096); in HWTEST_F()
50 Store::WriteDataToStore(storePath, filename2, buffer, 4096); in HWTEST_F()
51 Store::LoadDataFromStore(storePath, filename1, buffer); in HWTEST_F()
52 Store::DoFreeSpace(storePath); in HWTEST_F()
53 Store::WriteDataToStore(storePath, filename1, buffer, 4096); in HWTEST_F()
54 Store::WriteDataToStore(storePath, filename2, buffer, 4096); in HWTEST_F()
55 Store::FreeStore(storePath, filename2); in HWTEST_F()
56 EXPECT_EQ(Store::CreateNewSpace(storePath, tru in HWTEST_F()
67 std::string storePath = "data/updater/ut_test"; HWTEST_F() local
[all...]
H A Dall_cmd_unittest.cpp125 std::string storePath = "/data/updater/update_tmp"; in HWTEST_F() local
126 Store::CreateNewSpace(storePath, false); in HWTEST_F()
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage.c485 static int32_t DestroyType(const char *storePath, const char *typePath, uint32_t bakFlag) in DestroyType() argument
492 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType()
521 char *storePath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in StoreDestroy() local
522 HKS_IF_NULL_RETURN(storePath, HKS_ERROR_MALLOC_FAIL) in StoreDestroy()
524 int32_t ret = GetPath(rootPath, processNameEncoded, storePath, HKS_MAX_FILE_NAME_LEN, bakFlag); in StoreDestroy()
527 HKS_FREE(storePath); in StoreDestroy()
531 ret = DestroyType(storePath, HKS_KEY_STORE_ROOT_KEY_PATH, bakFlag); in StoreDestroy()
536 ret = DestroyType(storePath, HKS_KEY_STORE_KEY_PATH, bakFlag); in StoreDestroy()
541 HKS_FREE(storePath); in StoreDestroy()
/base/update/updater/services/applypatch/
H A Dblock_set.cpp312 std::string storePath = storeBase + "/" + srcHash; in LoadTargetBuffer() local
314 int res = stat(storePath.c_str(), &storeStat); in LoadTargetBuffer()

Completed in 4 milliseconds