Home
last modified time | relevance | path

Searched refs:inPermissionDef (Results 1 – 4 of 4) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Ddata_translator.cpp33 int DataTranslator::TranslationIntoGenericValues(const PermissionDef& inPermissionDef, GenericValue… in TranslationIntoGenericValues() argument
35 outGenericValues.Put(TokenFiledConst::FIELD_PERMISSION_NAME, inPermissionDef.permissionName); in TranslationIntoGenericValues()
36 outGenericValues.Put(TokenFiledConst::FIELD_BUNDLE_NAME, inPermissionDef.bundleName); in TranslationIntoGenericValues()
37 outGenericValues.Put(TokenFiledConst::FIELD_GRANT_MODE, inPermissionDef.grantMode); in TranslationIntoGenericValues()
38 outGenericValues.Put(TokenFiledConst::FIELD_AVAILABLE_LEVEL, inPermissionDef.availableLevel); in TranslationIntoGenericValues()
39 …outGenericValues.Put(TokenFiledConst::FIELD_PROVISION_ENABLE, inPermissionDef.provisionEnable ? 1 … in TranslationIntoGenericValues()
41 inPermissionDef.distributedSceneEnable ? 1 : 0); in TranslationIntoGenericValues()
42 outGenericValues.Put(TokenFiledConst::FIELD_LABEL, inPermissionDef.label); in TranslationIntoGenericValues()
43 outGenericValues.Put(TokenFiledConst::FIELD_LABEL_ID, inPermissionDef.labelId); in TranslationIntoGenericValues()
44 outGenericValues.Put(TokenFiledConst::FIELD_DESCRIPTION, inPermissionDef.description); in TranslationIntoGenericValues()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/
Ddata_translator.h30 …static int TranslationIntoGenericValues(const PermissionDef& inPermissionDef, GenericValues& outGe…
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp686 std::string PermissionManager::TransferPermissionDefToString(const PermissionDef& inPermissionDef) in TransferPermissionDefToString() argument
691 infos.append(R"(, "grantMode": )" + std::to_string(inPermissionDef.grantMode)); in TransferPermissionDefToString()
692 infos.append(R"(, "availableLevel": )" + std::to_string(inPermissionDef.availableLevel)); in TransferPermissionDefToString()
693 infos.append(R"(, "provisionEnable": )" + std::to_string(inPermissionDef.provisionEnable)); in TransferPermissionDefToString()
694 …infos.append(R"(, "distributedSceneEnable": )" + std::to_string(inPermissionDef.distributedSceneEn… in TransferPermissionDefToString()
696 infos.append(R"(, "labelId": )" + std::to_string(inPermissionDef.labelId)); in TransferPermissionDefToString()
698 infos.append(R"(, "descriptionId": )" + std::to_string(inPermissionDef.descriptionId)); in TransferPermissionDefToString()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_manager.h83 std::string TransferPermissionDefToString(const PermissionDef& inPermissionDef);