Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 31) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Derror_type_utils.h30 typedef uint32_t ErrorType; typedef
32 static const ErrorType NOT_AN_ERROR;
33 static const ErrorType MATCH_WITH_WRONG_CASE;
34 static const ErrorType MATCH_WITH_MISSING_ACCENT;
35 static const ErrorType MATCH_WITH_MISSING_EXPLICIT_ACCENT;
36 static const ErrorType MATCH_WITH_WRONG_ACCENT;
37 static const ErrorType MATCH_WITH_DIGRAPH;
40 static const ErrorType INTENTIONAL_OMISSION;
42 static const ErrorType EDIT_CORRECTION;
44 static const ErrorType PROXIMITY_CORRECTION;
[all …]
Derror_type_utils.cpp21 const ErrorTypeUtils::ErrorType ErrorTypeUtils::NOT_AN_ERROR = 0x0;
22 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_WRONG_CASE = 0x1;
23 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_MISSING_ACCENT = 0x2;
24 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_MISSING_EXPLICIT_ACCENT = 0x4;
25 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_WRONG_ACCENT = 0x8;
26 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_DIGRAPH = 0x10;
27 const ErrorTypeUtils::ErrorType ErrorTypeUtils::INTENTIONAL_OMISSION = 0x20;
28 const ErrorTypeUtils::ErrorType ErrorTypeUtils::EDIT_CORRECTION = 0x40;
29 const ErrorTypeUtils::ErrorType ErrorTypeUtils::PROXIMITY_CORRECTION = 0x80;
30 const ErrorTypeUtils::ErrorType ErrorTypeUtils::COMPLETION = 0x100;
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DAdminErrorMessage.java38 public enum ErrorType { enum in AdminErrorMessage
117 ErrorType(int value) { in ErrorType() method in AdminErrorMessage.ErrorType
122 for (ErrorType type : ErrorType.values()) {
134 public static ErrorType valueOf(int value) { in valueOf()
135 return (ErrorType) sMap.get(value); in valueOf()
143 @NonNull public final ErrorType errorType;
169 public AdminErrorMessage(@NonNull ErrorType errorType) { in AdminErrorMessage()
189 private static byte[] generatePayload(@NonNull ErrorType errorType) { in generatePayload()
197 private static ErrorType extractErrorType(@NonNull byte[] payload) { in extractErrorType()
202 ErrorType errorType = in extractErrorType()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/
DAdminErrorMessageTest.java26 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
49 new AdminErrorMessage(ErrorType.DATA_PACKET_LENGTH_OVERFLOW);
122 private void testConstructwithBytes(ErrorType errorType, byte lastErrorByte) { in testConstructwithBytes()
137 testConstructwithBytes(ErrorType.DATA_PACKET_LENGTH_OVERFLOW, (byte) 0x01); in testConstructor()
138 testConstructwithBytes(ErrorType.MESSAGE_LENGTH_OVERFLOW, (byte) 0x02); in testConstructor()
140 ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS, (byte) 0x03); in testConstructor()
141 testConstructwithBytes(ErrorType.SECID_INVALID, (byte) 0x04); in testConstructor()
142 testConstructwithBytes(ErrorType.SECID_INVALID_FOR_RESPONSE, (byte) 0x05); in testConstructor()
143 testConstructwithBytes(ErrorType.SECID_BUSY, (byte) 0x06); in testConstructor()
144 testConstructwithBytes(ErrorType.SECID_PROTOCOL_ERROR, (byte) 0x07); in testConstructor()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java34 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
188 private void verifyAdminErrorMessageReceive(ErrorType errorType, TerminationReason reason) { in verifyAdminErrorMessageReceive()
199 ErrorType.DATA_PACKET_LENGTH_OVERFLOW, in testOnMessageReceived_receiveAdminErrorPacket()
202 ErrorType.MESSAGE_LENGTH_OVERFLOW, TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
204 ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS, in testOnMessageReceived_receiveAdminErrorPacket()
207 ErrorType.SECID_INVALID, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
209 ErrorType.SECID_INVALID_FOR_RESPONSE, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
211 ErrorType.SECID_BUSY, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
213 ErrorType.SECID_PROTOCOL_ERROR, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
215 ErrorType.SECID_INTERNAL_ERROR, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java58 public @interface ErrorType {} annotation in IkeProtocolException
101 @ErrorType private final int mErrorType;
105 protected IkeProtocolException(@ErrorType int code) { in IkeProtocolException()
112 protected IkeProtocolException(@ErrorType int code, String message) { in IkeProtocolException()
119 protected IkeProtocolException(@ErrorType int code, Throwable cause) { in IkeProtocolException()
126 protected IkeProtocolException(@ErrorType int code, String message, Throwable cause) { in IkeProtocolException()
137 protected IkeProtocolException(@ErrorType int code, byte[] notifyData) { in IkeProtocolException()
193 @ErrorType
/packages/apps/Settings/src/com/android/settings/network/
DSimOnboardingActivity.kt93 lateinit var showError: MutableState<ErrorType>
208 showError = rememberSaveable { mutableStateOf(ErrorType.ERROR_NONE) } in Content()
225 if (showError.value != ErrorType.ERROR_NONE in Content()
370 ErrorType.ERROR_SIM_SWITCHING -> errorDialogPresenterForSimSwitching.open() in ErrorDialogImpl()
371 ErrorType.ERROR_ENABLE_DSDS -> errorDialogPresenterForMultiSimSidecar.open() in ErrorDialogImpl()
456 showError.value = ErrorType.ERROR_SIM_SWITCHING in handleSwitchToEuiccSubscriptionSidecarStateChange()
476 showError.value = ErrorType.ERROR_SIM_SWITCHING in handleSwitchToRemovableSlotSidecarStateChange()
497 showError.value = ErrorType.ERROR_ENABLE_DSDS in handleEnableMultiSimSidecarStateChange()
603 enum class ErrorType(val value:Int){ class
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_scoring.h73 const ErrorTypeUtils::ErrorType errorType) { in addCost()
184 ErrorTypeUtils::ErrorType getContainedErrorTypes() const { in getContainedErrorTypes()
203 ErrorTypeUtils::ErrorType mContainedErrorTypes;
/packages/services/Car/packages/ScriptExecutor/src/
DScriptExecutorListener.h32 enum ErrorType { enum
72 void onError(const ErrorType errorType, const char* message, const char* stackTrace);
DScriptExecutorListener.cpp57 void ScriptExecutorListener::onError(const ErrorType errorType, const char* message, in onError()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransportProvider.java24 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
210 sentAdminErrorMessage(ErrorType.SECID_INVALID); in onMessageReceived()
224 protected void sentAdminErrorMessage(ErrorType errorType) { in sentAdminErrorMessage()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanCarrierConfig.java230 "ErrorType": "*",
236 "ErrorType": "GENERIC_ERROR_TYPE",
241 "ErrorType": "IKE_PROTOCOL_ERROR_TYPE",
247 "ErrorType": "IKE_PROTOCOL_ERROR_TYPE",
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportClientProvider.java37 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
435 super.sentAdminErrorMessage(ErrorType.DATA_PACKET_LENGTH_OVERFLOW); in processOutDataPacket()
452 super.sentAdminErrorMessage(ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS); in processOutDataPacket()
468 super.sentAdminErrorMessage(ErrorType.MESSAGE_LENGTH_OVERFLOW); in processOutDataPacket()
/packages/modules/Nfc/libnfc-nci/src/include/
Dmetrics.h21 enum ErrorType { UNKNOWN, NCI_TIMEOUT, ERROR_NTF, AID_OVERFLOW }; enum
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dscoring.h32 const ErrorTypeUtils::ErrorType containedErrorTypes, const bool forceCommit,
Dweighting.h88 virtual ErrorTypeUtils::ErrorType getErrorType(const CorrectionType correctionType,
Dweighting.cpp86 const ErrorTypeUtils::ErrorType errorType = weighting->getErrorType(correctionType, in addCostAndForwardInputIndex()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportClientProviderTest.java55 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
750 new AdminErrorMessage(ErrorType.SECID_INVALID).toBytes()) in testOutCharactersticNotifyAndRead_receiveAdminPacket()
782 new AdminErrorMessage(ErrorType.DATA_PACKET_LENGTH_OVERFLOW).toBytes()); in testOutCharactersticNotifyAndRead_packetLengthOverflow()
824 ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS) in testOutCharactersticNotifyAndRead_tooManyConcurrentSessions()
872 new AdminErrorMessage(ErrorType.MESSAGE_LENGTH_OVERFLOW).toBytes()); in testOutCharactersticNotifyAndRead_messageLengthOverflow()
DGattTransportServerProviderTest.java54 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
644 new AdminErrorMessage(ErrorType.SECID_INVALID).toBytes()) in testInCharactersticWrite_secidMismatch()
654 new AdminErrorMessage(ErrorType.SECID_INVALID).toBytes()) in testInCharactersticWrite_adminErrorMessage()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_scoring.h46 const ErrorTypeUtils::ErrorType containedErrorTypes, const bool forceCommit, in calculateFinalScore()
Dtyping_weighting.cpp27 ErrorTypeUtils::ErrorType TypingWeighting::getErrorType(const CorrectionType correctionType, in getErrorType()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataBrokerImpl.java178 TelemetryError.ErrorType.PUBLISHER_FAILED, "Publisher failed", stackTrace);
596 @NonNull TelemetryError.ErrorType errorType, in buildTelemetryError()
667 TelemetryError.ErrorType.forNumber(errorType), in onScriptError()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h393 ErrorTypeUtils::ErrorType getContainedErrorTypes() const { in getContainedErrorTypes()
465 const ErrorTypeUtils::ErrorType errorType) { in addCost()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/compat/widget/
DSliceLiveData.java445 @interface ErrorType {} annotation
448 void onSliceError(@ErrorType int type, @Nullable Throwable source); in onSliceError()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DIoUtilsTest.java94 .setErrorType(TelemetryProto.TelemetryError.ErrorType.LUA_SCRIPT_ERROR) in testWriteProto_telemetryError()

12