/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyExceptionUtils.java | 88 int errorCode = ICameraService.ERROR_INVALID_OPERATION; in throwOnServiceError() local 94 errorCode = ICameraService.ERROR_PERMISSION_DENIED; in throwOnServiceError() 101 errorCode = ICameraService.ERROR_ILLEGAL_ARGUMENT; in throwOnServiceError() 104 errorCode = ICameraService.ERROR_DISCONNECTED; in throwOnServiceError() 107 errorCode = ICameraService.ERROR_INVALID_OPERATION; in throwOnServiceError() 110 errorCode = ICameraService.ERROR_DISABLED; in throwOnServiceError() 113 errorCode = ICameraService.ERROR_CAMERA_IN_USE; in throwOnServiceError() 116 errorCode = ICameraService.ERROR_MAX_CAMERAS_IN_USE; in throwOnServiceError() 119 errorCode = ICameraService.ERROR_DISCONNECTED; in throwOnServiceError() 122 errorCode = ICameraService.ERROR_DEPRECATED_HAL; in throwOnServiceError() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ServiceSpecificException.java | 36 public final int errorCode; field in ServiceSpecificException 38 public ServiceSpecificException(int errorCode, @Nullable String message) { in ServiceSpecificException() argument 40 this.errorCode = errorCode; in ServiceSpecificException() 43 public ServiceSpecificException(int errorCode) { in ServiceSpecificException() argument 44 this.errorCode = errorCode; in ServiceSpecificException() 49 return super.toString() + " (code " + errorCode + ")"; in toString()
|
/frameworks/base/core/java/android/net/metrics/ |
D | DhcpErrorEvent.java | 46 public final int errorCode; field in DhcpErrorEvent 75 public DhcpErrorEvent(int errorCode) { in DhcpErrorEvent() argument 76 this.errorCode = errorCode; in DhcpErrorEvent() 80 this.errorCode = in.readInt(); in DhcpErrorEvent() 86 out.writeInt(errorCode); in writeToParcel() 107 public static int errorCodeWithOption(int errorCode, int option) { in errorCodeWithOption() argument 108 return (0xFFFF0000 & errorCode) | (0xFF & option); in errorCodeWithOption() 113 return String.format("DhcpErrorEvent(%s)", Decoder.constants.get(errorCode)); in toString()
|
/frameworks/minikin/tests/unittest/ |
D | ICUEnvironment.h | 50 UErrorCode errorCode = U_ZERO_ERROR; in SetUp() local 51 udata_setCommonData(mData, &errorCode); in SetUp() 52 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in SetUp() 54 errorCode = U_ZERO_ERROR; in SetUp() 55 u_init(&errorCode); in SetUp() 56 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in SetUp()
|
/frameworks/minikin/tests/perftests/ |
D | main.cpp | 33 UErrorCode errorCode = U_ZERO_ERROR; in main() local 34 udata_setCommonData(data, &errorCode); in main() 35 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in main() 36 u_init(&errorCode); in main() 37 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in main()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | KeepaliveStatus.java | 53 public final int errorCode; field in KeepaliveStatus 58 errorCode = error; in KeepaliveStatus() 64 errorCode = ERROR_NONE; in KeepaliveStatus() 71 errorCode, sessionHandle, statusCode); in toString() 82 dest.writeInt(errorCode); in writeToParcel() 88 errorCode = p.readInt(); in KeepaliveStatus()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | NdefFormatable.java | 126 int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); in format() local 127 switch (errorCode) { in format() 145 errorCode = tagService.ndefWrite(serviceHandle, firstMessage); in format() 146 switch (errorCode) { in format() 161 errorCode = tagService.ndefMakeReadOnly(serviceHandle); in format() 162 switch (errorCode) { in format()
|
D | BasicTagTechnology.java | 73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(), in connect() local 76 if (errorCode == ErrorCodes.SUCCESS) { in connect() 80 } else if (errorCode == ErrorCodes.ERROR_NOT_SUPPORTED) { in connect() 101 int errorCode = mTag.getTagService().reconnect(mTag.getServiceHandle()); in reconnect() local 103 if (errorCode != ErrorCodes.SUCCESS) { in reconnect()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/exceptions/ |
D | IkeException.java | 30 @IkeNotifyPayload.NotifyType public final int errorCode; field in IkeException 39 errorCode = code; in IkeException() 50 errorCode = code; in IkeException() 61 errorCode = code; in IkeException()
|
/frameworks/base/core/java/android/webkit/ |
D | LegacyErrorStrings.java | 36 static String getString(int errorCode, Context context) { in getString() argument 37 return context.getText(getResource(errorCode)).toString(); in getString() 44 private static int getResource(int errorCode) { in getResource() argument 45 switch(errorCode) { in getResource() 95 Log.w(LOGTAG, "Using generic message for unknown error code: " + errorCode); in getResource()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | DhcpErrorEventTest.kt | 26 assertEquals(TEST_ERROR_CODE, event.errorCode) in testConstructor() 33 assertEquals(TEST_ERROR_CODE, parceled.errorCode) in testParcelUnparcel() 38 val errorCode = errorCodeWithOption(DHCP_INVALID_OPTION_LENGTH, DHCP_SUBNET_MASK); in testErrorCodeWithOption() constant 39 assertTrue((DHCP_INVALID_OPTION_LENGTH and errorCode) == DHCP_INVALID_OPTION_LENGTH); in testErrorCodeWithOption() 40 assertTrue((DHCP_SUBNET_MASK and errorCode) == DHCP_SUBNET_MASK); in testErrorCodeWithOption()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Init.c | 48 LVPSA_RETURN errorCode = LVPSA_OK; in LVPSA_Init() local 200 errorCode = LVPSA_Control (*phInstance, pControlParams); in LVPSA_Init() 202 if(errorCode!=0) in LVPSA_Init() 204 return errorCode; in LVPSA_Init() 207 errorCode = LVPSA_ApplyNewSettings (pLVPSA_Inst); in LVPSA_Init() 209 if(errorCode!=0) in LVPSA_Init() 211 return errorCode; in LVPSA_Init() 214 return(errorCode); in LVPSA_Init()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSession.java | 184 public void onError(SipSession session, int errorCode, in onError() argument 195 public void onCallChangeFailed(SipSession session, int errorCode, in onCallChangeFailed() argument 223 public void onRegistrationFailed(SipSession session, int errorCode, in onRegistrationFailed() argument 524 public void onCallChangeFailed(ISipSession session, int errorCode, in createListener() argument 527 mListener.onCallChangeFailed(SipSession.this, errorCode, in createListener() 533 public void onError(ISipSession session, int errorCode, String message) { in createListener() argument 535 mListener.onError(SipSession.this, errorCode, message); in createListener() 554 public void onRegistrationFailed(ISipSession session, int errorCode, in createListener() argument 557 mListener.onRegistrationFailed(SipSession.this, errorCode, in createListener()
|
D | SipSessionAdapter.java | 49 public void onCallChangeFailed(ISipSession session, int errorCode, in onCallChangeFailed() argument 53 public void onError(ISipSession session, int errorCode, String message) { in onError() argument 62 public void onRegistrationFailed(ISipSession session, int errorCode, in onRegistrationFailed() argument
|
D | ISipSessionListener.aidl | 90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument 99 void onCallChangeFailed(in ISipSession session, int errorCode, in onCallChangeFailed() argument 124 void onRegistrationFailed(in ISipSession session, int errorCode, in onRegistrationFailed() argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraExceptionHandler.java | 31 public void onCameraError(int errorCode) { 48 public void onCameraError(int errorCode); in onCameraError() argument 82 public void onCameraError(final int errorCode) { in onCameraError() argument 86 mCallback.onCameraError(errorCode); in onCameraError()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | MDNSFilteredDiscovery.java | 143 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 145 + errorCode); in onStartDiscoveryFailed() 149 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 151 + errorCode); in onStopDiscoveryFailed() 169 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in onServiceFound() argument 171 errorCode); in onServiceFound()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardErrorException.java | 81 public EuiccCardErrorException(@OperationCode int operationCode, int errorCode) { in EuiccCardErrorException() argument 83 mErrorCode = errorCode; in EuiccCardErrorException() 95 public EuiccCardErrorException(@OperationCode int operationCode, int errorCode, in EuiccCardErrorException() argument 98 mErrorCode = errorCode; in EuiccCardErrorException()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 241 if (!suppressKeyNotFoundWarning || e.errorCode != KEY_NOT_FOUND) { in get() 497 int errorCode = mBinder.addRngEntropy(promise, data, flags); in addRngEntropy() local 498 if (errorCode == NO_ERROR) { in addRngEntropy() 877 int errorCode = mBinder.begin(promise, getToken(), alias, purpose, pruneable, args, in begin() local 879 if (errorCode == NO_ERROR) { in begin() 882 return new OperationResult(errorCode); in begin() 908 int errorCode = mBinder.update(promise, token, arguments, input); in update() local 909 if (errorCode == NO_ERROR) { in update() 912 return new OperationResult(errorCode); in update() 933 int errorCode = mBinder.finish(promise, token, arguments, signature, entropy); in finish() local [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsGroupCallServiceBase.java | 59 public void onError(final int errorCode, final String message) { 61 if (errorCode == MbmsErrors.UNKNOWN) { 65 callback.onError(errorCode, message); 139 public void onError(final int errorCode, final String message) { 141 if (errorCode == MbmsErrors.UNKNOWN) { 145 callback.onError(errorCode, message);
|
D | MbmsStreamingServiceBase.java | 78 public void onError(final int errorCode, final String message) { in initialize() 80 if (errorCode == MbmsErrors.UNKNOWN) { in initialize() 84 callback.onError(errorCode, message); in initialize() 178 public void onError(final int errorCode, final String message) { in startStreaming() 180 if (errorCode == MbmsErrors.UNKNOWN) { in startStreaming() 184 callback.onError(errorCode, message); in startStreaming()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiDiagnostics.java | 240 public synchronized void captureAlertData(int errorCode, byte[] alertData) { in captureAlertData() argument 241 BugReport report = captureBugreport(errorCode, isVerboseLoggingEnabled()); in captureAlertData() 245 if (mFatalFirmwareAlertErrorCodeList.contains(errorCode)) { in captureAlertData() 298 int errorCode; field in WifiDiagnostics.BugReport 324 builder.append("reason = ").append(errorCode).append("\n"); in toString() 326 builder.append("errorCode = ").append(errorCode); in toString() 428 public void onWifiAlert(int errorCode, byte[] buffer) { 429 WifiDiagnostics.this.onWifiAlert(errorCode, buffer); 440 synchronized void onWifiAlert(int errorCode, @NonNull byte[] buffer) { in onWifiAlert() argument 441 captureAlertData(errorCode, buffer); in onWifiAlert() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | OpenLogicalChannelInvocation.java | 76 int errorCode = IccOpenLogicalChannelResponse.STATUS_UNKNOWN_ERROR; in parseResult() local 81 errorCode = IccOpenLogicalChannelResponse.STATUS_MISSING_RESOURCE; in parseResult() 83 errorCode = IccOpenLogicalChannelResponse.STATUS_NO_SUCH_ELEMENT; in parseResult() 87 IccOpenLogicalChannelResponse.INVALID_CHANNEL, errorCode, null); in parseResult()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 156 final int errorCode, final String message) { in onCallChangeFailed() argument 162 mListener.onCallChangeFailed(session, errorCode, message); in onCallChangeFailed() 171 public void onError(final ISipSession session, final int errorCode, in onError() argument 178 mListener.onError(session, errorCode, message); in onError() 219 final int errorCode, final String message) { in onRegistrationFailed() argument 225 mListener.onRegistrationFailed(session, errorCode, message); in onRegistrationFailed()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 342 if (e.errorCode == ERROR_BAD_CERTIFICATE_FORMAT in initRecoveryService() 343 || e.errorCode == ERROR_INVALID_CERTIFICATE) { in initRecoveryService() 346 if (e.errorCode == ERROR_DOWNGRADE_CERTIFICATE) { in initRecoveryService() 370 if (e.errorCode == ERROR_NO_SNAPSHOT_PENDING) { in getKeyChainSnapshot() 556 if (e.errorCode == ERROR_INSECURE_USER) { in generateKey() 597 if (e.errorCode == ERROR_INSECURE_USER) { in generateKey() 630 if (e.errorCode == ERROR_INSECURE_USER) { in importKey() 673 if (e.errorCode == ERROR_INSECURE_USER) { in importKey() 753 if (e.errorCode == ERROR_SERVICE_INTERNAL_ERROR) { in wrapUnexpectedServiceSpecificException() 760 + e.errorCode, e); in wrapUnexpectedServiceSpecificException()
|