Home
last modified time | relevance | path

Searched refs:dlpManger (Results 1 - 4 of 4) sorted by relevance

/foundation/ability/ability_runtime/test/fuzztest/connectionstatemanager_fuzzer/
H A Dconnectionstatemanager_fuzzer.cpp206 std::shared_ptr<AbilityRecord> dlpManger = GetFuzzAbilityRecord(); in DoSomethingInterestingWithMyAPI() local
207 connectionStateManager->AddDlpManager(dlpManger); in DoSomethingInterestingWithMyAPI()
208 connectionStateManager->RemoveDlpManager(dlpManger); in DoSomethingInterestingWithMyAPI()
209 connectionStateManager->AddDlpAbility(dlpManger); in DoSomethingInterestingWithMyAPI()
210 connectionStateManager->RemoveDlpAbility(dlpManger); in DoSomethingInterestingWithMyAPI()
226 connectionStateManager->HandleDlpAbilityInner(dlpManger, boolParam, dlpData); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dconnection_state_manager.cpp230 void ConnectionStateManager::AddDlpManager(const std::shared_ptr<AbilityRecord> &dlpManger) in AddDlpManager() argument
232 if (!dlpManger) { in AddDlpManager()
236 auto userId = dlpManger->GetOwnerMissionUserId(); in AddDlpManager()
240 dlpItems_[userId] = std::make_shared<DlpStateItem>(dlpManger->GetUid(), dlpManger->GetPid()); in AddDlpManager()
244 void ConnectionStateManager::RemoveDlpManager(const std::shared_ptr<AbilityRecord> &dlpManger) in RemoveDlpManager() argument
246 if (!dlpManger) { in RemoveDlpManager()
251 dlpItems_.erase(dlpManger->GetOwnerMissionUserId()); in RemoveDlpManager()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dconnection_state_manager.h122 * @param dlpManger dlp manager record.
124 void AddDlpManager(const std::shared_ptr<AbilityRecord> &dlpManger);
129 * @param dlpManger dlp manager record.
131 void RemoveDlpManager(const std::shared_ptr<AbilityRecord> &dlpManger);
/foundation/ability/ability_runtime/test/unittest/connection_state_manager_test/
H A Dconnection_state_manager_test.cpp426 std::shared_ptr<AbilityRecord> dlpManger = nullptr; in HWTEST_F() local
427 manager_->AddDlpManager(dlpManger); in HWTEST_F()

Completed in 4 milliseconds