Home | History | Annotate | Download | only in phone

Lines Matching refs:OtaUtils

23 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State;
64 public class OtaUtils {
65 private static final String LOG_TAG = "OtaUtils";
158 // In "interactive mode", the OtaUtils object is tied to an
168 * TODO(OTASP): It's really ugly for the OtaUtils object to reach into the
171 * Instead, the model/view separation should be more clear: OtaUtils
199 * OtaUtils constructor.
209 public OtaUtils(Context context, boolean interactive) {
210 if (DBG) log("OtaUtils constructor...");
275 OtaUtils.startInteractiveOtasp(context);
320 // - we prepare for OTASP by initializing the OtaUtils object
328 // - That sequence does NOT involve this method (OtaUtils.startInteractiveOtasp()).
331 // call, and initializes the OtaUtils object.
338 // in the special "activate" state (see OtaUtils.otaShowActivateScreen()).
352 // OtaUtils instance. (This needs to happen before bringing up the
354 OtaUtils.setupOtaspCall(activationScreenIntent);
377 if (app.otaUtils != null) {
378 // An OtaUtils instance already exists, presumably from a previous OTASP call.
380 + "OtaUtils already exists; nuking the old one and starting again...");
383 // Create the OtaUtils instance.
384 app.otaUtils = new OtaUtils(context, false /* non-interactive mode */);
385 if (DBG) log("- created OtaUtils: " + app.otaUtils);
485 * OtaUtils instance, along with some other misc pre-OTASP cleanup.
491 if (app.otaUtils != null) {
492 // An OtaUtils instance already exists, presumably from a prior OTASP call.
495 + "OtaUtils already exists; replacing with new instance...");
498 // Create the OtaUtils instance.
499 app.otaUtils = new OtaUtils(app.getApplicationContext(), true /* interactive */);
500 if (DBG) log("- created OtaUtils: " + app.otaUtils);
502 // NOTE we still need to call OtaUtils.updateUiWidgets() once the
515 app.otaUtils.setCdmaOtaInCallScreenUiState(
516 OtaUtils.CdmaOtaInCallScreenUiState.State.NORMAL);
527 // app.otaUtils.otaShowListeningScreen();
528 // if (app.otaUtils.mInCallScreen != null) {
529 // app.otaUtils.mInCallScreen.requestUpdateScreen();