/packages/services/Car/cpp/computepipe/runner/graph/ |
D | LocalPrebuiltGraph.cpp | 70 PrebuiltComputepipeRunner_ErrorCode errorCode = in handleConfigPhase() local 72 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase() 73 return static_cast<Status>(static_cast<int>(errorCode)); in handleConfigPhase() 82 PrebuiltComputepipeRunner_ErrorCode errorCode = in handleConfigPhase() local 84 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase() 85 return static_cast<Status>(static_cast<int>(errorCode)); in handleConfigPhase() 93 errorCode = streamCallbackFn(LocalPrebuiltGraph::OutputStreamCallbackFunction); in handleConfigPhase() 94 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase() 95 return static_cast<Status>(static_cast<int>(errorCode)); in handleConfigPhase() 102 errorCode = terminationCallback(LocalPrebuiltGraph::GraphTerminationCallbackFunction); in handleConfigPhase() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModelException.java | 61 public DataModelException(final int errorCode, final Exception innerException, in DataModelException() argument 66 if (errorCode < FIRST || errorCode > LAST) { in DataModelException() 67 throw new IllegalArgumentException("error code out of range: " + errorCode); in DataModelException() 70 mErrorCode = errorCode; in DataModelException() 81 public DataModelException(final int errorCode) { in DataModelException() argument 82 this(errorCode, null, 0, false, null); in DataModelException() 85 public DataModelException(final int errorCode, final Exception innerException) { in DataModelException() argument 86 this(errorCode, innerException, 0, false, null); in DataModelException() 89 public DataModelException(final int errorCode, final String message) { in DataModelException() argument 90 this(errorCode, null, 0, false, message); in DataModelException()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | AuthenticationFailureEventInfo.java | 31 public final int errorCode; field in AuthenticationFailureEventInfo 34 int reasonCode, int errorCode) { in AuthenticationFailureEventInfo() argument 38 this.errorCode = errorCode; in AuthenticationFailureEventInfo() 47 sb.append(" errorCode: ").append(errorCode); in toString() 53 return Objects.hash(ssid, bssid, reasonCode, errorCode); in hashCode() 64 && errorCode == thatAuthenticationFailureEventInfo.errorCode in equals()
|
D | WifiDiagnostics.java | 302 private void triggerAlertDataCapture(int errorCode, byte[] alertData) { in triggerAlertDataCapture() argument 309 BugReport report = captureBugreport(errorCode, verbose); in triggerAlertDataCapture() 317 .boxed().collect(Collectors.toList()).contains(errorCode)) { in triggerAlertDataCapture() 386 int errorCode; field in WifiDiagnostics.BugReport 417 builder.append("reason = ").append(errorCode).append("\n"); in toString() 419 builder.append("errorCode = ").append(errorCode); in toString() 521 public void onWifiAlert(int errorCode, byte[] buffer) { 522 WifiDiagnostics.this.onWifiAlert(errorCode, buffer); 533 synchronized void onWifiAlert(int errorCode, @NonNull byte[] buffer) { in onWifiAlert() argument 534 triggerAlertDataCapture(errorCode, buffer); in onWifiAlert() [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/ |
D | DisplayHashingServiceImplTest.java | 81 int errorCode = mDisplayHashResultCallback.getError(); in testOnGenerateDisplayHash_nullSalt() local 82 assertEquals(DISPLAY_HASH_ERROR_UNKNOWN, errorCode); in testOnGenerateDisplayHash_nullSalt() 89 int errorCode = mDisplayHashResultCallback.getError(); in testOnGenerateDisplayHash_invalidHashAlgorithm() local 90 assertEquals(DISPLAY_HASH_ERROR_INVALID_HASH_ALGORITHM, errorCode); in testOnGenerateDisplayHash_invalidHashAlgorithm() 95 errorCode = mDisplayHashResultCallback.getError(); in testOnGenerateDisplayHash_invalidHashAlgorithm() 96 assertEquals(DISPLAY_HASH_ERROR_INVALID_HASH_ALGORITHM, errorCode); in testOnGenerateDisplayHash_invalidHashAlgorithm() 103 int errorCode = mDisplayHashResultCallback.getError(); in testOnGenerateDisplayHash_nullBuffer() local 104 assertEquals(DISPLAY_HASH_ERROR_UNKNOWN, errorCode); in testOnGenerateDisplayHash_nullBuffer() 170 public void onDisplayHashError(int errorCode) { in onDisplayHashError() argument 171 mError = errorCode; in onDisplayHashError()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestStatsdTelemetry.cpp | 39 .errorCode = ANEURALNETWORKS_NO_ERROR, 108 key2.errorCode = ANEURALNETWORKS_DEAD_OBJECT; in TEST() 271 key.errorCode = error; in TEST() 295 key.errorCode = error; in TEST() 308 .errorCode = ANEURALNETWORKS_NO_ERROR, in TEST() 324 EXPECT_EQ(key.errorCode, info.errorCode); in TEST() 348 .errorCode = ANEURALNETWORKS_OP_FAILED, in TEST() 364 EXPECT_EQ(key.errorCode, info.errorCode); in TEST() 388 .errorCode = ANEURALNETWORKS_NO_ERROR, in TEST() 404 EXPECT_EQ(key.errorCode, info.errorCode); in TEST() [all …]
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileDownloader.java | 105 int errorCode = ((Intent) msg.obj).getIntExtra( in handleMessage() local 110 Log.d(TAG, "Error Code : " + errorCode); in handleMessage() 113 detailedErrCode, operationCode, errorCode); in handleMessage() 124 + getUnresolvableErrorDescription(errorCode)); in handleMessage() 140 int errorCode) { in mapDownloaderErrorCode() argument 165 switch (errorCode) { in mapDownloaderErrorCode() 197 private String getUnresolvableErrorDescription(int errorCode) { in getUnresolvableErrorDescription() argument 198 switch (errorCode) { in getUnresolvableErrorDescription()
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | NsdManager.java | 436 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 441 + " with code " + errorCode); in onStartDiscoveryFailed() 452 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 454 + " with code " + errorCode); in onStopDiscoveryFailed() 623 public void onStartDiscoveryFailed(String serviceType, int errorCode); in onStartDiscoveryFailed() argument 625 public void onStopDiscoveryFailed(String serviceType, int errorCode); in onStopDiscoveryFailed() argument 639 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode); in onRegistrationFailed() argument 641 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode); in onUnregistrationFailed() argument 651 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode); in onResolveFailed() argument 667 final int errorCode = message.arg1; in handleMessage() local [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AbstractProvisioningController.java | 104 protected abstract int getErrorMsgId(AbstractProvisioningTask task, int errorCode); in getErrorMsgId() argument 105 protected abstract boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode); in getRequireFactoryReset() argument 172 public synchronized void onError(AbstractProvisioningTask task, int errorCode, in onError() argument 176 mProvisioningAnalyticsTracker.logProvisioningError(mContext, task, errorCode); in onError() 178 mCallback.error(getErrorTitle(), getErrorMsgId(task, errorCode), in onError() 179 getRequireFactoryReset(task, errorCode)); in onError() 182 getErrorTitle(), errorMessage, getRequireFactoryReset(task, errorCode)); in onError()
|
D | DeviceOwnerProvisioningController.java | 87 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 91 switch (errorCode) { in getErrorMsgId() 98 switch (errorCode) { in getErrorMsgId() 105 switch (errorCode) { in getErrorMsgId() 117 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
D | AdminIntegratedFlowPrepareController.java | 92 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 96 switch (errorCode) { in getErrorMsgId() 103 switch (errorCode) { in getErrorMsgId() 110 switch (errorCode) { in getErrorMsgId() 122 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
D | DownloadRoleHolderController.java | 109 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 113 switch (errorCode) { in getErrorMsgId() 119 switch (errorCode) { in getErrorMsgId() 124 switch (errorCode) { in getErrorMsgId() 136 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
/packages/modules/Connectivity/tests/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()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/ |
D | BluetoothGattException.java | 26 public BluetoothGattException(String message, int errorCode) { in BluetoothGattException() argument 28 mErrorCode = errorCode; in BluetoothGattException() 32 public BluetoothGattException(String message, int errorCode, Throwable cause) { in BluetoothGattException() argument 34 mErrorCode = errorCode; in BluetoothGattException()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsRcsController.java | 142 Log.e(TAG, "unregisterImsRegistrationCallback: error=" + e.errorCode); in unregisterImsRegistrationCallback() 230 Log.e(TAG, "unregisterRcsAvailabilityCallback: error=" + e.errorCode); in unregisterRcsAvailabilityCallback() 368 throw new ImsException(e.getMessage(), e.errorCode); in addUceRegistrationOverrideShell() 387 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRegistrationOverrideShell() 406 throw new ImsException(e.getMessage(), e.errorCode); in clearUceRegistrationOverrideShell() 425 throw new ImsException(e.getMessage(), e.errorCode); in getLatestRcsContactUceCapabilityShell() 445 throw new ImsException(e.getMessage(), e.errorCode); in getLastUcePidfXmlShell() 463 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRequestDisallowedStatus() 480 throw new ImsException(e.getMessage(), e.errorCode); in setCapabilitiesRequestTimeout() 522 Log.e(TAG, "unregisterUcePublishStateCallback: error=" + e.errorCode); in unregisterUcePublishStateCallback() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | TelemetryStatsd.cpp | 203 if (key.errorCode == ANEURALNETWORKS_NO_ERROR) { in logAtomToStatsd() 218 convertResultCode(key.errorCode), key.introspectionEnabled, key.cacheEnabled, in logAtomToStatsd() 222 if (key.errorCode == ANEURALNETWORKS_NO_ERROR) { in logAtomToStatsd() 243 convertDataClass(key.outputDataClass), convertResultCode(key.errorCode), in logAtomToStatsd() 256 return std::tie(v.isExecution, v.modelArchHash, v.deviceId, v.executionMode, v.errorCode, in asTuple() 387 .errorCode = info->errorCode, in createAtomFrom() 402 if (info->errorCode == ANEURALNETWORKS_NO_ERROR) { in createAtomFrom() 418 .errorCode = info->errorCode, in createAtomFrom() 433 if (info->errorCode == ANEURALNETWORKS_NO_ERROR) { in createAtomFrom()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | RemoteProvisioningException.java | 54 public RemoteProvisioningException(@ErrorCode int errorCode, String message) { in RemoteProvisioningException() argument 56 mErrorCode = errorCode; in RemoteProvisioningException() 64 public RemoteProvisioningException(@ErrorCode int errorCode, String message, Throwable cause) { in RemoteProvisioningException() argument 66 mErrorCode = errorCode; in RemoteProvisioningException()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3EventHandler.java | 258 private static void postError(VoicemailStatus.Editor editor, @ErrorCode int errorCode) { in postError() argument 259 switch (errorCode) { in postError() 280 editor.setConfigurationState(errorCode); in postError() 288 editor.setDataChannelState(errorCode); in postError() 291 editor.setNotificationChannelState(errorCode); in postError() 294 VvmLog.wtf(TAG, "unknown error code: " + errorCode); in postError()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 138 final int errorCode, final int partId, int subId) { in setResult() argument 142 + " resultCode=" + resultCode + " errorCode=" + errorCode); in setResult() 143 if (errorCode != SendStatusReceiver.NO_ERROR_CODE) { in setResult() 145 UiUtils.showToastAtBottom(getSendErrorToastMessage(context, subId, errorCode)); in setResult() 170 final int errorCode) { in getSendErrorToastMessage() argument 173 return context.getString(R.string.carrier_send_error_unknown_carrier, errorCode); in getSendErrorToastMessage() 175 return context.getString(R.string.carrier_send_error, carrierName, errorCode); in getSendErrorToastMessage()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 271 public void onStartFailure(int errorCode) { in onStartFailure() argument 273 if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED) { in onStartFailure() 275 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_DATA_TOO_LARGE) { in onStartFailure() 277 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_FEATURE_UNSUPPORTED) { in onStartFailure() 279 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR) { in onStartFailure() 281 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_TOO_MANY_ADVERTISERS) { in onStartFailure()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/ |
D | FakeRemoteSdkCallback.java | 50 public void onLoadSdkFailure(int errorCode, String errorMsg) { in onLoadSdkFailure() argument 52 mErrorCode = errorCode; in onLoadSdkFailure() 58 public void onSurfacePackageError(int errorCode, String errorMsg) { in onSurfacePackageError() argument 60 mErrorCode = errorCode; in onSurfacePackageError()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 143 default void onErrorEvent(int propId, int areaId, @CarSetPropertyErrorCode int errorCode) { in onErrorEvent() argument 146 + toHexString(areaId) + " ErrorCode: " + errorCode); in onErrorEvent() 721 if (e.errorCode != SYNC_OP_LIMIT_TRY_AGAIN) { in runSyncOperation() 805 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in getProperty() 868 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in getProperty() 943 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in setProperty() 1006 int errorCode = e.errorCode; in handleCarServiceSpecificException() local 1007 switch (errorCode) { in handleCarServiceSpecificException() 1017 Log.e(TAG, "Invalid errorCode: " + errorCode + " in CarService"); in handleCarServiceSpecificException()
|
D | CarPropertyEvent.java | 108 @CarPropertyManager.CarSetPropertyErrorCode int errorCode) { in CarPropertyEvent() argument 110 mErrorCode = errorCode; in CarPropertyEvent() 123 @CarPropertyManager.CarSetPropertyErrorCode int errorCode) { in createErrorEventWithErrorCode() argument 127 errorCode); in createErrorEventWithErrorCode()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimTypeDataTest.java | 123 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeNullTypeData() 130 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidSubtype() 138 assertEquals(INSUFFICIENT_CHALLENGES_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidAtRand() 145 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeShortPacket() 153 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidEapAttribute() 172 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeDuplicateAttributes()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 604 public void onScanManagerErrorCallback(final int errorCode) { in onScanManagerErrorCallback() argument 606 Log.d(TAG, "onScanManagerErrorCallback() - errorCode = " + errorCode); in onScanManagerErrorCallback() 613 postCallbackError(mScanCallback, errorCode); in onScanManagerErrorCallback() 617 private int postCallbackErrorOrReturn(final ScanCallback callback, final int errorCode) { in postCallbackErrorOrReturn() argument 619 return errorCode; in postCallbackErrorOrReturn() 621 postCallbackError(callback, errorCode); in postCallbackErrorOrReturn() 627 private void postCallbackError(final ScanCallback callback, final int errorCode) { in postCallbackError() argument 631 callback.onScanFailed(errorCode); in postCallbackError()
|