1 /* 2 * Copyright (C) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef LOCATION_LOG_EVENT_IDS_H 17 #define LOCATION_LOG_EVENT_IDS_H 18 namespace OHOS { 19 namespace Location { 20 enum { 21 ADD_REQUEST = 0, 22 REMOVE_REQUEST, 23 RECEIVE_GNSS_LOCATION, 24 RECEIVE_SATELLITESTATUSINFO, 25 START_GNSS, 26 STOP_GNSS, 27 RECEIVE_NETWORK_LOCATION, 28 NLP_SERVICE_TIMEOUT, 29 NETWORK_CALLBACK_LOCATION, 30 LOCATION_REQUEST_DENY, 31 HDI_EVENT, 32 LBS_REQUEST_TOO_MUCH, 33 GEOCODE_REQUEST, 34 SA_LOAD, 35 ANCO_NETWORK_LOCATION_START, 36 ANCO_GNSS_REQUEST_START, 37 ANCO_NETWORK_LOCATION_STOP, 38 ANCO_GNSS_REQUEST_STOP, 39 ANCO_RECEIVE_GNSS_LOCATION, 40 ANCO_RECEIVE_NETWORK_LOCATION, 41 ANCO_GEO_CODE, 42 LBS_REQUEST_FAIL_DETAIL, 43 LBS_USER_DATA_SIZE, 44 CANCEL_CARD, 45 LEAVE_CAR, 46 CAR_FEATURE_LEARNING_RESULT, 47 POP_UP_CARD, 48 CAR_FEATURE_LEARNING_FAILED, 49 CAR_MAC_MATCH_FAILED, 50 POP_CARD_FAILED, 51 CANCEL_CARD_FAILED, 52 REPORT_ON_CAR_TWICE, 53 IDENTIFY_LEAVE_CAR_FAILED, 54 GET_ON_CAR 55 }; 56 57 constexpr size_t LBS_REQUEST_MAX_SIZE = 20; 58 } // namespace Location 59 } // namespace OHOS 60 #endif