Home
last modified time | relevance | path

Searched refs:IsAllowedUsingPermission (Results 1 – 19 of 19) sorted by relevance

/base/security/access_token/test/fuzztest/access_token/isallowedusingpermission_fuzzer/
Disallowedusingpermission_fuzzer.cpp38 int32_t result = PrivacyKit::IsAllowedUsingPermission(tokenId, testName); in IsAllowedUsingPermissionFuzzTest()
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp130 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()
Dprivacy_manager_proxy.h46 … bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) override;
Dprivacy_manager_client.h57 bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName);
Dprivacy_manager_client.cpp259 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()
Dprivacy_manager_proxy.cpp266 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/
Dprivacy_kit.h133 static bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName);
/base/security/access_token/frameworks/privacy/include/
Di_privacy_manager.h57 …virtual bool IsAllowedUsingPermission(AccessTokenID tokenID, const std::string& permissionName) = …
/base/security/access_token/services/privacymanager/include/service/
Dprivacy_manager_service.h61 … bool IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& permissionName) override;
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_service.cpp247 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()
Dprivacy_manager_stub.cpp285 bool result = this->IsAllowedUsingPermission(tokenId, permissionName); in IsAllowedUsingPermissionInner()
/base/security/access_token/services/privacymanager/test/unittest/
Dprivacy_manager_service_test.cpp218 …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/
Dpermission_deny_test.cpp204 ASSERT_EQ(false, PrivacyKit::IsAllowedUsingPermission(123, "ohos.permission.CAMERA"));
Dprivacy_kit_test.cpp1115 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/
Dprivacy_kit_test.cpp217 bool ret = PrivacyKit::IsAllowedUsingPermission(tokenId, permissionName);
/base/security/access_token/services/privacymanager/include/record/
Dpermission_record_manager.h65 bool IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& permissionName);
/base/security/access_token/interfaces/innerkits/privacy/
Dlibprivacy_sdk.map30 …"OHOS::Security::AccessToken::PrivacyKit::IsAllowedUsingPermission(unsigned int, std::__h::basic_s…
/base/security/access_token/services/privacymanager/
Dlibprivacy_map95 …"OHOS::Security::AccessToken::PrivacyManagerService::IsAllowedUsingPermission(unsigned int, std::_…
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record_manager.cpp712 bool PermissionRecordManager::IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& pe… in IsAllowedUsingPermission() function in OHOS::Security::AccessToken::PermissionRecordManager