1686862fbSopenharmony_ci/* 2686862fbSopenharmony_ci * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 3686862fbSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4686862fbSopenharmony_ci * you may not use this file except in compliance with the License. 5686862fbSopenharmony_ci * You may obtain a copy of the License at 6686862fbSopenharmony_ci * 7686862fbSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8686862fbSopenharmony_ci * 9686862fbSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10686862fbSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11686862fbSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12686862fbSopenharmony_ci * See the License for the specific language governing permissions and 13686862fbSopenharmony_ci * limitations under the License. 14686862fbSopenharmony_ci */ 15686862fbSopenharmony_ci 16686862fbSopenharmony_ci#ifndef OHOS_DMS_CONSTANT_H 17686862fbSopenharmony_ci#define OHOS_DMS_CONSTANT_H 18686862fbSopenharmony_ci 19686862fbSopenharmony_cinamespace OHOS { 20686862fbSopenharmony_cinamespace DistributedSchedule { 21686862fbSopenharmony_cinamespace Constants { 22686862fbSopenharmony_ciconstexpr int32_t OH_OS_TYPE = 10; 23686862fbSopenharmony_ciconstexpr int32_t HO_OS_TYPE = 11; 24686862fbSopenharmony_ciconstexpr int32_t HO_OS_TYPE_EX = -1; 25686862fbSopenharmony_ci 26686862fbSopenharmony_ciconstexpr const char* PARAM_KEY_OS_TYPE = "OS_TYPE"; 27686862fbSopenharmony_ciconstexpr const char* PARAM_KEY_OS_VERSION = "OS_VERSION"; 28686862fbSopenharmony_ciconstexpr const char* DMS_NAME = "dmsfwk"; 29686862fbSopenharmony_ciconstexpr const char* DMS_VERSION = "5.0.0"; 30686862fbSopenharmony_ciconstexpr const char* DMS_SERVICE_ID = "dmsfwk_svr_id"; 31686862fbSopenharmony_ciconstexpr const char* DMS_CHAR_ID = "static_capability"; 32686862fbSopenharmony_ciconstexpr const char* PACKAGE_NAMES = "packageNames"; 33686862fbSopenharmony_ciconstexpr const char* VERSIONS = "versions"; 34686862fbSopenharmony_ciconstexpr const char* DMS_SERVICE_TYPE = "appInfo"; 35686862fbSopenharmony_ci 36686862fbSopenharmony_ciconst std::string EXTRO_INFO_JSON_KEY_ACCOUNT_ID = "accountId"; 37686862fbSopenharmony_ciconst std::string EXTRO_INFO_JSON_KEY_USERID_ID = "userId"; 38686862fbSopenharmony_ciconst std::string EXTRO_INFO_JSON_KEY_CALLER_INFO_EX = "callerInfo_ExtraInfoJson"; 39686862fbSopenharmony_ci} // Constants 40686862fbSopenharmony_ci} // DistributedSchedule 41686862fbSopenharmony_ci} // OHOS 42686862fbSopenharmony_ci#endif // OHOS_DMS_CONSTANT_H 43