Home
last modified time | relevance | path

Searched refs:OtaUtils (Results 1 – 11 of 11) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/tests/
DOtaspTestActivity.java30 import com.android.phone.OtaUtils;
86 if (intent.hasExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE)) { in onCreate()
90 int resultCode = intent.getIntExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, in onCreate()
91 OtaUtils.OTASP_UNKNOWN); in onCreate()
96 case OtaUtils.OTASP_USER_SKIPPED: in onCreate()
99 case OtaUtils.OTASP_SUCCESS: in onCreate()
102 case OtaUtils.OTASP_FAILURE: in onCreate()
167 case OtaUtils.RESULT_INTERACTIVE_OTASP_STARTED: in onActivityResult()
170 case OtaUtils.RESULT_NONINTERACTIVE_OTASP_STARTED: in onActivityResult()
173 case OtaUtils.RESULT_NONINTERACTIVE_OTASP_FAILED: in onActivityResult()
[all …]
/packages/services/Telephony/src/com/android/phone/
DInCallScreenShowActivation.java92 if (intent.getAction().equals(OtaUtils.ACTION_PERFORM_CDMA_PROVISIONING)) { in onCreate()
119 if (intent.hasExtra(OtaUtils.EXTRA_OVERRIDE_INTERACTIVE_MODE) in onCreate()
122 intent.getBooleanExtra(OtaUtils.EXTRA_OVERRIDE_INTERACTIVE_MODE, false); in onCreate()
135 OtaUtils.EXTRA_OTASP_RESULT_CODE_PENDING_INTENT); in onCreate()
144 OtaUtils.startInteractiveOtasp(this); in onCreate()
151 setResult(OtaUtils.RESULT_INTERACTIVE_OTASP_STARTED); in onCreate()
159 int callStatus = OtaUtils.startNonInteractiveOtasp(this); in onCreate()
165 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_STARTED); in onCreate()
169 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_FAILED); in onCreate()
222 OtaUtils.EXTRA_OTASP_RESULT_CODE_PENDING_INTENT); in startHfa()
[all …]
DPhoneGlobals.java174 public OtaUtils otaUtils;
182 public OtaUtils.CdmaOtaProvisionData cdmaOtaProvisionData;
183 public OtaUtils.CdmaOtaConfigData cdmaOtaConfigData;
184 public OtaUtils.CdmaOtaScreenState cdmaOtaScreenState;
185 public OtaUtils.CdmaOtaInCallScreenUiState cdmaOtaInCallScreenUiState;
374 cdmaOtaProvisionData = new OtaUtils.CdmaOtaProvisionData(); in onCreate()
375 cdmaOtaConfigData = new OtaUtils.CdmaOtaConfigData(); in onCreate()
376 cdmaOtaScreenState = new OtaUtils.CdmaOtaScreenState(); in onCreate()
377 cdmaOtaInCallScreenUiState = new OtaUtils.CdmaOtaInCallScreenUiState(); in onCreate()
DOtaStartupReceiver.java64 final Intent intent = new Intent(OtaUtils.ACTION_PERFORM_CDMA_PROVISIONING);
78 OtaUtils.maybeDoOtaCall(mContext, mHandler, MIN_READY);
97 OtaUtils.maybeDoOtaCall(mContext, mHandler, MIN_READY);
153 OtaUtils.maybeDoOtaCall(mContext, mHandler, MIN_READY); in onReceive()
DOtaUtils.java23 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State;
64 public class OtaUtils { class
209 public OtaUtils(Context context, boolean interactive) { in OtaUtils() method in OtaUtils
275 OtaUtils.startInteractiveOtasp(context); in maybeDoOtaCall()
354 OtaUtils.setupOtaspCall(activationScreenIntent); in startInteractiveOtasp()
384 app.otaUtils = new OtaUtils(context, false /* non-interactive mode */); in startNonInteractiveOtasp()
499 app.otaUtils = new OtaUtils(app.getApplicationContext(), true /* interactive */); in setupOtaspCall()
516 OtaUtils.CdmaOtaInCallScreenUiState.State.NORMAL); in setupOtaspCall()
DOutgoingCallBroadcaster.java200 == OtaUtils.CdmaOtaScreenState.OtaScreenState.OTA_STATUS_ACTIVATION); in doReceive()
202 == OtaUtils.CdmaOtaScreenState.OtaScreenState in doReceive()
212 == OtaUtils.CdmaOtaScreenState.OtaScreenState.OTA_STATUS_PROGRESS) in doReceive()
214 == OtaUtils.CdmaOtaScreenState.OtaScreenState.OTA_STATUS_LISTENING)) { in doReceive()
DHfaLogic.java195 extraStuff.putExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, responseCode); in sendFinalResponse()
198 extraStuff.putExtra(OtaUtils.EXTRA_OTASP_ERROR_CODE, errorCode); in sendFinalResponse()
DHfaService.java41 OtaUtils.EXTRA_OTASP_RESULT_CODE_PENDING_INTENT); in onStartCommand()
DCallController.java679 if (OtaUtils.isOtaspCallIntent(intent)) { in checkForOtaspCall()
688 OtaUtils.setupOtaspCall(intent); in checkForOtaspCall()
DHfaActivity.java49 OtaUtils.EXTRA_OTASP_RESULT_CODE_PENDING_INTENT); in onCreate()
DCallNotifier.java380 OtaUtils.OTA_PLAY_SUCCESS_FAILURE_TONE_ON) { in run()