/* * Copyright (c) 2022 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. */ #include "privacy_field_const.h" namespace OHOS { namespace Security { namespace AccessToken { const std::string PrivacyFiledConst::FIELD_TOKEN_ID = "token_id"; const std::string PrivacyFiledConst::FIELD_DEVICE_ID = "device_id"; const std::string PrivacyFiledConst::FIELD_OP_CODE = "op_code"; const std::string PrivacyFiledConst::FIELD_STATUS = "status"; const std::string PrivacyFiledConst::FIELD_TIMESTAMP = "timestamp"; const std::string PrivacyFiledConst::FIELD_ACCESS_DURATION = "access_duration"; const std::string PrivacyFiledConst::FIELD_ACCESS_COUNT = "access_count"; const std::string PrivacyFiledConst::FIELD_REJECT_COUNT = "reject_count"; const std::string PrivacyFiledConst::FIELD_TIMESTAMP_BEGIN = "timestamp_begin"; const std::string PrivacyFiledConst::FIELD_TIMESTAMP_END = "timestamp_end"; const std::string PrivacyFiledConst::FIELD_FLAG = "flag"; const std::string PrivacyFiledConst::FIELD_LOCKSCREEN_STATUS = "lockScreenStatus"; const std::string PrivacyFiledConst::FIELD_PERMISSION_CODE = "permission_code"; const std::string PrivacyFiledConst::FIELD_USED_TYPE = "used_type"; } // namespace AccessToken } // namespace Security } // namespace OHOS