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 BUNDLE_ACTIVE_SERVICE_IPC_INTERFACE_CODE_H
17 #define BUNDLE_ACTIVE_SERVICE_IPC_INTERFACE_CODE_H
18 
19  /* SAID: 1907 */
20 namespace OHOS {
21 namespace DeviceUsageStats {
22     enum class IBundleActiveServiceInterfaceCode {
23         REPORT_EVENT = 1,
24         IS_BUNDLE_IDLE = 2,
25         QUERY_BUNDLE_STATS_INFO_BY_INTERVAL = 3,
26         QUERY_BUNDLE_EVENTS = 4,
27         QUERY_BUNDLE_STATS_INFOS = 5,
28         QUERY_CURRENT_BUNDLE_EVENTS = 6,
29         QUERY_APP_GROUP = 7,
30         SET_APP_GROUP = 8,
31         QUERY_MODULE_USAGE_RECORDS = 9,
32         REGISTER_APP_GROUP_CALLBACK = 10,
33         UNREGISTER_APP_GROUP_CALLBACK = 11,
34         QUERY_DEVICE_EVENT_STATES = 12,
35         QUERY_NOTIFICATION_NUMBER = 13,
36         IS_BUNDLE_USE_PERIOD = 14
37     };
38 }  // namespace BackgroundTaskMgr
39 }  // namespace OHOS
40 #endif  // BUNDLE_ACTIVE_SERVICE_IPC_INTERFACE_CODE_H