Lines Matching refs:wipe_cache
55 { "wipe_cache", no_argument, NULL, 'c' },
90 * --wipe_cache - wipe cache (but not user data), then reboot
125 * 8a. m_i_f_u() writes BCB with "boot-recovery" and "--wipe_cache"
128 * 8c. m_i_f_u() writes BCB with "update-radio/hboot" and "--wipe_cache"
131 * 8e. bootloader writes BCB with "boot-recovery" (keeping "--wipe_cache")
605 int* wipe_cache, Device* device) {
694 result = update_directory(new_path, unmount_when_done, wipe_cache, device);
711 result = install_package(copy, wipe_cache, TEMPORARY_INSTALL_FILE);
796 int wipe_cache;
806 case Device::WIPE_CACHE:
814 status = update_directory(SDCARD_ROOT, SDCARD_ROOT, &wipe_cache, device);
815 if (status == INSTALL_SUCCESS && wipe_cache) {
837 status = update_directory(CACHE_ROOT, NULL, &wipe_cache, device);
838 if (status == INSTALL_SUCCESS && wipe_cache) {
859 status = apply_from_adb(ui, &wipe_cache, TEMPORARY_INSTALL_FILE);
948 int wipe_data = 0, wipe_cache = 0, show_text = 0;
957 case 'w': wipe_data = wipe_cache = 1; break;
958 case 'c': wipe_cache = 1; break;
1023 status = install_package(update_package, &wipe_cache, TEMPORARY_INSTALL_FILE);
1024 if (status == INSTALL_SUCCESS && wipe_cache) {
1044 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1046 } else if (wipe_cache) {
1047 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;