/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | security_component_grant_test.cpp | 140 … 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 …]
|
D | accesstoken_kit_test.cpp | 656 …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 …]
|
D | accesstoken_kit_extension_test.cpp | 1235 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/ |
D | pms_inner.c | 41 .GrantPermission = GrantPermission,
|
D | pms_server_internal.c | 38 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/ |
D | pms_interface.h | 105 int GrantPermission(const char *identifier, const char *permName);
|
/base/security/permission_lite/services/pms/include/ |
D | pms_inner.h | 33 int (*GrantPermission)(const char *identifier, const char *permName); member
|
D | pms.h | 47 int GrantPermission(const char *identifier, const char *permName);
|
/base/security/access_token/test/fuzztest/access_token/grantpermission_fuzzer/ |
D | grantpermission_fuzzer.cpp | 36 int32_t result = AccessTokenKit::GrantPermission(TOKENID, testName, 0); in GrantPermissionFuzzTest()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_manager_test.cpp | 511 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/ |
D | accesstoken_kit.h | 34 static int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) in GrantPermission() function
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 67 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/ |
D | napi_atmanager_test.cpp | 142 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/ |
D | sec_comp_perm_manager.cpp | 66 int32_t res = AccessToken::AccessTokenKit::GrantPermission(tokenId, permissionName, in GrantLocationPermission()
|
/base/security/access_token/frameworks/accesstoken/include/ |
D | i_accesstoken_manager.h | 55 …virtual int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) = …
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | accesstoken_kit.h | 216 static int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.h | 49 … int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
|
D | accesstoken_manager_client.h | 53 int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
D | accesstoken_kit.cpp | 281 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()
|
D | accesstoken_manager_client.cpp | 147 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/ |
D | permission_manager.h | 60 int32_t GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/ |
D | accesstoken_manager_service.h | 52 … int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag) override;
|
/base/security/access_token/ |
D | README_zh.md | 76 | int GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag); | 授予指定to…
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 223 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/ |
D | atm_command.cpp | 250 result = AccessTokenKit::GrantPermission(tokenId, permissionName, PERMISSION_FLAG); in ModifyPermission()
|