Home | History | Annotate | Download | only in phone

Lines Matching defs:OtaUtils

20 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State;
58 public class OtaUtils {
59 private static final String LOG_TAG = "OtaUtils";
152 // In "interactive mode", the OtaUtils object is tied to an
163 * TODO(OTASP): It's really ugly for the OtaUtils object to reach into the
166 * Instead, the model/view separation should be more clear: OtaUtils
195 * OtaUtils constructor.
205 public OtaUtils(Context context, boolean interactive) {
206 if (DBG) log("OtaUtils constructor...");
213 * Updates the OtaUtils object's references to some UI elements belonging to
258 * Clear out the OtaUtils object's references to any InCallScreen UI
316 OtaUtils.startInteractiveOtasp(context);
356 // - we prepare for OTASP by initializing the OtaUtils object
364 // - That sequence does NOT involve this method (OtaUtils.startInteractiveOtasp()).
367 // call, and initializes the OtaUtils object.
374 OtaUtils.otaShowActivateScreen()).
382 // OtaUtils instance. (This needs to happen before bringing up the
384 OtaUtils.setupOtaspCall(activationScreenIntent);
407 if (app.otaUtils != null) {
408 // An OtaUtils instance already exists, presumably from a previous OTASP call.
410 + "OtaUtils already exists; nuking the old one and starting again...");
413 // Create the OtaUtils instance.
414 app.otaUtils = new OtaUtils(context, false /* non-interactive mode */);
415 if (DBG) log("- created OtaUtils: " + app.otaUtils);
516 * OtaUtils instance, along with some other misc pre-OTASP cleanup.
522 if (app.otaUtils != null) {
523 // An OtaUtils instance already exists, presumably from a prior OTASP call.
526 + "OtaUtils already exists; replacing with new instance...");
529 // Create the OtaUtils instance.
530 app.otaUtils = new OtaUtils(app.getApplicationContext(), true /* interactive */);
531 if (DBG) log("- created OtaUtils: " + app.otaUtils);
533 // NOTE we still need to call OtaUtils.updateUiWidgets() once the
546 app.otaUtils.setCdmaOtaInCallScreenUiState(
547 OtaUtils.CdmaOtaInCallScreenUiState.State.NORMAL);
558 // app.otaUtils.otaShowListeningScreen();
559 // if (app.otaUtils.mInCallScreen != null) {
560 // app.otaUtils.mInCallScreen.requestUpdateScreen();