Lines Matching refs:OtaUtils
23 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State;
65 public class OtaUtils {
66 private static final String LOG_TAG = "OtaUtils";
159 // In "interactive mode", the OtaUtils object is tied to an
172 * TODO(OTASP): It's really ugly for the OtaUtils object to reach into the
175 * Instead, the model/view separation should be more clear: OtaUtils
203 * OtaUtils constructor.
213 public OtaUtils(Context context, boolean interactive, BluetoothManager bluetoothManager) {
214 if (DBG) log("OtaUtils constructor...");
280 OtaUtils.startInteractiveOtasp(context);
325 // - we prepare for OTASP by initializing the OtaUtils object
333 // - That sequence does NOT involve this method (OtaUtils.startInteractiveOtasp()).
336 // call, and initializes the OtaUtils object.
343 // in the special "activate" state (see OtaUtils.otaShowActivateScreen()).
357 // OtaUtils instance. (This needs to happen before bringing up the
359 OtaUtils.setupOtaspCall(activationScreenIntent);
382 if (app.otaUtils != null) {
383 // An OtaUtils instance already exists, presumably from a previous OTASP call.
385 + "OtaUtils already exists; nuking the old one and starting again...");
388 // Create the OtaUtils instance.
389 app.otaUtils = new OtaUtils(context, false /* non-interactive mode */,
391 if (DBG) log("- created OtaUtils: " + app.otaUtils);
491 * OtaUtils instance, along with some other misc pre-OTASP cleanup.
497 if (app.otaUtils != null) {
498 // An OtaUtils instance already exists, presumably from a prior OTASP call.
501 + "OtaUtils already exists; replacing with new instance...");
504 // Create the OtaUtils instance.
505 app.otaUtils = new OtaUtils(app.getApplicationContext(), true /* interactive */,
507 if (DBG) log("- created OtaUtils: " + app.otaUtils);
509 // NOTE we still need to call OtaUtils.updateUiWidgets() once the
522 app.otaUtils.setCdmaOtaInCallScreenUiState(
523 OtaUtils.CdmaOtaInCallScreenUiState.State.NORMAL);
534 // app.otaUtils.otaShowListeningScreen();
535 // if (app.otaUtils.mInCallScreen != null) {
536 // app.otaUtils.mInCallScreen.requestUpdateScreen();