/bootable/recovery/tests/unit/host/ |
D | imgdiff_test.cpp | 134 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST() 179 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST() 181 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST() 183 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST() 233 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST() 235 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST() 237 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST() 281 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST() 283 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST() 285 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST() [all …]
|
D | update_simulator_test.cpp | 76 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, patch)); in CreateBsdiffPatch() 164 ASSERT_TRUE(android::base::ReadFileToString(raw_image.path, &content)); in TEST_F()
|
/bootable/recovery/tests/unit/ |
D | updater_test.cpp | 186 ASSERT_TRUE(android::base::ReadFileToString(temp_pipe.path, &pipe_content)); in RunBlockImageUpdate() 257 ASSERT_TRUE(android::base::ReadFileToString(source_file, &source_content)); in TEST_F() 264 ASSERT_TRUE(android::base::ReadFileToString(target_file, &target_content)); in TEST_F() 362 ASSERT_TRUE(android::base::ReadFileToString(temp_file1.path, &data)); in TEST_F() 369 ASSERT_TRUE(android::base::ReadFileToString(temp_file1.path, &data)); in TEST_F() 445 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated)); in TEST_F() 511 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &content)); in TEST_F() 519 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &content)); in TEST_F() 601 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F() 624 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F() [all …]
|
D | applypatch_modes_test.cpp | 42 if (!android::base::ReadFileToString(filename, &data)) { in GetEmmcTargetString() 136 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("boot.img"), &src_content)); in TEST_F() 139 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("recovery.img"), &tgt_content)); in TEST_F()
|
D | verifier_test.cpp | 46 ASSERT_TRUE(android::base::ReadFileToString(file_name, &testkey_string)); in LoadKeyFromFile() 81 ASSERT_TRUE(android::base::ReadFileToString(name, &content)); in BuildCertificateArchive() 101 android::base::ReadFileToString(from_testdata_base("testkey_v1.txt"), &testkey_string)); in TEST() 220 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("testkey_v1.x509.pem"), &content)); in TEST() 283 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("otasigned_v3.zip"), &package)); in TEST() 297 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("otasigned_v3.zip"), &package)); in TEST()
|
D | fuse_sideload_test.cpp | 102 ASSERT_TRUE(android::base::ReadFileToString(package, &content_via_fuse)); in TEST()
|
D | package_test.cpp | 54 ASSERT_TRUE(android::base::ReadFileToString(temp_file_.path, &file_content_)); in SetUp()
|
/bootable/recovery/updater/ |
D | simulator_runtime.cpp | 89 bool SimulatorRuntime::ReadFileToString(const std::string_view filename, in ReadFileToString() function in SimulatorRuntime 92 return android::base::ReadFileToString(source_->GetOemSettings(), content); in ReadFileToString()
|
D | updater_runtime.cpp | 141 bool UpdaterRuntime::ReadFileToString(const std::string_view filename, std::string* content) const { in ReadFileToString() function in UpdaterRuntime 142 return android::base::ReadFileToString(std::string(filename), content); in ReadFileToString()
|
D | update_simulator_main.cpp | 116 if (!android::base::ReadFileToString(skip_function_file, &content)) { in main()
|
D | target_files.cpp | 125 return android::base::ReadFileToString(entry_path, content); in ReadEntryToString()
|
/bootable/recovery/applypatch/ |
D | applypatch_modes.cpp | 74 if (!android::base::ReadFileToString(patch_file, &patch_contents)) { in PatchMode() 83 if (!android::base::ReadFileToString(bonus_file, &bonus_contents)) { in PatchMode()
|
/bootable/recovery/recovery_utils/ |
D | thermalutil.cpp | 66 if (!android::base::ReadFileToString(path, &content)) { in GetMaxValueFromThermalZone()
|
D | parse_install_logs.cpp | 94 if (!android::base::ReadFileToString(file_name, &content)) { in ParseLastInstall()
|
/bootable/recovery/edify/include/edify/ |
D | updater_runtime_interface.h | 55 virtual bool ReadFileToString(const std::string_view filename, std::string* content) const = 0;
|
/bootable/recovery/updater/include/updater/ |
D | updater_runtime.h | 48 bool ReadFileToString(const std::string_view filename, std::string* content) const override;
|
D | simulator_runtime.h | 45 bool ReadFileToString(const std::string_view filename, std::string* content) const override;
|
/bootable/recovery/tests/manual/ |
D | recovery_test.cpp | 83 EXPECT_TRUE(android::base::ReadFileToString(kInjectTxtFilename, &buf)); in TEST()
|
/bootable/recovery/ |
D | recovery-persist.cpp | 96 android::base::ReadFileToString(destination, &content); in logsave()
|
D | recovery_main.cpp | 143 android::base::ReadFileToString(COMMAND_FILE, &content)) { in get_args() 181 if (!android::base::ReadFileToString(LOCALE_FILE, &content)) { in load_locale_from_cache()
|
/bootable/recovery/install/ |
D | wipe_device.cpp | 68 if (!android::base::ReadFileToString(RECOVERY_WIPE_ON_DEVICE, &partition_list_content)) { in GetWipePartitionList()
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 118 if (!android::base::ReadFileToString(max_brightness_file_, &content)) { in InitScreensaver() 157 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { in Init()
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 213 if (!android::base::ReadFileToString(uncrypt_path_file, &uncrypt_path)) { in FindUncryptPackage() 589 if (!android::base::ReadFileToString(path, &wipe_package)) { in setup_bcb()
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 40 if (!android::base::ReadFileToString(block_map_path, &content)) { in ParseBlockMapFile()
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 111 if (!android::base::ReadFileToString(path, &content)) { in FindDmPartitions()
|