Searched refs:errorCode (Results 1 – 3 of 3) sorted by relevance
76 public static boolean isUpdateSucceeded(int errorCode) { in isUpdateSucceeded() argument77 return SUCCEEDED_COMPLETION_CODES.contains(errorCode); in isUpdateSucceeded()83 public static String getCodeName(int errorCode) { in getCodeName() argument84 return CODE_TO_NAME_MAP.get(errorCode); in getCodeName()
508 private void onPayloadApplicationComplete(int errorCode) { in onPayloadApplicationComplete() argument509 Log.d(TAG, "onPayloadApplicationComplete invoked, errorCode=" + errorCode); in onPayloadApplicationComplete()510 mEngineErrorCode.set(errorCode); in onPayloadApplicationComplete()511 if (errorCode == UpdateEngine.ErrorCodeConstants.SUCCESS in onPayloadApplicationComplete()512 || errorCode == UpdateEngineErrorCodes.UPDATED_BUT_NOT_ACTIVE) { in onPayloadApplicationComplete()516 } else if (errorCode != UpdateEngineErrorCodes.USER_CANCELLED) { in onPayloadApplicationComplete()521 .ifPresent(callback -> callback.accept(errorCode)); in onPayloadApplicationComplete()534 public void onPayloadApplicationComplete(int errorCode) { in onPayloadApplicationComplete() argument535 UpdateManager.this.onPayloadApplicationComplete(errorCode); in onPayloadApplicationComplete()
293 private void onEnginePayloadApplicationComplete(int errorCode) { in onEnginePayloadApplicationComplete() argument294 final String completionState = UpdateEngineErrorCodes.isUpdateSucceeded(errorCode) in onEnginePayloadApplicationComplete()299 + UpdateEngineErrorCodes.getCodeName(errorCode) + "/" + errorCode in onEnginePayloadApplicationComplete()302 setUiEngineErrorCode(errorCode); in onEnginePayloadApplicationComplete()400 private void setUiEngineErrorCode(int errorCode) { in setUiEngineErrorCode() argument401 String errorText = UpdateEngineErrorCodes.getCodeName(errorCode); in setUiEngineErrorCode()402 mTextViewEngineErrorCode.setText(errorText + "/" + errorCode); in setUiEngineErrorCode()