Lines Matching refs:temp_file
399 TemporaryFile temp_file; in TEST_F() local
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()
504 TemporaryFile temp_file; in TEST_F() local
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() local
539 ASSERT_TRUE(write_bootloader_message_to(boot, temp_file, &err)); in TEST_F()
542 std::string script("get_stage(\"" + temp_file + "\")"); in TEST_F()
558 std::string temp_file(tf.path); in TEST_F() local
563 ASSERT_TRUE(write_bootloader_message_to(boot, temp_file, &err)); in TEST_F()
566 std::string script("set_stage(\"" + temp_file + "\", \"1/3\")"); in TEST_F()
571 ASSERT_TRUE(read_bootloader_message_from(&boot_verify, temp_file, &err)); in TEST_F()