1 /*
2  * Copyright (c) 2021-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_ABILITY_BASE_GLOBAL_CONFIGURATION_KEY_H
17 #define OHOS_ABILITY_BASE_GLOBAL_CONFIGURATION_KEY_H
18 
19 #include <string>
20 
21 namespace OHOS {
22 namespace AAFwk {
23 namespace GlobalConfigurationKey {
24     /* For the time being, there is no uniform standard */
25     /* Must be synchronized with the keystore(SystemConfigurationKeyStore)in the configuration */
26     constexpr const char* SYSTEM_LANGUAGE = "ohos.system.language";
27     constexpr const char* IS_PREFERRED_LANGUAGE = "ohos.system.isPreferredLanguage";
28     constexpr const char* SYSTEM_HOUR = "ohos.system.hour";
29     constexpr const char* SYSTEM_COLORMODE = "ohos.system.colorMode";
30     constexpr const char* INPUT_POINTER_DEVICE = "input.pointer.device";
31     constexpr const char* DEVICE_TYPE = "const.build.characteristics";
32     constexpr const char* COLORMODE_IS_SET_BY_APP = "ohos.system.colorMode.isSetByApp";
33     constexpr const char* COLORMODE_IS_SET_BY_SA = "ohos.system.colorMode.isSetBySa";
34     constexpr const char* THEME = "ohos.application.theme";
35     constexpr const char* THEME_ID = "ohos.application.themeId";
36     constexpr const char* SYSTEM_FONT_ID = "ohos.system.fontId";
37     constexpr const char* SYSTEM_FONT_SIZE_SCALE = "ohos.system.fontSizeScale";
38     constexpr const char* SYSTEM_FONT_WEIGHT_SCALE = "ohos.system.fontWeightScale";
39     constexpr const char* SYSTEM_MCC = "ohos.system.mcc";
40     constexpr const char* SYSTEM_MNC = "ohos.system.mnc";
41     constexpr const char* APPLICATION_FONT = "ohos.application.font";
42     constexpr const char* APP_FONT_SIZE_SCALE = "ohos.app.fontSizeScale";
43     constexpr const char* APP_FONT_MAX_SCALE = "ohos.app.fontMaxScale";
44 
45 } // namespace GlobalConfigurationKey
46 } // namespace AAFwk
47 } // namespace OHOS
48 #endif // OHOS_ABILITY_BASE_GLOBAL_CONFIGURATION_KEY_H