Lines Matching refs:bootVersion
39 static void usage(FILE* where, BootCtlVersion bootVersion, int /* argc */, char* argv[]) in usage() argument
58 if (bootVersion >= BOOTCTL_V1_1) { in usage()
169 static int do_set_snapshot_merge_status(sp<V1_1::IBootControl> module, BootCtlVersion bootVersion, in do_set_snapshot_merge_status() argument
172 usage(stderr, bootVersion, argc, argv); in do_set_snapshot_merge_status()
179 usage(stderr, bootVersion, argc, argv); in do_set_snapshot_merge_status()
228 static uint32_t parse_slot(BootCtlVersion bootVersion, int pos, int argc, char *argv[]) in parse_slot() argument
231 usage(stderr, bootVersion, argc, argv); in parse_slot()
238 usage(stderr, bootVersion, argc, argv); in parse_slot()
249 BootCtlVersion bootVersion = BOOTCTL_V1_0; in main() local
258 bootVersion = BOOTCTL_V1_1; in main()
262 usage(stderr, bootVersion, argc, argv); in main()
276 return do_set_active_boot_slot(v1_0_module, parse_slot(bootVersion, 2, argc, argv)); in main()
278 return do_set_slot_as_unbootable(v1_0_module, parse_slot(bootVersion, 2, argc, argv)); in main()
280 return do_is_slot_bootable(v1_0_module, parse_slot(bootVersion, 2, argc, argv)); in main()
282 return do_is_slot_marked_successful(v1_0_module, parse_slot(bootVersion, 2, argc, argv)); in main()
284 return do_get_suffix(v1_0_module, parse_slot(bootVersion, 2, argc, argv)); in main()
296 return do_set_snapshot_merge_status(v1_1_module, bootVersion, argc, argv); in main()
303 usage(stderr, bootVersion, argc, argv); in main()