1 /* 2 * Copyright (C) 2022 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 const std::string SYSTEM_UI_ABILITY_NAME = "com.ohos.systemui.ServiceExtAbility"; 32 33 const std::string SYSTEM_DIALOG_REQUEST_PERMISSIONS = "OHOS_RESULT_PERMISSIONS_LIST_YES"; 34 const std::string SYSTEM_DIALOG_CALLER_BUNDLENAME = "OHOS_RESULT_CALLER_BUNDLERNAME"; 35 const std::string SYSTEM_DIALOG_KEY = "OHOS_RESULT_PERMISSION_KEY"; 36 37 const std::string DEVICE_MANAGER_BUNDLE_NAME = "com.ohos.devicemanagerui"; 38 const std::string DEVICE_MANAGER_NAME = "com.ohos.devicemanagerui.MainAbility"; 39 40 const std::string EVENT_SYSTEM_WINDOW_MODE_CHANGED = "common.event.SYSTEM_WINDOW_MODE_CHANGED"; 41 const int EVENT_CODE_SYSTEM_WINDOW_MODE_CHANGED = 1; 42 43 const std::string MISSION_NAME_MARK_HEAD = "#"; 44 const std::string MISSION_NAME_SEPARATOR = ":"; 45 46 const std::string FLOATING_WINDOW_PERMISSION = "ohos.permission.SYSTEM_FLOAT_WINDOW"; 47 48 const std::string LAUNCHER_ABILITY_NAME = "com.ohos.launcher.MainAbility"; 49 const std::string LAUNCHER_BUNDLE_NAME = "com.ohos.launcher"; 50 51 const std::string SETTINGS_DATA_ABILITY_NAME = "com.ohos.settingsdata.data"; 52 const std::string SETTINGS_DATA_BUNDLE_NAME = "com.ohos.settingsdata"; 53 54 const std::string PHONE_SERVICE_BUNDLE_NAME = "com.ohos.callui"; 55 const std::string PHONE_SERVICE_ABILITY_NAME = "com.ohos.callui.ServiceAbility"; 56 const std::string LOCK_SCREEN_EVENT_NAME = "lock_screen"; 57 58 const std::string CONTACTS_ABILITY_NAME = "com.ohos.contacts.ServiceAbility"; 59 const std::string CONTACTS_BUNDLE_NAME = "com.ohos.contacts"; 60 61 const std::string MMS_ABILITY_NAME = "com.ohos.mms.ServiceAbility"; 62 const std::string MMS_BUNDLE_NAME = "com.ohos.mms"; 63 64 const std::string SCREEN_LOCK_ABILITY_NAME = "com.ohos.screenlock.ServiceExtAbility"; 65 const std::string SCREEN_LOCK_BUNDLE_NAME = "com.ohos.screenlock"; 66 } // namespace AbilityConfig 67 } // namespace AAFwk 68 } // namespace OHOS 69 70 #endif // OHOS_AAFWK_ABILITY_CONFIG_H 71