/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | privacy_kit_test.cpp | 294 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 …]
|
D | permission_deny_test.cpp | 80 PrivacyKit::AddPermissionUsedRecord(g_testTokenId, "ohos.permission.CAMERA", 1, 0));
|
/base/security/access_token/test/fuzztest/access_token/addpermissionusedrecord_fuzzer/ |
D | addpermissionusedrecord_fuzzer.cpp | 40 … int32_t result = PrivacyKit::AddPermissionUsedRecord(tokenId, testName, successCount, failCount); in AddPermissionUsedRecordFuzzTest()
|
/base/security/access_token/interfaces/kits/privacy/napi/include/ |
D | permission_record_manager_napi.h | 50 napi_value AddPermissionUsedRecord(napi_env env, napi_callback_info cbinfo);
|
/base/sensors/medical_sensor/utils/src/ |
D | permission_util.cpp | 55 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenID, permissionName, successCount, failCount… in AddPermissionRecord()
|
/base/security/access_token/interfaces/innerkits/privacy/src/ |
D | privacy_kit.cpp | 34 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()
|
D | privacy_manager_proxy.h | 32 int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
|
D | privacy_manager_client.h | 40 int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
|
D | privacy_manager_client.cpp | 50 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()
|
D | privacy_manager_proxy.cpp | 41 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/ |
D | privacy_kit.h | 66 static int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
|
/base/security/access_token/frameworks/privacy/include/ |
D | i_privacy_manager.h | 43 … virtual int32_t AddPermissionUsedRecord(AccessTokenID tokenID, const std::string& permissionName,
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | native_module.cpp | 29 DECLARE_NAPI_FUNCTION("addPermissionUsedRecord", AddPermissionUsedRecord), in Init()
|
/base/sensors/sensor/utils/common/src/ |
D | permission_util.cpp | 60 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenID, permissionName, successCount, failCount… in AddPermissionRecord()
|
/base/notification/common_event_service/services/src/ |
D | access_token_helper.cpp | 56 PrivacyKit::AddPermissionUsedRecord(callerToken, permissionName, 1, 0); in RecordSensitivePermissionUsage()
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_permission.cpp | 82 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(callerToken, permissionName, successCount, failC… in CheckPermission()
|
/base/security/access_token/services/privacymanager/include/service/ |
D | privacy_manager_service.h | 42 int32_t AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& permissionName,
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 95 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()
|
D | privacy_manager_stub.cpp | 108 … int32_t result = this->AddPermissionUsedRecord(tokenId, permissionName, successCount, failCount); in AddPermissionUsedRecordInner()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/privacy_mock_test/ |
D | privacy_kit_test.cpp | 62 …int32_t ret = PrivacyKit::AddPermissionUsedRecord(tokenId, permissionName, successCount, failCount…
|
/base/security/access_token/services/privacymanager/include/record/ |
D | permission_record_manager.h | 49 int32_t AddPermissionUsedRecord(
|
/base/security/access_token/interfaces/innerkits/privacy/ |
D | libprivacy_sdk.map | 19 …"OHOS::Security::AccessToken::PrivacyKit::AddPermissionUsedRecord(unsigned int, std::__h::basic_st…
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | privacy_manager_service_test.cpp | 194 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
|
D | permission_record_manager_test.cpp | 703 …acyError::ERR_PERMISSION_NOT_EXIST, PermissionRecordManager::GetInstance().AddPermissionUsedRecord( 723 …EQ(PrivacyError::ERR_PARAM_INVALID, PermissionRecordManager::GetInstance().AddPermissionUsedRecord(
|
/base/security/access_token/services/privacymanager/ |
D | libprivacy_map | 94 …"OHOS::Security::AccessToken::PrivacyManagerService::AddPermissionUsedRecord(unsigned int, std::__… 131 …"OHOS::Security::AccessToken::PermissionRecordManager::AddPermissionUsedRecord(unsigned int, std::…
|