Home
last modified time | relevance | path

Searched refs:GrantPermission (Results 1 – 25 of 38) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dsecurity_component_grant_test.cpp140 … int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
173 int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_USER_FIXED);
177 res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
210 …int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_GRANTED_BY_POLI…
214 res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
250 res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
284 … int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
294 res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_USER_FIXED);
321 … int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
361 … int32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_COMPONENT_SET);
[all …]
Daccesstoken_kit_test.cpp656 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIX…
708 …int32_t ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER…
752 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIX…
771 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIX…
794 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_BETA, PERMISSION_USER_FIXE…
848 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIX…
887 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_ALPHA, PERMISSION_USER_FIX…
893 … ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_BETA, PERMISSION_USER_FIXED);
911 …int ret = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION_NAME_GAMMA, PERMISSION_USER_FIX…
914 ret = AccessTokenKit::GrantPermission(tokenID, "", PERMISSION_USER_FIXED);
[all …]
Daccesstoken_kit_extension_test.cpp1235 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.CAMERA", 2);
1255 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.CAMERA", 2);
1316 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.CAMERA", 2);
1373 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.CAMERA", 2);
1382 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.GET_BUNDLE_INFO", 2);
1503 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.CAMERA", 2);
1510 res = AccessTokenKit::GrantPermission(tokenID, "ohos.permission.GET_BUNDLE_INFO", 2);
1560 …res = AccessTokenKit::GrantPermission(tokenIdEx.tokenIdExStruct.tokenID, "ohos.permission.CAMERA",…
1771 …res = AccessTokenKit::GrantPermission(tokenIdEx.tokenIdExStruct.tokenID, "ohos.permission.CAMERA",…
1781 …res = AccessTokenKit::GrantPermission(tokenIdEx.tokenIdExStruct.tokenID, "ohos.permission.CAMERA",…
[all …]
/base/security/permission_lite/services/pms/src/
Dpms_inner.c41 .GrantPermission = GrantPermission,
Dpms_server_internal.c38 int (*GrantPermission)(const char *identifier, const char *permName); member
75 .GrantPermission = GrantPermission,
148 int32_t ret = api->GrantPermission(identifier, permName); in ReplyGrantPermission()
/base/security/permission_lite/interfaces/kits/
Dpms_interface.h105 int GrantPermission(const char *identifier, const char *permName);
/base/security/permission_lite/services/pms/include/
Dpms_inner.h33 int (*GrantPermission)(const char *identifier, const char *permName); member
Dpms.h47 int GrantPermission(const char *identifier, const char *permName);
/base/security/access_token/test/fuzztest/access_token/grantpermission_fuzzer/
Dgrantpermission_fuzzer.cpp36 int32_t result = AccessTokenKit::GrantPermission(TOKENID, testName, 0); in GrantPermissionFuzzTest()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Dpermission_manager_test.cpp511 PermissionManager::GetInstance().GrantPermission(tokenID,
513 PermissionManager::GetInstance().GrantPermission(tokenID,
515 PermissionManager::GetInstance().GrantPermission(tokenID,
518 PermissionManager::GetInstance().GrantPermission(tokenID,
569 PermissionManager::GetInstance().GrantPermission(tokenID,
571 PermissionManager::GetInstance().GrantPermission(tokenID,
573 PermissionManager::GetInstance().GrantPermission(tokenID,
575 PermissionManager::GetInstance().GrantPermission(tokenID,
626 PermissionManager::GetInstance().GrantPermission(tokenID,
628 PermissionManager::GetInstance().GrantPermission(tokenID,
[all …]
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccesstoken_kit.h34 static int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) in GrantPermission() function
/base/security/permission_lite/services/pms_client/
Dperm_client.c67 int (*GrantPermission)(const char *identifier, const char *permName); member
164 entry->iUnknown.GrantPermission = GrantPermission; in CreatInnerClient()
359 int GrantPermission(const char *identifier, const char *permName) in GrantPermission() function
/base/security/access_token/interfaces/kits/accesstoken/test/benchmarktest/
Dnapi_atmanager_test.cpp142 EXPECT_EQ(AccessTokenKit::GrantPermission(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.cpp66 int32_t res = AccessToken::AccessTokenKit::GrantPermission(tokenId, permissionName, in GrantLocationPermission()
/base/security/access_token/frameworks/accesstoken/include/
Di_accesstoken_manager.h55 …virtual int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) = …
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccesstoken_kit.h216 static int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_proxy.h49 … int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
Daccesstoken_manager_client.h53 int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
Daccesstoken_kit.cpp281 int AccessTokenKit::GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int f… in GrantPermission() function in OHOS::Security::AccessToken::AccessTokenKit
297 return AccessTokenManagerClient::GetInstance().GrantPermission(tokenID, permissionName, flag); in GrantPermission()
Daccesstoken_manager_client.cpp147 int AccessTokenManagerClient::GrantPermission(AccessTokenID tokenID, const std::string& permissionN… in GrantPermission() function in OHOS::Security::AccessToken::AccessTokenManagerClient
154 return proxy->GrantPermission(tokenID, permissionName, flag); in GrantPermission()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_manager.h60 int32_t GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/
Daccesstoken_manager_service.h52 … int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
/base/security/access_token/
DREADME_zh.md76 | int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag); | 授予指定to…
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp223 int AccessTokenManagerService::GrantPermission(AccessTokenID tokenID, const std::string& permission… in GrantPermission() function in OHOS::Security::AccessToken::AccessTokenManagerService
227 int32_t ret = PermissionManager::GetInstance().GrantPermission(tokenID, permissionName, flag); in GrantPermission()
/base/security/access_token/tools/accesstoken/src/
Datm_command.cpp250 result = AccessTokenKit::GrantPermission(tokenId, permissionName, PERMISSION_FLAG); in ModifyPermission()

12