Home
last modified time | relevance | path

Searched refs:PermissionRecordManager (Results 1 – 14 of 14) sorted by relevance

/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp148 PermissionRecordManager::GetInstance().Register(); in SetUp()
200PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, nullptr));
227PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, callback->AsObje…
234PermissionRecordManager::GetInstance().RegisterPermActiveStatusCallback(permList, callback->AsObje…
238PermissionRecordManager::GetInstance().UnRegisterPermActiveStatusCallback(callbacks[i]->AsObject()…
252PermissionRecordManager::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 …]
Dprivacy_manager_service_test.cpp109 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/
Dpermission_record_manager.cpp59 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/
Dprivacy_manager_service.cpp98 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/
Dlibprivacy_map43 "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/
Dpermission_record_manager.h43 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/
Daudio_manager_privacy_death_recipient.cpp34 PermissionRecordManager::GetInstance().OnAudioMgrRemoteDiedHandle(); in OnRemoteDied()
Daudio_global_switch_change_stub.cpp65 PermissionRecordManager::GetInstance().NotifyMicChange(!micStateChangeEvent.mute); in OnMicStateUpdated()
/base/security/access_token/services/privacymanager/src/sensitive/window_manager/
Dwindow_manager_privacy_death_recipient.cpp32 PermissionRecordManager::GetInstance().OnWindowMgrRemoteDiedHandle(); in OnRemoteDied()
Dwindow_manager_privacy_agent.cpp54 PermissionRecordManager::GetInstance().NotifyCameraFloatWindowChange(accessTokenId, isShowing); in UpdateCameraFloatWindowStatus()
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/
Dcamera_manager_privacy_death_recipient.cpp32 PermissionRecordManager::GetInstance().OnCameraMgrRemoteDiedHandle(); in OnRemoteDied()
Dcamera_service_callback_stub.cpp61 PermissionRecordManager::GetInstance().NotifyCameraChange(!muteMode); in OnCameraMute()
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/
Dapp_manager_death_recipient.cpp37 PermissionRecordManager::GetInstance().OnAppMgrRemoteDiedHandle(); in OnRemoteDied()
Dapp_status_change_callback.cpp100 PermissionRecordManager::GetInstance().NotifyAppStateChange(tokenId, status); in OnForegroundApplicationChanged()