Searched refs:errorCode (Results 1 - 25 of 58) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DDataModelException.java61 public DataModelException(final int errorCode, final Exception innerException, argument
66 if (errorCode < FIRST || errorCode > LAST) {
67 throw new IllegalArgumentException("error code out of range: " + errorCode);
70 mErrorCode = errorCode;
81 public DataModelException(final int errorCode) { argument
82 this(errorCode, null, 0, false, null);
85 public DataModelException(final int errorCode, final Exception innerException) { argument
86 this(errorCode, innerException, 0, false, null);
89 public DataModelException(final int errorCode, fina argument
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DAsyncResultCallback.java23 void onResult(T result, int errorCode, String errorMsg); argument
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
H A DIVehicleNetworkListener.aidl28 void onHalError(int errorCode, int property, int operation) = 1;
H A DIVehicleNetwork.aidl44 void injectHalError(int errorCode, int property, int operation) = 8;
H A DVehicleNetwork.java52 void onHalError(int errorCode, int property, int operation); argument
504 public synchronized void injectHalError(int errorCode, int property, int operation) { argument
506 mService.injectHalError(errorCode, property, operation);
556 private void handleHalError(int errorCode, int property, int operation) { argument
557 mListener.onHalError(errorCode, property, operation);
579 private void notifyHalError(int errorCode, int property, int operation) { argument
580 Message msg = obtainMessage(MSG_HAL_ERROR, errorCode, property, operation);
625 public void onHalError(int errorCode, int property, int operation) { argument
628 vehicleNetwork.mEventHandler.notifyHalError(errorCode, property, operation);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DTokenMgrError.java49 int errorCode; field in class:TokenMgrError
142 errorCode = reason;
/packages/apps/Settings/src/com/android/settings/
H A DChooseLockPassword.java573 int errorCode = NO_ERROR;
577 errorCode |= TOO_SHORT;
580 errorCode |= TOO_LONG;
587 errorCode |= CONTAIN_SEQUENTIAL_DIGITS;
592 errorCode |= RECENTLY_USED;
607 errorCode |= CONTAIN_INVALID_CHARACTERS;
630 errorCode |= CONTAIN_NON_DIGITS;
640 errorCode |= NOT_ENOUGH_LETTER;
645 errorCode |= NOT_ENOUGH_UPPER_CASE;
650 errorCode |
733 convertErrorCodeToMessages(int errorCode) argument
[all...]
/packages/services/Car/libvehiclenetwork/include/
H A DIVehicleNetworkListener.h48 * @param errorCode
52 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) = 0;
H A DVehicleNetwork.h47 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) = 0;
66 void handleHalError(int32_t errorCode, int32_t property, int32_t operation);
130 status_t injectHalError(int32_t errorCode, int32_t property, int32_t operation);
139 void onHalError(int32_t errorCode, int32_t property, int32_t operation);
H A DIVehicleNetwork.h61 virtual status_t injectHalError(int32_t errorCode, int32_t property, int32_t operation) = 0;
/packages/services/Car/libvehiclenetwork/native/
H A DIVehicleNetworkListener.cpp66 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) { argument
69 data.writeInt32(errorCode);
124 int32_t errorCode = data.readInt32(); local
127 onHalError(errorCode, property, operation);
H A DVehicleNetwork.cpp51 void VehicleNetworkEventMessageHandler::handleHalError(int32_t errorCode, int32_t property, argument
54 VehicleHalError* error = new VehicleHalError(errorCode, property, operation);
95 mListener->onHalError(error->errorCode, error->property, error->operation);
320 void VehicleNetwork::onHalError(int32_t errorCode, int32_t property, int32_t operation) { argument
321 getEventHandler()->handleHalError(errorCode, property, operation);
/packages/services/Car/tests/libvehiclenetwork-native-test/
H A DIVehicleNetworkTestListener.h49 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) { argument
51 mErrorCode = errorCode;
102 bool isErrorMatching(int32_t errorCode, int32_t property, int32_t operation) { argument
104 return mErrorCode == errorCode && mProperty == property && mOperation == operation;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DPackageInstallerImpl.java94 void installFailed(int errorCode, String errorDesc); argument
303 int errorCode = getPackageManagerErrorCode(status);
304 Log.e(TAG, "Error " + errorCode + " while installing " + packageName + ": "
306 callback.installFailed(errorCode, null);
316 int errorCode;
318 errorCode = InstallerConstants.ERROR_INSTALL_MALFORMED_BROADCAST;
320 errorCode = InstallerConstants.ERROR_PACKAGEINSTALLER_BASE - status;
322 return errorCode;
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
H A DVvm3EventHandler.java232 private static void postError(VoicemailStatus.Editor editor, @ErrorCode int errorCode) { argument
233 switch (errorCode) {
254 editor.setConfigurationState(errorCode);
262 editor.setDataChannelState(errorCode);
265 editor.setNotificationChannelState(errorCode);
268 Log.wtf(TAG, "unknown error code: " + errorCode);
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DSmsSender.java141 final int errorCode, final int partId, int subId) {
145 + " resultCode=" + resultCode + " errorCode=" + errorCode);
146 if (errorCode != SendStatusReceiver.NO_ERROR_CODE) {
148 UiUtils.showToastAtBottom(getSendErrorToastMessage(context, subId, errorCode));
173 final int errorCode) {
176 return context.getString(R.string.carrier_send_error_unknown_carrier, errorCode);
178 return context.getString(R.string.carrier_send_error, carrierName, errorCode);
140 setResult(final Uri requestId, final int resultCode, final int errorCode, final int partId, int subId) argument
172 getSendErrorToastMessage(final Context context, final int subId, final int errorCode) argument
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppInfoBase.java173 protected abstract AlertDialog createDialog(int id, int errorCode); argument
237 int errorCode = getArguments().getInt("moveError");
238 Dialog dialog = ((AppInfoBase) getTargetFragment()).createDialog(id, errorCode);
245 public static MyAlertDialogFragment newInstance(int id, int errorCode) { argument
249 args.putInt("moveError", errorCode);
/packages/services/Telephony/src/com/android/phone/
H A DHfaLogic.java174 onHfaError(intent.getStringExtra("errorCode"));
192 private void sendFinalResponse(int responseCode, String errorCode) { argument
197 if (responseCode == OTASP_FAILURE && errorCode != null) {
198 extraStuff.putExtra(OtaUtils.EXTRA_OTASP_ERROR_CODE, errorCode);
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include/
H A DVehicleNetworkAudioHelper.h62 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DDeviceOwnerProvisioningService.java190 public void onError(int errorCode) {
191 switch(errorCode) {
228 public void onError(int errorCode) {
229 switch(errorCode) {

Completed in 729 milliseconds

123