Home
last modified time | relevance | path

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

/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h182 DYNAMIC_OPER = 1, enumerator
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_extension_test.cpp553 ASSERT_EQ(DYNAMIC_OPER, ret);
555 ASSERT_EQ(DYNAMIC_OPER, permsList1[0].state);
556 ASSERT_EQ(DYNAMIC_OPER, permsList1[1].state);
571 ASSERT_EQ(DYNAMIC_OPER, ret);
623 ASSERT_EQ(DYNAMIC_OPER, ret);
625 ASSERT_EQ(DYNAMIC_OPER, permsList[0].state);
778 ASSERT_EQ(DYNAMIC_OPER, ret);
780 ASSERT_EQ(DYNAMIC_OPER, permsList[0].state);
781 ASSERT_EQ(DYNAMIC_OPER, permsList[1].state);
823 ASSERT_EQ(DYNAMIC_OPER, ret);
[all …]
Dsecurity_component_grant_test.cpp376 ASSERT_EQ(result, DYNAMIC_OPER);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp317 permState.state = DYNAMIC_OPER; in GetSelfPermissionState()
641 vagueState = DYNAMIC_OPER; in AllLocationPermissionHandle()
642 accurateState = DYNAMIC_OPER; in AllLocationPermissionHandle()
656 accurateState = DYNAMIC_OPER; in AllLocationPermissionHandle()
679 … return (static_cast<PermissionOper>(reqPermList[vagueIndex].permsState.state) == DYNAMIC_OPER); in LocationPermissionSpecialHandle()
691 … return ((static_cast<PermissionOper>(reqPermList[vagueIndex].permsState.state) == DYNAMIC_OPER) || in LocationPermissionSpecialHandle()
692 (static_cast<PermissionOper>(reqPermList[accurateIndex].permsState.state) == DYNAMIC_OPER)); in LocationPermissionSpecialHandle()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp199 if (static_cast<PermissionOper>(reqPermList[i].permsState.state) == DYNAMIC_OPER) { in GetSelfPermissionsState()
206 return DYNAMIC_OPER; in GetSelfPermissionsState()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp1902 ASSERT_EQ(static_cast<int>(PermissionOper::DYNAMIC_OPER), reqPermList[0].permsState.state);
1903 ASSERT_EQ(static_cast<int>(PermissionOper::DYNAMIC_OPER), reqPermList[1].permsState.state);
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp1173 if (ret != TypePermissionOper::DYNAMIC_OPER) { in IsDynamicRequest()