Home
last modified time | relevance | path

Searched refs:AddPermissionUsedRecord (Results 1 – 25 of 27) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp294 ASSERT_EQ(PrivacyError::ERR_PARAM_INVALID, PrivacyKit::AddPermissionUsedRecord(
296 …ASSERT_EQ(PrivacyError::ERR_PARAM_INVALID, PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "", 1, …
297 ASSERT_EQ(PrivacyError::ERR_PARAM_INVALID, PrivacyKit::AddPermissionUsedRecord(
317 PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "ohos.permission.test", 1, 0));
319 PrivacyKit::AddPermissionUsedRecord(123, "ohos.permission.CAMERA", 1, 0));
321 PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "ohos.permission.READ_CONTACTS", 0, 0));
370 ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PrivacyKit::AddPermissionUsedRecord(
390 …ASSERT_EQ(RET_NO_ERROR, PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "ohos.permission.CAMERA", …
391 …ASSERT_EQ(RET_NO_ERROR, PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "ohos.permission.WRITE_CON…
392 …ASSERT_EQ(RET_NO_ERROR, PrivacyKit::AddPermissionUsedRecord(g_tokenIdA, "ohos.permission.LOCATION"…
[all …]
Dpermission_deny_test.cpp80 PrivacyKit::AddPermissionUsedRecord(g_testTokenId, "ohos.permission.CAMERA", 1, 0));
/base/security/access_token/test/fuzztest/access_token/addpermissionusedrecord_fuzzer/
Daddpermissionusedrecord_fuzzer.cpp40 … int32_t result = PrivacyKit::AddPermissionUsedRecord(tokenId, testName, successCount, failCount); in AddPermissionUsedRecordFuzzTest()
/base/security/access_token/interfaces/kits/privacy/napi/include/
Dpermission_record_manager_napi.h50 napi_value AddPermissionUsedRecord(napi_env env, napi_callback_info cbinfo);
/base/sensors/medical_sensor/utils/src/
Dpermission_util.cpp55 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenID, permissionName, successCount, failCount… in AddPermissionRecord()
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp34 int32_t PrivacyKit::AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionNam… in AddPermissionUsedRecord() function in OHOS::Security::AccessToken::PrivacyKit
44 return PrivacyManagerClient::GetInstance().AddPermissionUsedRecord( in AddPermissionUsedRecord()
Dprivacy_manager_proxy.h32 int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
Dprivacy_manager_client.h40 int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
Dprivacy_manager_client.cpp50 int32_t PrivacyManagerClient::AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& per… in AddPermissionUsedRecord() function in OHOS::Security::AccessToken::PrivacyManagerClient
58 …return proxy->AddPermissionUsedRecord(tokenID, permissionName, successCount, failCount, asyncMode); in AddPermissionUsedRecord()
Dprivacy_manager_proxy.cpp41 int32_t PrivacyManagerProxy::AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& perm… in AddPermissionUsedRecord() function in OHOS::Security::AccessToken::PrivacyManagerProxy
/base/security/access_token/interfaces/innerkits/privacy/include/
Dprivacy_kit.h66 static int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
/base/security/access_token/frameworks/privacy/include/
Di_privacy_manager.h43 … virtual int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dnative_module.cpp29 DECLARE_NAPI_FUNCTION("addPermissionUsedRecord", AddPermissionUsedRecord), in Init()
/base/sensors/sensor/utils/common/src/
Dpermission_util.cpp60 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenID, permissionName, successCount, failCount… in AddPermissionRecord()
/base/notification/common_event_service/services/src/
Daccess_token_helper.cpp56 PrivacyKit::AddPermissionUsedRecord(callerToken, permissionName, 1, 0); in RecordSensitivePermissionUsage()
/base/telephony/core_service/utils/common/src/
Dtelephony_permission.cpp82 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(callerToken, permissionName, successCount, failC… in CheckPermission()
/base/security/access_token/services/privacymanager/include/service/
Dprivacy_manager_service.h42 int32_t AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& permissionName,
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_service.cpp95 int32_t PrivacyManagerService::AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& pe… in AddPermissionUsedRecord() function in OHOS::Security::AccessToken::PrivacyManagerService
98 return PermissionRecordManager::GetInstance().AddPermissionUsedRecord( in AddPermissionUsedRecord()
Dprivacy_manager_stub.cpp108 … int32_t result = this->AddPermissionUsedRecord(tokenId, permissionName, successCount, failCount); in AddPermissionUsedRecordInner()
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/privacy_mock_test/
Dprivacy_kit_test.cpp62 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenId, permissionName, successCount, failCount…
/base/security/access_token/services/privacymanager/include/record/
Dpermission_record_manager.h49 int32_t AddPermissionUsedRecord(
/base/security/access_token/interfaces/innerkits/privacy/
Dlibprivacy_sdk.map19 …"OHOS::Security::AccessToken::PrivacyKit::AddPermissionUsedRecord(unsigned int, std::__h::basic_st…
/base/security/access_token/services/privacymanager/test/unittest/
Dprivacy_manager_service_test.cpp194 privacyManagerService_->AddPermissionUsedRecord(tokenId, permission, 1, 0);
199 privacyManagerService_->AddPermissionUsedRecord(tokenId, permission, 1, 0);
242 …int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName, int32_t … in AddPermissionUsedRecord() function in OHOS::Security::AccessToken::TestPrivacyManagerStub
Dpermission_record_manager_test.cpp703 …acyError::ERR_PERMISSION_NOT_EXIST, PermissionRecordManager::GetInstance().AddPermissionUsedRecord(
723 …EQ(PrivacyError::ERR_PARAM_INVALID, PermissionRecordManager::GetInstance().AddPermissionUsedRecord(
/base/security/access_token/services/privacymanager/
Dlibprivacy_map94 …"OHOS::Security::AccessToken::PrivacyManagerService::AddPermissionUsedRecord(unsigned int, std::__…
131 …"OHOS::Security::AccessToken::PermissionRecordManager::AddPermissionUsedRecord(unsigned int, std::…

12