/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandException.java | 26 public class CommandException extends RuntimeException { class 131 public CommandException(Error e) { in CommandException() method in CommandException 136 public CommandException(Error e, String errString) { in CommandException() method in CommandException 142 public static CommandException 147 return new CommandException(Error.INVALID_RESPONSE); in fromRilErrno() 149 return new CommandException(Error.RADIO_NOT_AVAILABLE); in fromRilErrno() 151 return new CommandException(Error.GENERIC_FAILURE); in fromRilErrno() 153 return new CommandException(Error.PASSWORD_INCORRECT); in fromRilErrno() 155 return new CommandException(Error.SIM_PIN2); in fromRilErrno() 157 return new CommandException(Error.SIM_PUK2); in fromRilErrno() [all …]
|
D | CallTracker.java | 100 return e != null && e instanceof CommandException in isCommandExceptionRadioNotAvailable() 101 && ((CommandException)e).getCommandError() in isCommandExceptionRadioNotAvailable() 102 == CommandException.Error.RADIO_NOT_AVAILABLE; in isCommandExceptionRadioNotAvailable()
|
D | RILRequest.java | 236 CommandException ex; in onError() 238 ex = CommandException.fromRilErrno(error); in onError()
|
D | RadioConfig.java | 172 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioConfigProxy() 187 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioConfigProxy() 302 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setPreferredDataModem() 331 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in getPhoneCapability()
|
D | NetworkScanRequestTracker.java | 348 private int commandExceptionErrorToScanError(CommandException.Error error) { in commandExceptionErrorToScanError() 422 CommandException.Error error = in startScanDone() 423 ((CommandException) (ar.exception)).getCommandError(); in startScanDone() 509 CommandException.Error error = in stopScanDone() 510 ((CommandException) (ar.exception)).getCommandError(); in stopScanDone()
|
D | SMSDispatcher.java | 521 new CommandException(CommandException.Error.GENERIC_FAILURE)))); in processSendSmsResponse() 689 new CommandException( in processSendMultipartSmsResponse() 690 CommandException.Error.GENERIC_FAILURE)))); in processSendMultipartSmsResponse() 779 } else if ((((CommandException)(ar.exception)).getCommandError() in handleSendComplete() 780 == CommandException.Error.SMS_FAIL_RETRY) && in handleSendComplete() 798 int error = rilErrorToSmsManagerResult(((CommandException) (ar.exception)) in handleSendComplete() 805 private static int rilErrorToSmsManagerResult(CommandException.Error rilError) { in rilErrorToSmsManagerResult()
|
D | RIL.java | 475 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioProxy() 562 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getRadioProxy() 589 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getOemHookProxy() 626 CommandException.fromRilErrno(RADIO_NOT_AVAILABLE)); in getOemHookProxy() 767 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in getIccSlotsStatus() 776 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setLogicalToPhysicalSlotMapping() 994 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in supplySimDepersonalization() 1110 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in enableModem() 1143 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in setSystemSelectionChannels() 1211 CommandException.fromRilErrno(REQUEST_NOT_SUPPORTED)); in getModemStatus() [all …]
|
D | GsmCdmaPhone.java | 19 import static com.android.internal.telephony.CommandException.Error.GENERIC_FAILURE; 20 import static com.android.internal.telephony.CommandException.Error.SIM_BUSY; 88 import com.android.internal.telephony.CommandException; 2255 new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED)); in getOutgoingCallerIdDisplay() 2277 new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED)); in setOutgoingCallerIdDisplay() 2295 new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED)); in queryCLIP() 3110 CommandException.Error error = ((CommandException) ar.exception).getCommandError(); in handleMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | OpenLogicalChannelInvocation.java | 23 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 | 22 import com.android.internal.telephony.CommandException; 54 if (ar.exception instanceof CommandException) { in parseResult()
|
D | TransmitApduLogicalChannelInvocation.java | 22 import com.android.internal.telephony.CommandException; 62 } else if (ar.exception instanceof CommandException) { in parseResult()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommands.java | 58 import com.android.internal.telephony.CommandException; 230 new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED)); in getIccSlotsStatus() 244 CommandException ex = new CommandException( in supplyIccPin() 245 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin() 271 CommandException ex = new CommandException( in supplyIccPin() 272 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin() 282 CommandException ex = new CommandException( in supplyIccPuk() 283 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk() 308 CommandException ex = new CommandException( in supplyIccPuk() 309 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk() [all …]
|
D | GsmCdmaPhoneTest.java | 1326 AsyncResult.forMessage(messageCaptor.getValue(), null, new CommandException( in testReapplyUiccApplicationEnablementRetry() 1327 CommandException.Error.SIM_BUSY)); in testReapplyUiccApplicationEnablementRetry() 1338 AsyncResult.forMessage(messageCaptor.getValue(), null, new CommandException( in testReapplyUiccApplicationEnablementRetry() 1339 CommandException.Error.SIM_BUSY)); in testReapplyUiccApplicationEnablementRetry()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 35 import com.android.internal.telephony.CommandException; 437 if (ar.exception instanceof CommandException && retryCount < MAX_RETRY) { in shouldRetry() 438 CommandException.Error error = ((CommandException) (ar.exception)).getCommandError(); in shouldRetry() 446 return (error == CommandException.Error.MISSING_RESOURCE) in shouldRetry() 447 || (error == CommandException.Error.NO_SUCH_ELEMENT in shouldRetry() 449 || (error == CommandException.Error.INTERNAL_ERR in shouldRetry() 489 if (ar.exception instanceof CommandException in handleMessage() 490 && ((CommandException) (ar.exception)).getCommandError() in handleMessage() 491 != CommandException.Error.NO_SUCH_ELEMENT) { in handleMessage() 494 ((CommandException) (ar.exception)).getCommandError()); in handleMessage() [all …]
|
D | UiccCardApplication.java | 27 import com.android.internal.telephony.CommandException; 396 ar.exception = new CommandException(CommandException.Error.ABORTED);
|
D | UiccController.java | 46 import com.android.internal.telephony.CommandException; 904 if (!(e instanceof CommandException) || ((CommandException) e).getCommandError() in onGetSlotStatusDone() 905 != CommandException.Error.REQUEST_NOT_SUPPORTED) { in onGetSlotStatusDone()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaMmiCode.java | 33 import com.android.internal.telephony.CommandException; 325 if (ar.exception instanceof CommandException) { in onSetComplete() 326 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in onSetComplete() 327 if (err == CommandException.Error.PASSWORD_INCORRECT) { in onSetComplete() 354 } else if (err == CommandException.Error.SIM_PUK2) { in onSetComplete() 360 } 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; 363 CommandException ex; in parseSsData() 365 ex = CommandException.fromRilErrno(ssData.result); in parseSsData() 1263 if (ar.exception instanceof CommandException) { in getErrorMessage() 1264 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in getErrorMessage() 1265 if (err == CommandException.Error.FDN_CHECK_FAILURE) { in getErrorMessage() 1268 } else if (err == CommandException.Error.USSD_MODIFIED_TO_DIAL) { in getErrorMessage() 1271 } else if (err == CommandException.Error.USSD_MODIFIED_TO_SS) { in getErrorMessage() 1274 } else if (err == CommandException.Error.USSD_MODIFIED_TO_USSD) { in getErrorMessage() 1277 } else if (err == CommandException.Error.SS_MODIFIED_TO_DIAL) { in getErrorMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 33 import com.android.internal.telephony.CommandException; 266 new CommandException(CommandException.Error.NO_SUCH_ELEMENT)); in testRetryARAM_shouldRetry() 272 new CommandException(CommandException.Error.MISSING_RESOURCE)); in testRetryARAM_shouldRetry() 278 new CommandException(CommandException.Error.INTERNAL_ERR)); in testRetryARAM_shouldRetry() 288 new CommandException(CommandException.Error.NO_SUCH_ELEMENT)); in testRetryARAM_shouldNotRetry()
|
D | UiccCardApplicationTest.java | 34 import com.android.internal.telephony.CommandException; 54 private CommandException mException = null; 84 mException = (CommandException) ((AsyncResult) msg.obj).exception; in setUp() 195 assertEquals(CommandException.Error.PASSWORD_INCORRECT, mException.getCommandError()); in testSupplyPin()
|
D | SIMRecordsTest.java | 37 import com.android.internal.telephony.CommandException; 210 AsyncResult.forMessage(response, null, new CommandException( in testGetForbiddenPlmnsException() 211 CommandException.Error.OPERATION_NOT_ALLOWED)); in testGetForbiddenPlmnsException() 223 assertTrue(ar.exception instanceof CommandException); in testGetForbiddenPlmnsException() 224 assertTrue(((CommandException) ar.exception).getCommandError() == in testGetForbiddenPlmnsException() 225 CommandException.Error.OPERATION_NOT_ALLOWED); in testGetForbiddenPlmnsException()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 95 import com.android.internal.telephony.CommandException; 1375 new CommandException(CommandException.Error.GENERIC_FAILURE)); in sendErrorResponse() 1390 private CommandException getCommandException(int code, String errorString) { in getCommandException() 1392 CommandException.Error error = CommandException.Error.GENERIC_FAILURE; in getCommandException() 1396 error = CommandException.Error.REQUEST_NOT_SUPPORTED; in getCommandException() 1399 error = CommandException.Error.PASSWORD_INCORRECT; in getCommandException() 1402 error = CommandException.Error.RADIO_NOT_AVAILABLE; in getCommandException() 1405 error = CommandException.Error.FDN_CHECK_FAILURE; in getCommandException() 1408 error = CommandException.Error.SS_MODIFIED_TO_DIAL; in getCommandException() 1411 error = CommandException.Error.SS_MODIFIED_TO_USSD; in getCommandException() [all …]
|
D | ImsPhoneMmiCode.java | 52 import com.android.internal.telephony.CommandException; 1300 } else if (ar.exception instanceof CommandException) { in getMmiErrorMessage() 1301 CommandException err = (CommandException) ar.exception; in getMmiErrorMessage() 1302 if (err.getCommandError() == CommandException.Error.FDN_CHECK_FAILURE) { in getMmiErrorMessage() 1304 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_DIAL) { in getMmiErrorMessage() 1306 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_USSD) { in getMmiErrorMessage() 1308 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_SS) { in getMmiErrorMessage() 1310 } else if (err.getCommandError() == CommandException.Error.SS_MODIFIED_TO_DIAL_VIDEO) { in getMmiErrorMessage() 1312 } else if (err.getCommandError() == CommandException.Error.INTERNAL_ERR) { in getMmiErrorMessage() 1356 if (ar.exception instanceof CommandException) { in onSetComplete() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 34 import com.android.internal.telephony.CommandException; 118 new CommandException(CommandException.Error.NO_SUCH_ELEMENT)); in testOpenChannelErrorStatus()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 4044 static class CommandException extends Exception { class in ShortcutService 4045 public CommandException(String message) { in CommandException() method in ShortcutService.CommandException 4058 throws CommandException { in parseOptionsLocked() 4066 throw new CommandException( in parseOptionsLocked() 4073 throw new CommandException("Unknown option: " + opt); in parseOptionsLocked() 4116 } catch (CommandException e) { in onCommand() 4156 private void handleResetThrottling() throws CommandException { in handleResetThrottling() 4172 private void handleOverrideConfig() throws CommandException { in handleOverrideConfig() 4179 throw new CommandException("override-config failed. See logcat for details."); in handleOverrideConfig() 4208 private void handleClearDefaultLauncher() throws CommandException { in handleClearDefaultLauncher() [all …]
|