Home
last modified time | relevance | path

Searched refs:script (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/tests/unit/
Dupdater_test.cpp168 std::string script = is_verify ? "block_image_verify" : "block_image_update"; in RunBlockImageUpdate() local
169 script += R"((")" + image_file + R"(", package_extract_file("transfer_list"), ")" + new_data + in RunBlockImageUpdate()
171 entries.emplace(Updater::SCRIPT_NAME, script); in RunBlockImageUpdate()
357 std::string script("package_extract_file(\"a.txt\", \"" + std::string(temp_file1.path) + "\")"); in TEST_F() local
358 expect("t", script, kNoCause, &updater_); in TEST_F()
366 script = "package_extract_file(\"b.txt\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
367 expect("t", script, kNoCause, &updater_); in TEST_F()
373 script = "package_extract_file(\"doesntexist\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
374 expect("", script, kNoCause, &updater_); in TEST_F()
377 script = "package_extract_file(\"a.txt\", \"/dev/full\")"; in TEST_F()
[all …]
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp319 { "META-INF/com/google/android/updater-script", updater_script },
344 { "META-INF/com/google/android/updater-script", R"(bad_function("");)" },
395 { "META-INF/com/google/android/updater-script", updater_script },
/bootable/recovery/edify/
Dexpr.cpp132 state->errmsg = "assert failed: " + state->script.substr(argv[i]->start, len); in AssertFn()
424 State::State(const std::string& script, UpdaterInterface* interface) in State() argument
425 : script(script), updater(interface), error_code(kNoError), cause_code(kNoCause) {} in State()
DREADME.md8 - The entire script is a single expression.
/bootable/recovery/edify/include/edify/
Dexpr.h33 State(const std::string& script, UpdaterInterface* cookie);
36 const std::string& script; member
/bootable/recovery/updater_sample/
DREADME.md51 Running `./tools/gen_update_config.py --help` shows usage of the script.