Lines Matching refs:updater_info
120 UpdaterInfo updater_info; in RunBlockImageUpdate() local
121 updater_info.package_zip = handle; in RunBlockImageUpdate()
123 updater_info.cmd_pipe = fdopen(temp_pipe.release(), "wbe"); in RunBlockImageUpdate()
124 updater_info.package_zip_addr = map.addr; in RunBlockImageUpdate()
125 updater_info.package_zip_len = map.length; in RunBlockImageUpdate()
131 expect(result.c_str(), script, cause_code, &updater_info); in RunBlockImageUpdate()
133 ASSERT_EQ(0, fclose(updater_info.cmd_pipe)); in RunBlockImageUpdate()
320 UpdaterInfo updater_info; in TEST_F() local
321 updater_info.package_zip = handle; in TEST_F()
326 expect("t", script, kNoCause, &updater_info); in TEST_F()
335 expect("t", script, kNoCause, &updater_info); in TEST_F()
342 expect("", script, kNoCause, &updater_info); in TEST_F()
346 expect("", script, kNoCause, &updater_info); in TEST_F()
351 expect("t", script, kNoCause, &updater_info); in TEST_F()
354 expect("t", script, kNoCause, &updater_info); in TEST_F()
358 expect(nullptr, script, kPackageExtractFileFailure, &updater_info); in TEST_F()
566 UpdaterInfo updater_info; in TEST_F() local
567 updater_info.cmd_pipe = fdopen(tf.release(), "w"); in TEST_F()
568 expect(".52", "set_progress(\".52\")", kNoCause, &updater_info); in TEST_F()
569 fflush(updater_info.cmd_pipe); in TEST_F()
576 ASSERT_EQ(0, fclose(updater_info.cmd_pipe)); in TEST_F()
591 UpdaterInfo updater_info; in TEST_F() local
592 updater_info.cmd_pipe = fdopen(tf.release(), "w"); in TEST_F()
593 expect(".52", "show_progress(\".52\", \"10\")", kNoCause, &updater_info); in TEST_F()
594 fflush(updater_info.cmd_pipe); in TEST_F()
601 ASSERT_EQ(0, fclose(updater_info.cmd_pipe)); in TEST_F()