/base/notification/common_event_service/services/src/ |
D | common_event_permission_manager.cpp | 30 static const std::unordered_map<std::string, std::pair<PermissionState, std::vector<std::string>>> … 32 {PermissionState::DEFAULT, {"ohos.permission.RECEIVER_STARTUP_COMPLETED"}} 35 {PermissionState::DEFAULT, {"ohos.permission.RECEIVER_STARTUP_COMPLETED"}} 38 {PermissionState::DEFAULT, {"ohos.permission.MANAGE_LOCAL_ACCOUNTS"}} 41 {PermissionState::DEFAULT, {"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"}} 44 {PermissionState::DEFAULT, {"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"}} 47 {PermissionState::DEFAULT, {"ohos.permission.LOCATION"}} 50 {PermissionState::DEFAULT, {"ohos.permission.GET_WIFI_INFO"}} 53 {PermissionState::DEFAULT, {"ohos.permission.GET_WIFI_INFO"}} 56 {PermissionState::DEFAULT, {"ohos.permission.GET_WIFI_INFO"}} [all …]
|
D | access_token_helper.cpp | 37 AccessToken::PermissionState::PERMISSION_GRANTED); in VerifyAccessToken()
|
/base/notification/common_event_service/services/include/ |
D | common_event_permission_manager.h | 27 enum class PermissionState { enum 34 PermissionState state; 37 Permission() : state(PermissionState::DEFAULT) in Permission()
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_permission.cpp | 67 int result = PermissionState::PERMISSION_DENIED; in CheckPermission() 69 result = PermissionState::PERMISSION_GRANTED; in CheckPermission() 81 bool status = result == PermissionState::PERMISSION_GRANTED; in CheckPermission() 92 if (result != PermissionState::PERMISSION_GRANTED) { in CheckPermission()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test.h | 51 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 70 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 89 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 108 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 127 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
D | network_search_test.h | 51 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 70 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 89 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 108 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 127 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 146 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 49 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 68 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 87 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 106 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | remote_token_kit_test.cpp | 42 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 49 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 79 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 87 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 228 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 260 ASSERT_EQ(ret, PermissionState::PERMISSION_GRANTED); 296 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 363 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 382 ASSERT_EQ(ret, PermissionState::PERMISSION_DENIED); 415 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied [all …]
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.h | 61 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 80 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 99 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 118 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | accesstoken.h | 31 } PermissionState; typedef
|
D | access_token.h | 66 } PermissionState; typedef
|
/base/account/os_account/services/accountmgr/test/mock/os_account/ |
D | permission_kit.h | 28 } PermissionState; typedef
|
/base/powermgr/power_manager/utils/permission/src/ |
D | permission.cpp | 150 int32_t result = PermissionState::PERMISSION_DENIED; in IsPermissionGranted() 157 result = PermissionState::PERMISSION_GRANTED; in IsPermissionGranted() 163 if (result == PermissionState::PERMISSION_DENIED) { in IsPermissionGranted()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 145 .grantStatus = {PermissionState::PERMISSION_DENIED}, 152 .grantStatus = {PermissionState::PERMISSION_DENIED}, 159 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED}, 166 .grantStatus = {PermissionState::PERMISSION_DENIED}, 173 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 180 .grantStatus = {PermissionState::PERMISSION_DENIED}, 2033 int grantState = PermissionState::PERMISSION_DENIED; 2103 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED}, 2129 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED}, 2136 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED}, [all …]
|
/base/telephony/cellular_call/test/unittest/imstest/ |
D | ims_test.h | 55 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 74 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 93 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/cellular_call/test/unittest/cstest/ |
D | cs_test.h | 54 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 73 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 92 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_validator.cpp | 33 …return grantStaus == PermissionState::PERMISSION_GRANTED || grantStaus == PermissionState::PERMISS… in IsGrantStatusValid()
|
/base/security/access_token/test/fuzztest/access_token/updatehaptoken_fuzzer/ |
D | updatehaptoken_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in UpdateHapTokenFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/allochaptoken_fuzzer/ |
D | allochaptoken_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in AllocHapTokenFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/setremotehaptokeninfo_fuzzer/ |
D | setremotehaptokeninfo_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in SetRemoteHapTokenInfoFuzzTest()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 110 int grantStatus = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_STATE); in TranslationIntoPermissionStateFull() 120 int grantFlag = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_FLAG); in TranslationIntoPermissionStateFull()
|
/base/security/access_token/services/common/database/test/unittest/ |
D | database_test.cpp | 516 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 539 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 562 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 654 inGenericValues.Put(TokenFiledConst::FIELD_GRANT_STATE, PermissionState::PERMISSION_GRANTED);
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | sensitive_manager_test.cpp | 52 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 60 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 68 .grantStatus = {PermissionState::PERMISSION_GRANTED},
|
/base/telephony/cellular_data/test/unit_test/ |
D | cellular_data_code_test.cpp | 50 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 69 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 88 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/call_manager/test/unittest/ui_client/ |
D | bluetooth_call_test.cpp | 54 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 73 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 92 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 111 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|