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.java35 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
189 private void verifyAdminErrorMessageReceive(ErrorType errorType, TerminationReason reason) { in verifyAdminErrorMessageReceive()
200 ErrorType.DATA_PACKET_LENGTH_OVERFLOW, in testOnMessageReceived_receiveAdminErrorPacket()
203 ErrorType.MESSAGE_LENGTH_OVERFLOW, TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
205 ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS, in testOnMessageReceived_receiveAdminErrorPacket()
208 ErrorType.SECID_INVALID, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
210 ErrorType.SECID_INVALID_FOR_RESPONSE, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
212 ErrorType.SECID_BUSY, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
214 ErrorType.SECID_PROTOCOL_ERROR, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
216 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.kt89 lateinit var showError: MutableState<ErrorType> in <lambda>()
197 showError = rememberSaveable { mutableStateOf(ErrorType.ERROR_NONE) } in <lambda>()
214 if (showError.value != ErrorType.ERROR_NONE in <lambda>()
371 ErrorType.ERROR_EUICC_SLOT -> errorDialogPresenterForEuiccSlotSidecar.open() in <lambda>()
372 ErrorType.ERROR_REMOVABLE_SLOT -> errorDialogPresenterForRemovableSlotSidecar.open() in <lambda>()
373 ErrorType.ERROR_ENABLE_DSDS -> errorDialogPresenterForMultiSimSidecar.open() in <lambda>()
458 showError.value = ErrorType.ERROR_EUICC_SLOT in <lambda>()
478 showError.value = ErrorType.ERROR_REMOVABLE_SLOT in <lambda>()
498 showError.value = ErrorType.ERROR_ENABLE_DSDS in <lambda>()
603 enum class ErrorType(val value:Int){ in <lambda>() class
/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/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/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.java192 "ErrorType": "*",
198 "ErrorType": "GENERIC_ERROR_TYPE",
203 "ErrorType": "IKE_PROTOCOL_ERROR_TYPE",
209 "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/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.java56 import com.android.server.uwb.discovery.info.AdminErrorMessage.ErrorType;
751 new AdminErrorMessage(ErrorType.SECID_INVALID).toBytes()) in testOutCharactersticNotifyAndRead_receiveAdminPacket()
783 new AdminErrorMessage(ErrorType.DATA_PACKET_LENGTH_OVERFLOW).toBytes()); in testOutCharactersticNotifyAndRead_packetLengthOverflow()
825 ErrorType.TOO_MANY_CONCURRENT_FRAGMENTED_MESSAGE_SESSIONS) in testOutCharactersticNotifyAndRead_tooManyConcurrentSessions()
873 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()
Dtyping_weighting.h213 ErrorTypeUtils::ErrorType getErrorType(const CorrectionType correctionType,
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataBrokerImpl.java178 TelemetryError.ErrorType.PUBLISHER_FAILED, "Publisher failed", stackTrace);
592 @NonNull TelemetryError.ErrorType errorType, in buildTelemetryError()
663 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/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DIoUtilsTest.java94 .setErrorType(TelemetryProto.TelemetryError.ErrorType.LUA_SCRIPT_ERROR) in testWriteProto_telemetryError()
/packages/services/Car/car-lib/src/android/car/telemetry/
Dtelemetry.proto218 enum ErrorType { enum
239 optional ErrorType error_type = 1;

12