Home | History | Annotate | Download | only in recovery

Lines Matching full:wipe_cache

55   { "wipe_cache", no_argument, NULL, 'c' },
92 * --wipe_cache - wipe cache (but not user data), then reboot
127 * 8a. m_i_f_u() writes BCB with "boot-recovery" and "--wipe_cache"
130 * 8c. m_i_f_u() writes BCB with "update-radio/hboot" and "--wipe_cache"
133 * 8e. bootloader writes BCB with "boot-recovery" (keeping "--wipe_cache")
608 int* wipe_cache, Device* device) {
697 result = update_directory(new_path, unmount_when_done, wipe_cache, device);
714 result = install_package(copy, wipe_cache, TEMPORARY_INSTALL_FILE);
799 int wipe_cache;
809 case Device::WIPE_CACHE:
817 status = update_directory(SDCARD_ROOT, SDCARD_ROOT, &wipe_cache, device);
818 if (status == INSTALL_SUCCESS && wipe_cache) {
840 status = update_directory(CACHE_ROOT, NULL, &wipe_cache, device);
841 if (status == INSTALL_SUCCESS && wipe_cache) {
862 status = apply_from_adb(ui, &wipe_cache, TEMPORARY_INSTALL_FILE);
951 int wipe_data = 0, wipe_cache = 0, show_text = 0;
960 case 'w': wipe_data = wipe_cache = 1; break;
961 case 'c': wipe_cache = 1; break;
1041 status = install_package(update_package, &wipe_cache, TEMPORARY_INSTALL_FILE);
1042 if (status == INSTALL_SUCCESS && wipe_cache) {
1062 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1064 } else if (wipe_cache) {
1065 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;