/base/security/access_token/test/fuzztest/access_token/isallowedusingpermission_fuzzer/ |
D | isallowedusingpermission_fuzzer.cpp | 38 int32_t result = PrivacyKit::IsAllowedUsingPermission(tokenId, testName); in IsAllowedUsingPermissionFuzzTest()
|
/base/security/access_token/interfaces/innerkits/privacy/src/ |
D | privacy_kit.cpp | 130 bool PrivacyKit::IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PrivacyKit 136 return PrivacyManagerClient::GetInstance().IsAllowedUsingPermission(tokenID, permissionName); in IsAllowedUsingPermission()
|
D | privacy_manager_proxy.h | 46 … bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) override;
|
D | privacy_manager_client.h | 57 bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName);
|
D | privacy_manager_client.cpp | 259 bool PrivacyManagerClient::IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permi… in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PrivacyManagerClient 266 return proxy->IsAllowedUsingPermission(tokenID, permissionName); in IsAllowedUsingPermission()
|
D | privacy_manager_proxy.cpp | 266 bool PrivacyManagerProxy::IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permis… in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PrivacyManagerProxy
|
/base/security/access_token/interfaces/innerkits/privacy/include/ |
D | privacy_kit.h | 133 static bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName);
|
/base/security/access_token/frameworks/privacy/include/ |
D | i_privacy_manager.h | 57 …virtual bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) = …
|
/base/security/access_token/services/privacymanager/include/service/ |
D | privacy_manager_service.h | 61 … bool IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& permissionName) override;
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 247 bool PrivacyManagerService::IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& perm… in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PrivacyManagerService 249 return PermissionRecordManager::GetInstance().IsAllowedUsingPermission(tokenId, permissionName); in IsAllowedUsingPermission()
|
D | privacy_manager_stub.cpp | 285 bool result = this->IsAllowedUsingPermission(tokenId, permissionName); in IsAllowedUsingPermissionInner()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | privacy_manager_service_test.cpp | 218 …ASSERT_EQ(false, privacyManagerService_->IsAllowedUsingPermission(tokenId, CAMERA_PERMISSION_NAME)… 220 …ASSERT_EQ(true, privacyManagerService_->IsAllowedUsingPermission(tokenId, CAMERA_PERMISSION_NAME)); 221 …ASSERT_EQ(false, privacyManagerService_->IsAllowedUsingPermission(tokenId, MICROPHONE_PERMISSION_N… 222 …ASSERT_EQ(false, privacyManagerService_->IsAllowedUsingPermission(tokenId, LOCATION_PERMISSION_NAM… 233 ASSERT_EQ(false, privacyManagerService_->IsAllowedUsingPermission(0, CAMERA_PERMISSION_NAME)); 234 ASSERT_EQ(false, privacyManagerService_->IsAllowedUsingPermission(0, "test")); 283 bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::TestPrivacyManagerStub
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | permission_deny_test.cpp | 204 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(123, "ohos.permission.CAMERA"));
|
D | privacy_kit_test.cpp | 1115 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(g_tokenIdE, permissionName)); 1116 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(0, permissionName)); 1117 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(g_tokenIdE, "")); 1130 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(g_tokenIdE, permissionName)); 1606 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(tokenId, permissionName));
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/privacy_mock_test/ |
D | privacy_kit_test.cpp | 217 bool ret = PrivacyKit::IsAllowedUsingPermission(tokenId, permissionName);
|
/base/security/access_token/services/privacymanager/include/record/ |
D | permission_record_manager.h | 65 bool IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& permissionName);
|
/base/security/access_token/interfaces/innerkits/privacy/ |
D | libprivacy_sdk.map | 30 …"OHOS::Security::AccessToken::PrivacyKit::IsAllowedUsingPermission(unsigned int, std::__h::basic_s…
|
/base/security/access_token/services/privacymanager/ |
D | libprivacy_map | 95 …"OHOS::Security::AccessToken::PrivacyManagerService::IsAllowedUsingPermission(unsigned int, std::_…
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 712 bool PermissionRecordManager::IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& pe… in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PermissionRecordManager
|