Lines Matching defs:status
195 if (boot.status[0] != 0 && boot.status[0] != 255) {
196 LOGI("Boot status: %.*s\n", (int)sizeof(boot.status), boot.status);
739 prompt_and_wait(Device* device, int status) {
744 switch (status) {
798 int status = install_package(FUSE_SIDELOAD_HOST_PATHNAME, &wipe_cache,
804 if (status == INSTALL_SUCCESS && wipe_cache) {
813 if (status >= 0) {
814 if (status != INSTALL_SUCCESS) {
835 status = apply_from_adb(ui, &wipe_cache, TEMPORARY_INSTALL_FILE);
836 if (status >= 0) {
837 if (status != INSTALL_SUCCESS) {
1011 int status = INSTALL_SUCCESS;
1014 status = install_package(update_package, &wipe_cache, TEMPORARY_INSTALL_FILE, true);
1015 if (status == INSTALL_SUCCESS && wipe_cache) {
1020 if (status != INSTALL_SUCCESS) {
1033 if (device->WipeData()) status = INSTALL_ERROR;
1034 if (erase_volume("/data")) status = INSTALL_ERROR;
1035 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1036 if (erase_persistent_partition() == -1 ) status = INSTALL_ERROR;
1037 if (status != INSTALL_SUCCESS) ui->Print("Data wipe failed.\n");
1039 if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR;
1040 if (status != INSTALL_SUCCESS) ui->Print("Cache wipe failed.\n");
1042 status = INSTALL_NONE; // No command specified
1046 if (status == INSTALL_ERROR || status == INSTALL_CORRUPT) {
1051 if (status != INSTALL_SUCCESS || ui->IsTextVisible()) {
1052 Device::BuiltinAction temp = prompt_and_wait(device, status);