/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/Car/Settings/src/com/android/car/settings/security/ |
D | PasswordHelper.java | 93 public List<String> convertErrorCodeToMessages(Context context, int errorCode) { in convertErrorCodeToMessages() argument 94 return mIsPin ? convertPinErrorCodeToMessages(context, errorCode) : in convertErrorCodeToMessages() 95 convertPasswordErrorCodeToMessages(context, errorCode); in convertErrorCodeToMessages() 99 int errorCode = NO_ERROR; in validatePassword() local 102 errorCode |= TOO_SHORT; in validatePassword() 109 errorCode |= CONTAINS_INVALID_CHARACTERS; in validatePassword() 114 return errorCode; in validatePassword() 139 int errorCode = NO_ERROR; in validatePin() local 144 errorCode |= TOO_SHORT; in validatePin() 148 errorCode |= CONTAINS_NON_DIGITS; in validatePin() [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/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/Wifi/service/java/com/android/server/wifi/ |
D | WifiDiagnostics.java | 301 private void triggerAlertDataCapture(int errorCode, byte[] alertData) { in triggerAlertDataCapture() argument 308 BugReport report = captureBugreport(errorCode, verbose); in triggerAlertDataCapture() 316 .boxed().collect(Collectors.toList()).contains(errorCode)) { in triggerAlertDataCapture() 385 int errorCode; field in WifiDiagnostics.BugReport 411 builder.append("reason = ").append(errorCode).append("\n"); in toString() 413 builder.append("errorCode = ").append(errorCode); in toString() 515 public void onWifiAlert(int errorCode, byte[] buffer) { 516 WifiDiagnostics.this.onWifiAlert(errorCode, buffer); 527 synchronized void onWifiAlert(int errorCode, @NonNull byte[] buffer) { in onWifiAlert() argument 528 triggerAlertDataCapture(errorCode, buffer); in onWifiAlert() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NsdManagerTest.java | 58 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener() 59 setEvent("onRegistrationFailed", errorCode); in initRegistrationListener() 63 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener() 64 setEvent("onUnregistrationFailed", errorCode); in initRegistrationListener() 82 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener() 83 setEvent("onStartDiscoveryFailed", errorCode); in initDiscoveryListener() 87 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener() 88 setEvent("onStopDiscoveryFailed", errorCode); in initDiscoveryListener() 120 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in initResolveListener() 121 setEvent("onResolveFailed", errorCode); in initResolveListener() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsRcsController.java | 129 Log.e(TAG, "unregisterImsRegistrationCallback: error=" + e.errorCode); in unregisterImsRegistrationCallback() 217 Log.e(TAG, "unregisterRcsAvailabilityCallback: error=" + e.errorCode); in unregisterRcsAvailabilityCallback() 350 throw new ImsException(e.getMessage(), e.errorCode); in addUceRegistrationOverrideShell() 369 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRegistrationOverrideShell() 388 throw new ImsException(e.getMessage(), e.errorCode); in clearUceRegistrationOverrideShell() 407 throw new ImsException(e.getMessage(), e.errorCode); in getLatestRcsContactUceCapabilityShell() 427 throw new ImsException(e.getMessage(), e.errorCode); in getLastUcePidfXmlShell() 445 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRequestDisallowedStatus() 462 throw new ImsException(e.getMessage(), e.errorCode); in setCapabilitiesRequestTimeout() 498 Log.e(TAG, "unregisterUcePublishStateCallback: error=" + e.errorCode); in unregisterUcePublishStateCallback() [all …]
|
/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/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 102 default void onErrorEvent(int propId, int areaId, @CarSetPropertyErrorCode int errorCode) { in onErrorEvent() argument 105 + toHexString(areaId) + " ErrorCode: " + errorCode); in onErrorEvent() 723 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in getProperty() 730 return handleCarServiceSpecificException(e.errorCode, propId, areaId, null); in getProperty() 783 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in getProperty() 790 return handleCarServiceSpecificException(e.errorCode, propId, areaId, null); in getProperty() 856 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in setProperty() 864 handleCarServiceSpecificException(e.errorCode, propId, areaId, null); in setProperty() 912 private <T> T handleCarServiceSpecificException(int errorCode, int propId, int areaId, in handleCarServiceSpecificException() argument 914 switch (errorCode) { in handleCarServiceSpecificException() [all …]
|
D | CarPropertyEvent.java | 95 @CarPropertyManager.CarSetPropertyErrorCode int errorCode) { in CarPropertyEvent() argument 97 mErrorCode = errorCode; in CarPropertyEvent() 109 @CarPropertyManager.CarSetPropertyErrorCode int errorCode) { in createErrorEventWithErrorCode() argument 113 errorCode); in createErrorEventWithErrorCode()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AdminIntegratedFlowPrepareController.java | 78 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 82 switch (errorCode) { in getErrorMsgId() 89 switch (errorCode) { in getErrorMsgId() 96 switch (errorCode) { in getErrorMsgId() 108 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
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 | 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 175 mProvisioningAnalyticsTracker.logProvisioningError(mContext, task, errorCode); in onError() 176 mCallback.error(getErrorTitle(), getErrorMsgId(task, errorCode), in onError() 177 getRequireFactoryReset(task, errorCode)); in onError()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalClient.java | 207 public final int errorCode; field in HalClient.PropertySetError 211 PropertySetError(int errorCode, int propId, int areaId) { in PropertySetError() argument 212 this.errorCode = errorCode; in PropertySetError() 248 callback.onPropertySetError(obj.errorCode, obj.propId, obj.areaId); in handleMessage() 279 public void onPropertySetError(int errorCode, int propId, int areaId) { in onPropertySetError() argument 282 new PropertySetError(errorCode, propId, areaId))); in onPropertySetError()
|
/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/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/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 199 int errorCode = CarPropertyManager.CAR_SET_PROPERTY_ERROR_CODE_TRY_AGAIN; in testOnPropertySetError() local 204 mVehicleHal.onPropertySetError(errorCode, propId, areaId); in testOnPropertySetError() 207 verify(mPowerHalService).onPropertySetError(propId, areaId, errorCode); in testOnPropertySetError() 213 int errorCode = CarPropertyManager.CAR_SET_PROPERTY_ERROR_CODE_TRY_AGAIN; in testInjectOnPropertySetError() local 218 mVehicleHal.onPropertySetError(errorCode, propId, areaId); in testInjectOnPropertySetError() 221 verify(mPowerHalService).onPropertySetError(propId, areaId, errorCode); in testInjectOnPropertySetError()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportService.java | 421 public void onError(@CarBugreportErrorCode int errorCode) { in requestBugReport() 422 Log.e(TAG, "CarBugreportManager failed: " + errorCode); in requestBugReport() 424 handleBugReportManagerError(errorCode); in requestBugReport() 452 @CarBugreportManager.CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in handleBugReportManagerError() 465 Status.STATUS_WRITE_FAILED, getBugReportFailureStatusMessage(errorCode)); in handleBugReportManagerError() 476 @CarBugreportManager.CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in getBugReportFailureStatusMessage() 477 switch (errorCode) { in getBugReportFailureStatusMessage() 484 return "Car service bugreport collection failed: " + errorCode; in getBugReportFailureStatusMessage()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppInfoBase.java | 178 protected abstract AlertDialog createDialog(int id, int errorCode); in createDialog() argument 250 int errorCode = getArguments().getInt("moveError"); in onCreateDialog() local 251 Dialog dialog = ((AppInfoBase) getTargetFragment()).createDialog(id, errorCode); in onCreateDialog() 258 public static MyAlertDialogFragment newInstance(int id, int errorCode) { in newInstance() argument 262 args.putInt("moveError", errorCode); in newInstance()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 110 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in onResolveFailed() argument 113 + errorCode + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onResolveFailed() 116 mListener.onResolveFailed(serviceInfo, errorCode); in onResolveFailed()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | UceActivity.java | 114 public void onError(int errorCode, long retryAfterMilliseconds) { in initLayout() 116 "onError() errorCode:" + errorCode + " retryAfterMs:" in initLayout() 154 public void onError(int errorCode, long retryAfterMilliseconds) { in initLayout() 156 "onError() errorCode:" + errorCode + " retryAfterMs:" in initLayout()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 315 public final int errorCode; field in EapMsChapV2TypeData.EapMsChapV2FailureRequest 345 this.errorCode = Integer.parseInt(mappings.get(ERROR_LABEL)); in EapMsChapV2FailureRequest() 361 int errorCode, in EapMsChapV2FailureRequest() argument 369 this.errorCode = errorCode; in EapMsChapV2FailureRequest()
|
/packages/modules/adb/daemon/ |
D | mdns.cpp | 54 DNSServiceErrorType errorCode, in mdns_callback() argument 59 if (errorCode != kDNSServiceErr_NoError) { in mdns_callback() 61 << errorCode << ")."; in mdns_callback()
|