• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 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 OHOS_AAFWK_ABILITY_CONFIG_H
17 #define OHOS_AAFWK_ABILITY_CONFIG_H
18 
19 #include <string>
20 
21 namespace OHOS {
22 namespace AAFwk {
23 namespace AbilityConfig {
24 const std::string NAME_ABILITY_MGR_SERVICE = "AbilityManagerService";
25 const std::string NAME_BUNDLE_MGR_SERVICE = "BundleMgrService";
26 const std::string SCHEME_DATA_ABILITY = "dataability";
27 const std::string SYSTEM_UI_BUNDLE_NAME = "com.ohos.systemui";
28 const std::string SYSTEM_UI_STATUS_BAR = "com.ohos.systemui.statusbar.MainAbility";
29 const std::string SYSTEM_UI_NAVIGATION_BAR = "com.ohos.systemui.navigationbar.MainAbility";
30 const std::string SYSTEM_DIALOG_NAME = "com.ohos.systemui.systemdialog.MainAbility";
31 
32 const std::string SYSTEM_DIALOG_REQUEST_PERMISSIONS = "OHOS_RESULT_PERMISSIONS_LIST_YES";
33 const std::string SYSTEM_DIALOG_CALLER_BUNDLENAME = "OHOS_RESULT_CALLER_BUNDLERNAME";
34 const std::string SYSTEM_DIALOG_KEY = "OHOS_RESULT_PERMISSION_KEY";
35 
36 const std::string DEVICE_MANAGER_BUNDLE_NAME = "com.ohos.devicemanagerui";
37 const std::string DEVICE_MANAGER_NAME = "com.ohos.devicemanagerui.MainAbility";
38 
39 const std::string EVENT_SYSTEM_WINDOW_MODE_CHANGED = "common.event.SYSTEM_WINDOW_MODE_CHANGED";
40 const int EVENT_CODE_SYSTEM_WINDOW_MODE_CHANGED = 1;
41 
42 const std::string MISSION_NAME_MARK_HEAD = "#";
43 const std::string MISSION_NAME_SEPARATOR = ":";
44 
45 const std::string FLOATING_WINDOW_PERMISSION = "ohos.permission.SYSTEM_FLOAT_WINDOW";
46 
47 const std::string LAUNCHER_ABILITY_NAME = "com.ohos.launcher.MainAbility";
48 const std::string LAUNCHER_BUNDLE_NAME = "com.ohos.launcher";
49 }  // namespace AbilityConfig
50 }  // namespace AAFwk
51 }  // namespace OHOS
52 
53 #endif  // OHOS_AAFWK_ABILITY_CONFIG_H
54