Home
last modified time | relevance | path

Searched refs:LoadFileContents (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/tests/unit/
Dapplypatch_test.cpp51 ASSERT_TRUE(LoadFileContents(source_file, &boot_fc)); in SetUp()
57 ASSERT_TRUE(LoadFileContents(target_file, &recovery_fc)); in SetUp()
137 ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot.p"), &patch_fc)); in TEST_F()
141 ASSERT_TRUE(LoadFileContents(from_testdata_base("bonus.file"), &bonus_fc)); in TEST_F()
151 ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot-with-bonus.p"), &patch_fc)); in TEST_F()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h97 bool LoadFileContents(const std::string& filename, FileContents* file);
/bootable/recovery/applypatch/
Dapplypatch.cpp52 bool LoadFileContents(const std::string& filename, FileContents* file) { in LoadFileContents() function
100 if (LoadFileContents(Paths::Get().cache_temp_source(), out) && in ReadPartitionToBuffer()
303 if (!LoadFileContents(source_filename, &source_file)) { in FlashPartition()