/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandException.java | 24 public class CommandException extends RuntimeException { class 120 public CommandException(Error e) { in CommandException() method in CommandException 125 public CommandException(Error e, String errString) { in CommandException() method in CommandException 130 public static CommandException 135 return new CommandException(Error.INVALID_RESPONSE); in fromRilErrno() 137 return new CommandException(Error.RADIO_NOT_AVAILABLE); in fromRilErrno() 139 return new CommandException(Error.GENERIC_FAILURE); in fromRilErrno() 141 return new CommandException(Error.PASSWORD_INCORRECT); in fromRilErrno() 143 return new CommandException(Error.SIM_PIN2); in fromRilErrno() 145 return new CommandException(Error.SIM_PUK2); in fromRilErrno() [all …]
|
D | CallTracker.java | 92 return e != null && e instanceof CommandException in isCommandExceptionRadioNotAvailable() 93 && ((CommandException)e).getCommandError() in isCommandExceptionRadioNotAvailable() 94 == CommandException.Error.RADIO_NOT_AVAILABLE; in isCommandExceptionRadioNotAvailable()
|
D | NetworkScanRequestTracker.java | 286 private int commandExceptionErrorToScanError(CommandException.Error error) { in commandExceptionErrorToScanError() 360 CommandException.Error error = in startScanDone() 361 ((CommandException) (ar.exception)).getCommandError(); in startScanDone() 429 CommandException.Error error = in stopScanDone() 430 ((CommandException) (ar.exception)).getCommandError(); in stopScanDone()
|
D | RILRequest.java | 205 CommandException ex; in onError() 207 ex = CommandException.fromRilErrno(error); in onError()
|
D | RadioConfig.java | 158 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioConfigProxy() 188 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioConfigProxy()
|
D | SMSDispatcher.java | 514 new CommandException(CommandException.Error.GENERIC_FAILURE)))); in processSendSmsResponse() 693 } else if ((((CommandException)(ar.exception)).getCommandError() in handleSendComplete() 694 == CommandException.Error.SMS_FAIL_RETRY) && in handleSendComplete() 713 if (((CommandException)(ar.exception)).getCommandError() in handleSendComplete() 714 == CommandException.Error.FDN_CHECK_FAILURE) { in handleSendComplete()
|
D | RIL.java | 358 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioProxy() 388 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioProxy() 403 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getOemHookProxy() 431 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getOemHookProxy() 548 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in getIccSlotsStatus() 557 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setLogicalToPhysicalSlotMapping() 1780 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in startNetworkScan() 1824 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in stopNetworkScan() 3846 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setSimCardPower() 3875 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setCarrierInfoForImsiEncryption() [all …]
|
D | ServiceStateTracker.java | 1634 CommandException.Error err=null; in handlePollStateResult() 1640 if (ar.exception instanceof CommandException) { in handlePollStateResult() 1641 err = ((CommandException)(ar.exception)).getCommandError(); in handlePollStateResult() 1644 if (err == CommandException.Error.RADIO_NOT_AVAILABLE) { in handlePollStateResult() 1650 if (err != CommandException.Error.OP_NOT_ALLOWED_BEFORE_REG_NW) { in handlePollStateResult()
|
D | Phone.java | 1932 CommandException ex; in setPreferredNetworkType() 1934 ex = new CommandException(CommandException.Error.GENERIC_FAILURE); in setPreferredNetworkType()
|
D | GsmCdmaPhone.java | 1951 CommandException ce = new CommandException( in getNeighboringCids() 1952 CommandException.Error.REQUEST_NOT_SUPPORTED); in getNeighboringCids()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | OpenLogicalChannelInvocation.java | 24 import com.android.internal.telephony.CommandException; 77 if (ar.exception instanceof CommandException) { in parseResult() 78 CommandException.Error error = in parseResult() 79 ((CommandException) (ar.exception)).getCommandError(); in parseResult() 80 if (error == CommandException.Error.MISSING_RESOURCE) { in parseResult() 82 } else if (error == CommandException.Error.NO_SUCH_ELEMENT) { in parseResult()
|
D | CloseLogicalChannelInvocation.java | 23 import com.android.internal.telephony.CommandException; 54 if (ar.exception instanceof CommandException) { in parseResult()
|
D | TransmitApduLogicalChannelInvocation.java | 23 import com.android.internal.telephony.CommandException; 62 } else if (ar.exception instanceof CommandException) { in parseResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommands.java | 48 import com.android.internal.telephony.CommandException; 202 new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED)); in getIccSlotsStatus() 216 CommandException ex = new CommandException( in supplyIccPin() 217 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin() 243 CommandException ex = new CommandException( in supplyIccPin() 244 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin() 254 CommandException ex = new CommandException( in supplyIccPuk() 255 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk() 280 CommandException ex = new CommandException( in supplyIccPuk() 281 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaMmiCode.java | 21 import com.android.internal.telephony.CommandException; 316 if (ar.exception instanceof CommandException) { in onSetComplete() 317 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in onSetComplete() 318 if (err == CommandException.Error.PASSWORD_INCORRECT) { in onSetComplete() 345 } else if (err == CommandException.Error.SIM_PUK2) { in onSetComplete() 351 } else if (err == CommandException.Error.REQUEST_NOT_SUPPORTED) { in onSetComplete()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmMmiCode.java | 47 import com.android.internal.telephony.CommandException; 346 CommandException ex; in parseSsData() 348 ex = CommandException.fromRilErrno(ssData.result); in parseSsData() 1235 if (ar.exception instanceof CommandException) { in getErrorMessage() 1236 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in getErrorMessage() 1237 if (err == CommandException.Error.FDN_CHECK_FAILURE) { in getErrorMessage() 1240 } else if (err == CommandException.Error.USSD_MODIFIED_TO_DIAL) { in getErrorMessage() 1243 } else if (err == CommandException.Error.USSD_MODIFIED_TO_SS) { in getErrorMessage() 1246 } else if (err == CommandException.Error.USSD_MODIFIED_TO_USSD) { in getErrorMessage() 1249 } else if (err == CommandException.Error.SS_MODIFIED_TO_DIAL) { in getErrorMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCardApplicationTest.java | 33 import com.android.internal.telephony.CommandException; 51 private CommandException mException = null; 82 mException = (CommandException) ((AsyncResult) msg.obj).exception; in onLooperPrepared() 217 assertEquals(CommandException.Error.PASSWORD_INCORRECT, mException.getCommandError()); in testSupplyPin()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 85 import com.android.internal.telephony.CommandException; 1082 new CommandException(CommandException.Error.GENERIC_FAILURE)); in sendErrorResponse() 1096 private CommandException getCommandException(int code, String errorString) { in getCommandException() 1098 CommandException.Error error = CommandException.Error.GENERIC_FAILURE; in getCommandException() 1102 error = CommandException.Error.REQUEST_NOT_SUPPORTED; in getCommandException() 1105 error = CommandException.Error.PASSWORD_INCORRECT; in getCommandException() 1108 error = CommandException.Error.RADIO_NOT_AVAILABLE; in getCommandException() 1111 error = CommandException.Error.FDN_CHECK_FAILURE; in getCommandException() 1114 error = CommandException.Error.SS_MODIFIED_TO_DIAL; in getCommandException() 1117 error = CommandException.Error.SS_MODIFIED_TO_USSD; in getCommandException() [all …]
|
D | ImsPhoneMmiCode.java | 49 import com.android.internal.telephony.CommandException; 1202 } else if (ar.exception instanceof CommandException) { in getMmiErrorMessage() 1203 CommandException err = (CommandException) ar.exception; in getMmiErrorMessage() 1204 if (err.getCommandError() == CommandException.Error.FDN_CHECK_FAILURE) { in getMmiErrorMessage() 1206 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_DIAL) { in getMmiErrorMessage() 1208 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_USSD) { in getMmiErrorMessage() 1210 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_SS) { in getMmiErrorMessage() 1212 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_DIAL_VIDEO) { in getMmiErrorMessage() 1255 if (ar.exception instanceof CommandException) { in onSetComplete() 1256 CommandException err = (CommandException) ar.exception; in onSetComplete() [all …]
|
D | ImsPhoneCallTracker.java | 88 import com.android.internal.telephony.CommandException; 2830 CommandException ex = 2831 new CommandException(CommandException.Error.GENERIC_FAILURE);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 34 import com.android.internal.telephony.CommandException; 439 if (ar.exception instanceof CommandException && mRetryCount < MAX_RETRY in handleMessage() 440 && ((CommandException) (ar.exception)).getCommandError() in handleMessage() 441 == CommandException.Error.MISSING_RESOURCE) { in handleMessage()
|
D | UiccController.java | 32 import com.android.internal.telephony.CommandException; 522 if (!(e instanceof CommandException) || ((CommandException) e).getCommandError() in onGetSlotStatusDone() 523 != CommandException.Error.REQUEST_NOT_SUPPORTED) { in onGetSlotStatusDone()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 33 import com.android.internal.telephony.CommandException; 129 new CommandException(CommandException.Error.NO_SUCH_ELEMENT)); in testOpenChannelErrorStatus()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 3982 static class CommandException extends Exception { class in ShortcutService 3983 public CommandException(String message) { in CommandException() method in ShortcutService.CommandException 3996 throws CommandException { in parseOptionsLocked() 4004 throw new CommandException( in parseOptionsLocked() 4011 throw new CommandException("Unknown option: " + opt); in parseOptionsLocked() 4054 } catch (CommandException e) { in onCommand() 4094 private void handleResetThrottling() throws CommandException { in handleResetThrottling() 4110 private void handleOverrideConfig() throws CommandException { in handleOverrideConfig() 4117 throw new CommandException("override-config failed. See logcat for details."); in handleOverrideConfig() 4146 private void handleClearDefaultLauncher() throws CommandException { in handleClearDefaultLauncher() [all …]
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 39619 HSPLcom/android/internal/telephony/CommandException$Error;-><init>(Ljava/lang/String;I)V 39620 HSPLcom/android/internal/telephony/CommandException;->fromRilErrno(I)Lcom/android/internal/telephon… 39621 …SPLcom/android/internal/telephony/CommandException;->getCommandError()Lcom/android/internal/teleph… 60142 Lcom/android/internal/telephony/CommandException$Error; 60143 Lcom/android/internal/telephony/CommandException;
|