2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @file ss_error_event_common_local.h
19 * @brief This file supports SM logging.
22 /** @addtogroup BaseSystem
25 /** @addtogroup system_service
29 /** @addtogroup interface_unified
30 * @ingroup system_service
34 #ifndef __SS_ERROR_EVENT_COMMON_LOCAL_H__ // NOLINT (build/header_guard)
35 #define __SS_ERROR_EVENT_COMMON_LOCAL_H__
37 #define SS_ERROR_EVENT_START_REQ_TO_SEC (5)
38 #define SS_ERROR_EVENT_DEBUG_DUMP_RSPN_TO_SEC (1)
39 #define SS_ERROR_EVENT_BOOT_MICRO_LOG_RESPONSE_TO_SEC (2)
40 #define SS_ERROR_EVENT_CORE_FILE_POLL_TO_MS (100)
42 // Do not change enumeration order.
43 // HMI hard codes error event square
44 // colors based on expected enum order.
45 enum EErrorEventPrio { /* Higher number = higher priority. */
46 eErrorEventPrioDiagLogRequest = 8,
47 eErrorEventPrioUserInvokedCollectAllLogs = 7,
48 eErrorEventPrioUserInvokedCollectScreenShot = 6,
49 eErrorEventPrioUserInvokedCollectInterfaceunifiedLogs = 5,
50 eErrorEventPrioModuleInvokedCollectDebugLogs = 4,
51 eErrorEventPrioUserInvokedUserForceReset = 3,
52 eErrorEventPrioEelStorageFilePresent = 2,
53 eErrorEventPrioEmmcLogsFilePresent = 1,
54 eErrorEventPrioDefault = 0
58 #endif /* __SS_ERROR_EVENT_COMMON_LOCAL_H__ */ // NOLINT (build/header_guard)