Home
last modified time | relevance | path

Searched refs:updater_info (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater/
Dupdater.cpp152 UpdaterInfo updater_info; in main() local
153 updater_info.cmd_pipe = cmd_pipe; in main()
154 updater_info.package_zip = za; in main()
155 updater_info.version = atoi(version); in main()
156 updater_info.package_zip_addr = map.addr; in main()
157 updater_info.package_zip_len = map.length; in main()
159 State state(script, &updater_info); in main()
209 if (updater_info.package_zip) { in main()
210 CloseArchive(updater_info.package_zip); in main()
217 if (updater_info.package_zip) { in main()
[all …]
/bootable/recovery/tests/component/
Dupdater_test.cpp120 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()
[all …]