/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | security_component_grant_test.cpp | 150 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 187 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 223 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 247 int32_t res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_USER_FIXED); 261 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 300 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 332 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_USER_FIXED); 340 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 388 AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); 416 res = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET); [all …]
|
D | accesstoken_kit_test.cpp | 777 …ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIXED); 800 … ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_BETA, PERMISSION_USER_FIXED); 1020 …int ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FI… 1026 … ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_BETA, PERMISSION_USER_FIXED); 1044 …int ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_GAMMA, PERMISSION_USER_FI… 1047 ret = AccessTokenKit::RevokePermission(tokenID, "", PERMISSION_USER_FIXED); 1051 ret = AccessTokenKit::RevokePermission(tokenID, invalidPerm, PERMISSION_USER_FIXED); 1054 …ret = AccessTokenKit::RevokePermission(TEST_TOKENID_INVALID, TEST_PERMISSION_NAME_BETA, PERMISSION… 1059 … ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_BETA, PERMISSION_USER_FIXED); 1075 …int32_t ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USE… [all …]
|
D | accesstoken_kit_extension_test.cpp | 1154 …int ret = AccessTokenKit::RevokePermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_POLICY_… 1245 res = AccessTokenKit::RevokePermission(tokenID, "ohos.permission.CAMERA", 2); 1262 res = AccessTokenKit::RevokePermission(tokenID, "ohos.permission.CAMERA", 2); 1440 res = AccessTokenKit::RevokePermission(tokenID, "ohos.permission.CAMERA", 2); 1449 res = AccessTokenKit::RevokePermission(tokenID, "ohos.permission.GET_BUNDLE_INFO", 2); 1837 res = AccessTokenKit::RevokePermission(tokenIdEx.tokenIdExStruct.tokenID,
|
/base/security/permission_lite/services/pms/src/ |
D | pms_inner.c | 42 .RevokePermission = RevokePermission,
|
D | pms_server_internal.c | 39 int (*RevokePermission)(const char *identifier, const char *permName); member 76 .RevokePermission = RevokePermission, 162 int32_t ret = api->RevokePermission(identifier, permName); in ReplyRevokePermission()
|
/base/security/permission_lite/interfaces/kits/ |
D | pms_interface.h | 119 int RevokePermission(const char *identifier, const char *permName);
|
/base/security/permission_lite/services/pms/include/ |
D | pms_inner.h | 34 int (*RevokePermission)(const char *identifier, const char *permName); member
|
D | pms.h | 49 int RevokePermission(const char *identifier, const char *permName);
|
/base/security/access_token/test/fuzztest/access_token/revokeusergrantedpermission_fuzzer/ |
D | revokeusergrantedpermission_fuzzer.cpp | 36 int32_t result = AccessTokenKit::RevokePermission(TOKENID, testName, 0); in RevokeUserGrantedPermissionFuzzTest()
|
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | accesstoken_kit.h | 29 static int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) in RevokePermission() function
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 68 int (*RevokePermission)(const char *identifier, const char *permName); member 165 entry->iUnknown.RevokePermission = RevokePermission; in CreatInnerClient() 377 int RevokePermission(const char *identifier, const char *permName) in RevokePermission() function
|
/base/security/access_token/interfaces/kits/accesstoken/test/benchmarktest/ |
D | napi_atmanager_test.cpp | 123 … EXPECT_EQ(AccessTokenKit::RevokePermission(TOKENID, BENCHMARK_TEST_PERMISSION_NAME_ALPHA, 0), in BENCHMARK_F()
|
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
D | sec_comp_perm_manager.cpp | 76 int32_t res = AccessToken::AccessTokenKit::RevokePermission(tokenId, permissionName, in RevokeLocationPermission()
|
/base/security/access_token/frameworks/accesstoken/include/ |
D | i_accesstoken_manager.h | 56 …virtual int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) =…
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | accesstoken_kit.h | 224 static int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.h | 50 … int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
|
D | accesstoken_manager_client.h | 54 int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
D | accesstoken_kit.cpp | 300 int AccessTokenKit::RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int … in RevokePermission() function in OHOS::Security::AccessToken::AccessTokenKit 316 return AccessTokenManagerClient::GetInstance().RevokePermission(tokenID, permissionName, flag); in RevokePermission()
|
D | accesstoken_manager_client.cpp | 157 int AccessTokenManagerClient::RevokePermission(AccessTokenID tokenID, const std::string& permission… in RevokePermission() function in OHOS::Security::AccessToken::AccessTokenManagerClient 164 return proxy->RevokePermission(tokenID, permissionName, flag); in RevokePermission()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_manager.h | 61 int32_t RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/ |
D | accesstoken_manager_service.h | 53 … int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
|
/base/security/access_token/ |
D | README_zh.md | 77 | int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag); | 撤销指定t…
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 232 int AccessTokenManagerService::RevokePermission(AccessTokenID tokenID, const std::string& permissio… in RevokePermission() function in OHOS::Security::AccessToken::AccessTokenManagerService 236 int32_t ret = PermissionManager::GetInstance().RevokePermission(tokenID, permissionName, flag); in RevokePermission()
|
/base/security/access_token/tools/accesstoken/src/ |
D | atm_command.cpp | 252 result = AccessTokenKit::RevokePermission(tokenId, permissionName, PERMISSION_FLAG); in ModifyPermission()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/ |
D | accesstoken_kit_test.cpp | 293 AccessTokenKit::RevokePermission(tokenId, permission, PERMISSION_USER_FIXED));
|