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 };
36 
37 constexpr size_t LBS_REQUEST_MAX_SIZE = 20;
38 } // namespace Location
39 } // namespace OHOS
40 #endif