1 /*
2  * Copyright (c) 2023-2024 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_DMS_CONSTANT_H
17 #define OHOS_DMS_CONSTANT_H
18 
19 namespace OHOS {
20 namespace DistributedSchedule {
21 namespace Constants {
22 constexpr const char* DMS_NAME = "dmsfwk";
23 constexpr const char* DMS_VERSION = "5.0.0";
24 constexpr const char* DMS_SERVICE_ID = "dmsfwk_svr_id";
25 constexpr const char* DMS_CHAR_ID = "static_capability";
26 constexpr const char* PACKAGE_NAMES = "packageNames";
27 constexpr const char* VERSIONS = "versions";
28 constexpr const char* DMS_SERVICE_TYPE = "appInfo";
29 
30 const std::string EXTRO_INFO_JSON_KEY_ACCOUNT_ID = "accountId";
31 const std::string EXTRO_INFO_JSON_KEY_USERID_ID = "userId";
32 const std::string EXTRO_INFO_JSON_KEY_CALLER_INFO_EX = "callerInfo_ExtraInfoJson";
33 } // Constants
34 } // DistributedSchedule
35 } // OHOS
36 #endif // OHOS_DMS_CONSTANT_H
37