Home
last modified time | relevance | path

Searched refs:ResultCode (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java42 ResultCode.SUCCESS_WITH_IME_SESSION,
43 ResultCode.SUCCESS_WAITING_IME_SESSION,
44 ResultCode.SUCCESS_WAITING_IME_BINDING,
45 ResultCode.SUCCESS_REPORT_WINDOW_FOCUS_ONLY,
46 ResultCode.ERROR_NULL,
47 ResultCode.ERROR_NO_IME,
48 ResultCode.ERROR_INVALID_PACKAGE_NAME,
49 ResultCode.ERROR_SYSTEM_NOT_READY,
50 ResultCode.ERROR_IME_NOT_CONNECTED,
51 ResultCode.ERROR_INVALID_USER,
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResultException.java29 private ResultCode mResult;
34 public ResultException(ResultCode result) { in ResultException()
61 public ResultException(ResultCode result, String explanation) { in ResultException()
66 public ResultException(ResultCode result, int additionalInfo) { in ResultException()
77 public ResultException(ResultCode result, int additionalInfo, String explanation) { in ResultException()
82 public ResultCode result() { in result()
DValueParser.java53 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveCommandDetails()
77 throw new ResultException(ResultCode.REQUIRED_VALUES_MISSING); in retrieveDeviceIdentities()
100 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveDuration()
128 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveItem()
151 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveItemId()
173 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveIconId()
205 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveItemsIconId()
264 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveTextAttribute()
292 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveAlphaId()
344 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in retrieveTextString()
[all …]
DResultCode.java31 public enum ResultCode { enum
193 ResultCode(int code) { in ResultCode() method in ResultCode
206 public static ResultCode fromInt(int value) { in fromInt()
207 for (ResultCode r : ResultCode.values()) { in fromInt()
DBerTlv.java96 ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
104 ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
116 throw new ResultException(ResultCode.REQUIRED_VALUES_MISSING, in decode()
120 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, e.explanation()); in decode()
125 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
DCatService.java61 ResultCode mResCode;
299 if (rilMsg.mResCode == ResultCode.OK) { in handleRilMsg()
314 sendTerminalResponse(mCurrntCmd.mCmdDet, ResultCode.CMD_DATA_NOT_UNDERSTOOD, in handleRilMsg()
320 if (rilMsg.mResCode == ResultCode.OK) { in handleRilMsg()
388 ResultCode resultCode; in handleCommand()
397 resultCode = cmdParams.mLoadIconFailed ? ResultCode.PRFRMD_ICON_NOT_DISPLAYED in handleCommand()
398 : ResultCode.OK; in handleCommand()
404 resultCode = cmdParams.mLoadIconFailed ? ResultCode.PRFRMD_ICON_NOT_DISPLAYED in handleCommand()
405 : ResultCode.OK; in handleCommand()
410 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, null); in handleCommand()
[all …]
DComprehensionTlv.java165 ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
176 ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
188 ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
194 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
204 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, in decode()
DCatResponseMessage.java23 ResultCode mResCode = ResultCode.OK;
37 public void setResultCode(ResultCode resCode) { in setResultCode()
DCommandParamsFactory.java139 sendCmdParams(ResultCode.CMD_TYPE_NOT_UNDERSTOOD); in make()
147 sendCmdParams(ResultCode.CMD_TYPE_NOT_UNDERSTOOD); in make()
159 sendCmdParams(ResultCode.BEYOND_TERMINAL_CAPABILITY); in make()
166 sendCmdParams(ResultCode.CMD_DATA_NOT_UNDERSTOOD); in make()
226 sendCmdParams(ResultCode.BEYOND_TERMINAL_CAPABILITY); in make()
236 sendCmdParams(ResultCode.OK); in make()
251 private ResultCode setIcons(Object data) { in setIcons()
265 return ResultCode.OK; in setIcons()
283 return ResultCode.OK; in setIcons()
286 private void sendCmdParams(ResultCode resCode) { in sendCmdParams()
[all …]
DRilMessageDecoder.java106 public void sendMsgParamsDecoded(ResultCode resCode, CommandParams cmdParams) { in sendMsgParamsDecoded()
154 mCurrentRilMessage.mResCode = ResultCode.fromInt(msg.arg1); in processMessage()
174 mCurrentRilMessage.mResCode = ResultCode.OK; in decodeMessageParams()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/exceptions/
DAppSearchException.java30 private final @AppSearchResult.ResultCode int mResultCode;
37 public AppSearchException(@AppSearchResult.ResultCode int resultCode) { in AppSearchException()
49 @AppSearchResult.ResultCode int resultCode, @Nullable String message) { in AppSearchException()
64 @AppSearchResult.ResultCode int resultCode, in AppSearchException()
76 public @AppSearchResult.ResultCode int getResultCode() { in getResultCode()
/frameworks/base/telephony/java/android/telephony/data/
DDataServiceCallback.java54 public @interface ResultCode {} annotation in DataServiceCallback
86 public void onSetupDataCallComplete(@ResultCode int result, in onSetupDataCallComplete()
106 public void onDeactivateDataCallComplete(@ResultCode int result) { in onDeactivateDataCallComplete()
125 public void onSetInitialAttachApnComplete(@ResultCode int result) { in onSetInitialAttachApnComplete()
143 public void onSetDataProfileComplete(@ResultCode int result) { in onSetDataProfileComplete()
163 public void onRequestDataCallListComplete(@ResultCode int result, in onRequestDataCallListComplete()
202 public void onHandoverStarted(@ResultCode int result) { in onHandoverStarted()
222 public void onHandoverCancelled(@ResultCode int result) { in onHandoverCancelled()
244 public static String resultCodeToString(@DataServiceCallback.ResultCode int resultCode) { in resultCodeToString()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/stats/
DInitializeStats.java80 @AppSearchResult.ResultCode private final int mStatusCode;
112 @AppSearchResult.ResultCode private final int mResetStatusCode;
115 @AppSearchResult.ResultCode
231 @AppSearchResult.ResultCode
260 @AppSearchResult.ResultCode int mStatusCode;
277 @AppSearchResult.ResultCode int mResetStatusCode;
281 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
428 public Builder setResetStatusCode(@AppSearchResult.ResultCode int resetStatusCode) { in setResetStatusCode()
DRemoveStats.java67 @AppSearchResult.ResultCode private final int mStatusCode;
98 @AppSearchResult.ResultCode
128 @AppSearchResult.ResultCode int mStatusCode;
142 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
DOptimizeStats.java34 @AppSearchResult.ResultCode private final int mStatusCode;
80 @AppSearchResult.ResultCode
144 @AppSearchResult.ResultCode int mStatusCode;
159 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
DSetSchemaStats.java40 @AppSearchResult.ResultCode private final int mStatusCode;
96 @AppSearchResult.ResultCode
159 @AppSearchResult.ResultCode int mStatusCode;
177 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
DCallStats.java84 @AppSearchResult.ResultCode private final int mStatusCode;
118 @AppSearchResult.ResultCode
173 @AppSearchResult.ResultCode int mStatusCode;
196 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
DPutDocumentStats.java37 @AppSearchResult.ResultCode private final int mStatusCode;
100 @AppSearchResult.ResultCode
162 @AppSearchResult.ResultCode int mStatusCode;
182 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
DSearchStats.java64 @AppSearchResult.ResultCode private final int mStatusCode;
157 @AppSearchResult.ResultCode
270 @AppSearchResult.ResultCode int mStatusCode;
311 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java57 public @interface ResultCode {} annotation in AppSearchResult
98 private final @ResultCode int mResultCode;
103 @ResultCode int resultCode, in AppSearchResult()
117 public @ResultCode int getResultCode() { in getResultCode()
198 @ResultCode int resultCode, @Nullable String errorMessage) { in newFailedResult()
235 @AppSearchResult.ResultCode int resultCode; in throwableToFailedResult()
/frameworks/base/core/java/android/app/timezone/
DRulesManager.java94 public @interface ResultCode {} annotation in RulesManager
151 @ResultCode
174 @ResultCode
/frameworks/base/core/java/android/graphics/fonts/
DFontManager.java62 public @interface ResultCode {} annotation in FontManager
276 @RequiresPermission(Manifest.permission.UPDATE_FONTS) public @ResultCode int updateFontFamily( in updateFontFamily()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java264 public void onSetupDataCallComplete(@DataServiceCallback.ResultCode int resultCode, in onSetupDataCallComplete()
281 public void onDeactivateDataCallComplete(@DataServiceCallback.ResultCode int resultCode) { in onDeactivateDataCallComplete()
289 public void onSetInitialAttachApnComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetInitialAttachApnComplete()
296 public void onSetDataProfileComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetDataProfileComplete()
303 public void onRequestDataCallListComplete(@DataServiceCallback.ResultCode int resultCode, in onRequestDataCallListComplete()
317 public void onHandoverStarted(@DataServiceCallback.ResultCode int resultCode) { in onHandoverStarted()
325 public void onHandoverCancelled(@DataServiceCallback.ResultCode int resultCode) { in onHandoverCancelled()
601 private void sendCompleteMessage(Message msg, @DataServiceCallback.ResultCode int code) { in sendCompleteMessage()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DResultCodeToProtoConverter.java37 public static @AppSearchResult.ResultCode int toResultCode( in toResultCode()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerService.java114 SystemFontException(@FontManager.ResultCode int errorCode, String msg, Throwable cause) { in SystemFontException()
124 @FontManager.ResultCode

12