/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef FIELD_CONST_H #define FIELD_CONST_H #include namespace OHOS { namespace Security { namespace Permission { const std::string FIELD_PERMISSION_NAME = "permission_name"; const std::string FIELD_BUNDLE_NAME = "bundle_name"; const std::string FIELD_GRANT_MODE = "grant_mode"; const std::string FIELD_AVAILABLE_SCOPE = "available_scope"; const std::string FIELD_LABEL = "label"; const std::string FIELD_LABEL_ID = "label_id"; const std::string FIELD_DESCRIPTION = "description"; const std::string FIELD_DESCRIPTION_ID = "description_id"; const std::string FIELD_USER_ID = "user_id"; const std::string FIELD_GRANTED = "granted"; const std::string FIELD_FLAGS = "flags"; } // namespace Permission } // namespace Security } // namespace OHOS #endif // FIELD_CONST_H