Home
last modified time | relevance | path

Searched refs:NORMAL_TYPE (Results 1 – 16 of 16) sorted by relevance

/base/security/access_token/interfaces/innerkits/privacy/include/
Dpermission_used_type.h48 NORMAL_TYPE, enumerator
Dpermission_used_type_info.h52 PermissionUsedType type = NORMAL_TYPE;
Dadd_perm_param_info.h54 PermissionUsedType type = NORMAL_TYPE;
/base/security/access_token/services/privacymanager/include/record/
Dpermission_record.h32 PermissionUsedType type = PermissionUsedType::NORMAL_TYPE;
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_db_test.cpp405 … value1.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
414 … value2.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
440 … value1.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
451 … value2.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
493 … value.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
543 … value1.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
554 … value2.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
565 … value3.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
618 … value.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE));
Dpermission_record_manager_test.cpp775 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, results[FIRST_INDEX].type);
/base/security/access_token/interfaces/kits/privacy/napi/include/
Dpermission_record_manager_napi.h40 PermissionUsedType type = PermissionUsedType::NORMAL_TYPE;
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h61 NORMAL_TYPE, enumerator
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dnative_module.cpp71 napi_create_int32(env, NORMAL_TYPE, &prop); in Init()
/base/security/access_token/frameworks/common/src/
Ddata_validator.cpp127 return ((type == NORMAL_TYPE) || (type == PICKER_TYPE) || (type == SECURITY_COMPONENT_TYPE)); in IsPermissionUsedTypeValid()
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp1865 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, results[FIRST_INDEX].type); // only normal type
1871 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, results[FIRST_INDEX].type); // results remain
1951 ASSERT_EQ(NORMAL_TYPE, results[FIRST_INDEX].type); // contain normal type
1976 ASSERT_EQ(NORMAL_TYPE, results[FIRST_INDEX].type); // contain normal type
2030 ASSERT_EQ(NORMAL_TYPE, results[FIRST_INDEX].type); // contain normal type
2084 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, result.type); // g_tokenIdA only normal type
2125 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, result.type); // g_tokenIdA only normal type
2180 ASSERT_EQ(PermissionUsedType::NORMAL_TYPE, results1[FIRST_INDEX].type); // normal type
/base/security/access_token/services/privacymanager/src/database/
Dpermission_used_record_db.cpp607 std::to_string(PermissionUsedType::NORMAL_TYPE); in InsertPermissionUsedTypeColumn()
618 .append(std::to_string(PermissionUsedType::NORMAL_TYPE)); in InsertPermissionUsedTypeColumn()
/base/security/access_token/services/privacymanager/test/coverage/
Dpermission_record_manager_coverage_test.cpp905 … value.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE)); in AddRecord()
957 … value.Put(PrivacyFiledConst::FIELD_USED_TYPE, static_cast<int>(PermissionUsedType::NORMAL_TYPE)); in GeneratePermissionRecord()
1341 PermissionUsedType visitType = PermissionUsedType::NORMAL_TYPE;
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_policy_set.cpp229 return PermUsedTypeEnum::NORMAL_TYPE; in GetUserGrantedPermissionUsedType()
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record_manager.cpp193 if (type == PermissionUsedType::NORMAL_TYPE) { in TransformEnumToBitValue()
1178 info.type = PermissionUsedType::NORMAL_TYPE; in AddDataValueToResults()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp366 …EXPECT_EQ(PermUsedTypeEnum::NORMAL_TYPE, AccessTokenKit::GetUserGrantedPermissionUsedType(tokenID,…