Lines Matching refs:path

145     Paths::Get().set_cache_temp_source(temp_saved_source_.path);  in SetUp()
146 Paths::Get().set_last_command_file(temp_last_command_.path); in SetUp()
147 Paths::Get().set_stash_directory_base(temp_stash_base_.path); in SetUp()
149 last_command_file_ = temp_last_command_.path; in SetUp()
150 image_file_ = image_temp_file_.path; in SetUp()
158 std::string updated_marker{ temp_stash_base_.path }; in TearDown()
159 updated_marker += "/" + GetSha1(image_temp_file_.path) + ".UPDATED"; in TearDown()
179 ASSERT_TRUE(updater_.Init(temp_pipe.release(), zip_file.path, false)); in RunBlockImageUpdate()
186 ASSERT_TRUE(android::base::ReadFileToString(temp_pipe.path, &pipe_content)); in RunBlockImageUpdate()
306 ASSERT_TRUE(android::base::WriteStringToFile(buffer, temp_file1.path)); in TEST_F()
314 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file2.path)); in TEST_F()
316 std::string script1("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
320 std::string script2("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
325 std::string script3("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
329 std::string script4("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
333 std::string script5("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
337 std::string script6("file_getprop(\"" + std::string(temp_file2.path) + in TEST_F()
357 std::string script("package_extract_file(\"a.txt\", \"" + std::string(temp_file1.path) + "\")"); in TEST_F()
362 ASSERT_TRUE(android::base::ReadFileToString(temp_file1.path, &data)); in TEST_F()
366 script = "package_extract_file(\"b.txt\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
369 ASSERT_TRUE(android::base::ReadFileToString(temp_file1.path, &data)); in TEST_F()
373 script = "package_extract_file(\"doesntexist\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
400 std::string script("write_value(\"foo\", \""s + temp_file.path + "\");"); in TEST_F()
403 script = "read_file(\""s + temp_file.path + "\") == \"foo\""; in TEST_F()
406 script = "read_file(\""s + temp_file.path + "\") == \"bar\""; in TEST_F()
506 std::string script("write_value(\"" + value + "\", \"" + std::string(temp_file.path) + "\")"); in TEST_F()
511 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &content)); in TEST_F()
515 script = "write_value(\"\", \"" + std::string(temp_file.path) + "\")"; in TEST_F()
519 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &content)); in TEST_F()
535 std::string temp_file(tf.path); in TEST_F()
558 std::string temp_file(tf.path); in TEST_F()
567 expect(tf.path, script, kNoCause); 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()
657 patch_file.path, nullptr)); in GetEntriesForBsdiff()
659 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch_content)); in GetEntriesForBsdiff()
768 std::string stash_base = std::string(temp_stash_base_.path) + "/" + name_digest; in TEST_F()
1082 patch_file_bdc_g.path, nullptr)); in GenerateTransferList()
1084 CHECK(android::base::ReadFileToString(patch_file_bdc_g.path, &patch_bdc_g)); in GenerateTransferList()
1094 patch_file_abcd_dcb.path, nullptr)); in GenerateTransferList()
1096 CHECK(android::base::ReadFileToString(patch_file_abcd_dcb.path, &patch_abcd_dcb)); in GenerateTransferList()