forked from CyanogenMod/android_bootable_recovery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
extendedcommands.h
66 lines (42 loc) · 1.09 KB
/
extendedcommands.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
extern int signature_check_enabled;
extern int script_assert_enabled;
void
toggle_signature_check();
void
show_choose_zip_menu();
int
do_nandroid_backup(const char* backup_name);
int
do_nandroid_restore();
void
show_nandroid_restore_menu(const char* path);
void
show_nandroid_advanced_restore_menu(const char* path);
void
show_nandroid_menu();
void
show_partition_menu();
void
show_choose_zip_menu();
int
install_zip(const char* packagefilepath);
int
__system(const char *command);
void
show_advanced_menu();
int format_unknown_device(const char *device, const char* path, const char *fs_type);
void
wipe_battery_stats();
void create_fstab();
int has_datadata();
void handle_failure(int ret);
void process_volumes();
int extendedcommand_file_exists();
void show_install_update_menu();
int confirm_selection(const char* title, const char* confirm);
int run_and_remove_extendedcommand();
int verify_root_and_recovery();
#ifdef RECOVERY_EXTEND_NANDROID_MENU
void extend_nandroid_menu(char** items, int item_count, int max_items);
void handle_nandroid_menu(int item_count, int selected);
#endif