Home
last modified time | relevance | path

Searched refs:DYNAMIC_OPER (Results 1 – 6 of 6) sorted by relevance

/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h84 DYNAMIC_OPER = 1, enumerator
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp287 permState.state = DYNAMIC_OPER; in GetSelfPermissionState()
605 vagueState = DYNAMIC_OPER; in AllLocationPermissionHandle()
606 accurateState = DYNAMIC_OPER; in AllLocationPermissionHandle()
620 accurateState = DYNAMIC_OPER; in AllLocationPermissionHandle()
643 … return (static_cast<PermissionOper>(reqPermList[vagueIndex].permsState.state) == DYNAMIC_OPER); in LocationPermissionSpecialHandle()
655 … return ((static_cast<PermissionOper>(reqPermList[vagueIndex].permsState.state) == DYNAMIC_OPER) || in LocationPermissionSpecialHandle()
656 (static_cast<PermissionOper>(reqPermList[accurateIndex].permsState.state) == DYNAMIC_OPER)); in LocationPermissionSpecialHandle()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp2728 ASSERT_EQ(DYNAMIC_OPER, ret);
2730 ASSERT_EQ(DYNAMIC_OPER, permsList1[0].state);
2731 ASSERT_EQ(DYNAMIC_OPER, permsList1[1].state);
2746 ASSERT_EQ(DYNAMIC_OPER, ret);
2799 ASSERT_EQ(DYNAMIC_OPER, ret);
2801 ASSERT_EQ(DYNAMIC_OPER, permsList[0].state);
2954 ASSERT_EQ(DYNAMIC_OPER, ret);
2956 ASSERT_EQ(DYNAMIC_OPER, permsList[0].state);
2957 ASSERT_EQ(DYNAMIC_OPER, permsList[1].state);
2999 ASSERT_EQ(DYNAMIC_OPER, ret);
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp190 if (static_cast<PermissionOper>(reqPermList[i].permsState.state) == DYNAMIC_OPER) { in GetSelfPermissionsState()
197 return DYNAMIC_OPER; in GetSelfPermissionsState()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp2609 ASSERT_EQ(static_cast<int>(PermissionOper::DYNAMIC_OPER), reqPermList[0].permsState.state);
2610 ASSERT_EQ(static_cast<int>(PermissionOper::DYNAMIC_OPER), reqPermList[1].permsState.state);
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp1171 if (ret != TypePermissionOper::DYNAMIC_OPER) { in IsDynamicRequest()