Lines Matching refs:status
201 if (boot.status[0] != 0 && boot.status[0] != 255) {
202 LOGI("Boot status: %.*s\n", (int)sizeof(boot.status), boot.status);
827 prompt_and_wait(Device* device, int status) {
832 switch (status) {
886 int status = install_package(FUSE_SIDELOAD_HOST_PATHNAME, &wipe_cache,
892 if (status == INSTALL_SUCCESS && wipe_cache) {
901 if (status >= 0) {
902 if (status != INSTALL_SUCCESS) {
923 status = apply_from_adb(ui, &wipe_cache, TEMPORARY_INSTALL_FILE);
924 if (status >= 0) {
925 if (status != INSTALL_SUCCESS) {
1099 int status = INSTALL_SUCCESS;
1102 status = install_package(update_package, &wipe_cache, TEMPORARY_INSTALL_FILE, true);
1103 if (status == INSTALL_SUCCESS && wipe_cache) {
1108 if (status != INSTALL_SUCCESS) {
1121 if (device->WipeData()) status = INSTALL_ERROR;
1122 if (erase_volume("/data")) status = INSTALL_ERROR;
1123 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1124 if (erase_persistent_partition() == -1 ) status = INSTALL_ERROR;
1125 if (status != INSTALL_SUCCESS) ui->Print("Data wipe failed.\n");
1127 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1128 if (status != INSTALL_SUCCESS) ui->Print("Cache wipe failed.\n");
1130 status = INSTALL_NONE; // No command specified
1134 if (status == INSTALL_ERROR || status == INSTALL_CORRUPT) {
1139 if (status != INSTALL_SUCCESS || ui->IsTextVisible()) {
1140 Device::BuiltinAction temp = prompt_and_wait(device, status);