Home
last modified time | relevance | path

Searched refs:RevokePermission (Results 1 – 25 of 37) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dsecurity_component_grant_test.cpp150 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 …]
Daccesstoken_kit_test.cpp777 …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 …]
Daccesstoken_kit_extension_test.cpp1154 …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/
Dpms_inner.c42 .RevokePermission = RevokePermission,
Dpms_server_internal.c39 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/
Dpms_interface.h119 int RevokePermission(const char *identifier, const char *permName);
/base/security/permission_lite/services/pms/include/
Dpms_inner.h34 int (*RevokePermission)(const char *identifier, const char *permName); member
Dpms.h49 int RevokePermission(const char *identifier, const char *permName);
/base/security/access_token/test/fuzztest/access_token/revokeusergrantedpermission_fuzzer/
Drevokeusergrantedpermission_fuzzer.cpp36 int32_t result = AccessTokenKit::RevokePermission(TOKENID, testName, 0); in RevokeUserGrantedPermissionFuzzTest()
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccesstoken_kit.h29 static int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) in RevokePermission() function
/base/security/permission_lite/services/pms_client/
Dperm_client.c68 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/
Dnapi_atmanager_test.cpp123 … 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/
Dsec_comp_perm_manager.cpp76 int32_t res = AccessToken::AccessTokenKit::RevokePermission(tokenId, permissionName, in RevokeLocationPermission()
/base/security/access_token/frameworks/accesstoken/include/
Di_accesstoken_manager.h56 …virtual int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) =…
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccesstoken_kit.h224 static int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_proxy.h50 … int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
Daccesstoken_manager_client.h54 int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
Daccesstoken_kit.cpp300 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()
Daccesstoken_manager_client.cpp157 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/
Dpermission_manager.h61 int32_t RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/
Daccesstoken_manager_service.h53 … int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
/base/security/access_token/
DREADME_zh.md77 | int RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag); | 撤销指定t…
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp232 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/
Datm_command.cpp252 result = AccessTokenKit::RevokePermission(tokenId, permissionName, PERMISSION_FLAG); in ModifyPermission()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/
Daccesstoken_kit_test.cpp293 AccessTokenKit::RevokePermission(tokenId, permission, PERMISSION_USER_FIXED));

12