• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 FOUNDATION_RESOURCESCHEDULE_BACKGROUND_TASK_MGR_FRAMEWORKS_INCLUDE_IBACKGROUND_TASK_MGR_IPC_CODE_H
17 #define FOUNDATION_RESOURCESCHEDULE_BACKGROUND_TASK_MGR_FRAMEWORKS_INCLUDE_IBACKGROUND_TASK_MGR_IPC_CODE_H
18 
19 /* SAID: 1903 */
20 namespace OHOS {
21 namespace BackgroundTaskMgr {
22     enum class BackgroundTaskMgrStubInterfaceCode {
23         REQUEST_SUSPEND_DELAY = MIN_TRANSACTION_ID,
24         CANCEL_SUSPEND_DELAY,
25         GET_REMAINING_DELAY_TIME,
26         START_BACKGROUND_RUNNING,
27         STOP_BACKGROUND_RUNNING,
28         SUBSCRIBE_BACKGROUND_TASK,
29         UNSUBSCRIBE_BACKGROUND_TASK,
30         GET_TRANSIENT_TASK_APPS,
31         GET_CONTINUOUS_TASK_APPS,
32         APPLY_EFFICIENCY_RESOURCES,
33         RESET_ALL_EFFICIENCY_RESOURCES,
34         GET_EFFICIENCY_RESOURCES_INFOS,
35         STOP_CONTINUOUS_TASK,
36         REQUEST_BACKGROUND_RUNNING_FOR_INNER,
37     };
38 }  // namespace BackgroundTaskMgr
39 }  // namespace OHOS
40 #endif // FOUNDATION_RESOURCESCHEDULE_BACKGROUND_TASK_MGR_FRAMEWORKS_INCLUDE_IBACKGROUND_TASK_MGR_IPC_CODE_H