/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 148 PermissionRecordManager::GetInstance().Register(); in SetUp() 200 … PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, nullptr)); 227 …PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, callback->AsObje… 234 …PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, callback->AsObje… 238 …PermissionRecordManager::GetInstance().UnRegisterPermActiveStatusCallback(callbacks[i]->AsObject()… 252 … PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, nullptr)); 274 PermissionRecordManager::GetInstance().startRecordList_.emplace_back(g_recordA1); 275 PermissionRecordManager::GetInstance().startRecordList_.emplace_back(g_recordA2); 276 PermissionRecordManager::GetInstance().startRecordList_.emplace_back(g_recordB1); 277 PermissionRecordManager::GetInstance().startRecordList_.emplace_back(g_recordB2); [all …]
|
D | privacy_manager_service_test.cpp | 109 PermissionRecordManager::GetInstance().Register(); in SetUp() 217 PermissionRecordManager::GetInstance().NotifyCameraFloatWindowChange(tokenId, false); 219 PermissionRecordManager::GetInstance().NotifyCameraFloatWindowChange(tokenId, true);
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 59 PermissionRecordManager& PermissionRecordManager::GetInstance() in GetInstance() 61 static PermissionRecordManager instance; in GetInstance() 65 PermissionRecordManager::PermissionRecordManager() : deleteTaskWorker_("DeleteRecord"), hasInited_(… in PermissionRecordManager() function in OHOS::Security::AccessToken::PermissionRecordManager 67 PermissionRecordManager::~PermissionRecordManager() in ~PermissionRecordManager() 77 void PermissionRecordManager::AddRecord(const PermissionRecord& record) in AddRecord() 86 int32_t PermissionRecordManager::GetPermissionRecord(AccessTokenID tokenId, const std::string& perm… in GetPermissionRecord() 114 int32_t PermissionRecordManager::AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& … in AddPermissionUsedRecord() 133 void PermissionRecordManager::RemovePermissionUsedRecords(AccessTokenID tokenId, const std::string&… in RemovePermissionUsedRecords() 151 int32_t PermissionRecordManager::GetPermissionUsedRecords( in GetPermissionUsedRecords() 163 int32_t PermissionRecordManager::GetPermissionUsedRecordsAsync( in GetPermissionUsedRecordsAsync() [all …]
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 98 return PermissionRecordManager::GetInstance().AddPermissionUsedRecord( in AddPermissionUsedRecord() 104 return PermissionRecordManager::GetInstance().StartUsingPermission(tokenId, permissionName); in StartUsingPermission() 110 …return PermissionRecordManager::GetInstance().StartUsingPermission(tokenId, permissionName, callba… in StartUsingPermission() 115 return PermissionRecordManager::GetInstance().StopUsingPermission(tokenId, permissionName); in StopUsingPermission() 120 PermissionRecordManager::GetInstance().RemovePermissionUsedRecords(tokenId, deviceID); in RemovePermissionUsedRecords() 128 …int32_t ret = PermissionRecordManager::GetInstance().GetPermissionUsedRecords(request.request, pe… in GetPermissionUsedRecords() 136 …return PermissionRecordManager::GetInstance().GetPermissionUsedRecordsAsync(request.request, callb… in GetPermissionUsedRecords() 142 …return PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, callback); in RegisterPermActiveStatusCallback() 188 if (PermissionRecordManager::GetInstance().GetPermissionUsedRecords(request, result) != 0) { in ResponseDumpCommand() 244 return PermissionRecordManager::GetInstance().UnRegisterPermActiveStatusCallback(callback); in UnRegisterPermActiveStatusCallback() [all …]
|
/base/security/access_token/services/privacymanager/ |
D | libprivacy_map | 43 "OHOS::Security::AccessToken::PermissionRecordManager::Register()"; 44 …"OHOS::Security::AccessToken::PermissionRecordManager::RegisterPermActiveStatusCallback(std::__h::… 45 "OHOS::Security::AccessToken::PermissionRecordManager::GetInstance()"; 49 …"OHOS::Security::AccessToken::PermissionRecordManager::UnRegisterPermActiveStatusCallback(OHOS::sp… 50 …"OHOS::Security::AccessToken::PermissionRecordManager::NotifyAppStateChange(unsigned int, OHOS::Se… 53 …"OHOS::Security::AccessToken::PermissionRecordManager::AddRecordIfNotStarted(OHOS::Security::Acces… 54 …"OHOS::Security::AccessToken::PermissionRecordManager::NotifyCameraFloatWindowChange(unsigned int,… 55 …"OHOS::Security::AccessToken::PermissionRecordManager::FindRecordsToUpdateAndExecuted(unsigned int… 56 …"OHOS::Security::AccessToken::PermissionRecordManager::GetRecordFromStartList(unsigned int, int, O… 57 …"OHOS::Security::AccessToken::PermissionRecordManager::StartUsingPermission(unsigned int, std::__h… [all …]
|
/base/security/access_token/services/privacymanager/include/record/ |
D | permission_record_manager.h | 43 class PermissionRecordManager final { 45 static PermissionRecordManager& GetInstance(); 46 virtual ~PermissionRecordManager(); 77 PermissionRecordManager(); 78 DISALLOW_COPY_AND_MOVE(PermissionRecordManager);
|
/base/security/access_token/services/privacymanager/src/sensitive/audio_manager/ |
D | audio_manager_privacy_death_recipient.cpp | 34 PermissionRecordManager::GetInstance().OnAudioMgrRemoteDiedHandle(); in OnRemoteDied()
|
D | audio_global_switch_change_stub.cpp | 65 PermissionRecordManager::GetInstance().NotifyMicChange(!micStateChangeEvent.mute); in OnMicStateUpdated()
|
/base/security/access_token/services/privacymanager/src/sensitive/window_manager/ |
D | window_manager_privacy_death_recipient.cpp | 32 PermissionRecordManager::GetInstance().OnWindowMgrRemoteDiedHandle(); in OnRemoteDied()
|
D | window_manager_privacy_agent.cpp | 54 PermissionRecordManager::GetInstance().NotifyCameraFloatWindowChange(accessTokenId, isShowing); in UpdateCameraFloatWindowStatus()
|
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/ |
D | camera_manager_privacy_death_recipient.cpp | 32 PermissionRecordManager::GetInstance().OnCameraMgrRemoteDiedHandle(); in OnRemoteDied()
|
D | camera_service_callback_stub.cpp | 61 PermissionRecordManager::GetInstance().NotifyCameraChange(!muteMode); in OnCameraMute()
|
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/ |
D | app_manager_death_recipient.cpp | 37 PermissionRecordManager::GetInstance().OnAppMgrRemoteDiedHandle(); in OnRemoteDied()
|
D | app_status_change_callback.cpp | 100 PermissionRecordManager::GetInstance().NotifyAppStateChange(tokenId, status); in OnForegroundApplicationChanged()
|