Home
last modified time | relevance | path

Searched refs:DlpStateItem (Results 1 - 6 of 6) sorted by relevance

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Ddlp_state_item.cpp27 DlpStateItem::DlpStateItem(int32_t dlpUid, int32_t dlpPid) : dlpUid_(dlpUid), dlpPid_(dlpPid) {} in DlpStateItem() function in OHOS::AAFwk::DlpStateItem
29 DlpStateItem::~DlpStateItem() {} in ~DlpStateItem()
31 bool DlpStateItem::AddDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, in AddDlpConnectionState()
37 bool DlpStateItem::RemoveDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, in RemoveDlpConnectionState()
43 int32_t DlpStateItem::GetDlpUid() const in GetDlpUid()
48 int32_t DlpStateItem::GetOpenedAbilitySize() const in GetOpenedAbilitySize()
53 bool DlpStateItem::HandleDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, bool isAdd, in HandleDlpConnectionState()
98 void DlpStateItem
[all...]
H A Dconnection_state_manager.cpp240 dlpItems_[userId] = std::make_shared<DlpStateItem>(dlpManger->GetUid(), dlpManger->GetPid()); in AddDlpManager()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Ddlp_state_item.h27 * @class DlpStateItem
28 * DlpStateItem,This class is used to record connection state of a process.
30 class DlpStateItem : public std::enable_shared_from_this<DlpStateItem> { class
32 DlpStateItem(int32_t dlpUid, int32_t dlpPid);
33 virtual ~DlpStateItem();
57 DISALLOW_COPY_AND_MOVE(DlpStateItem);
H A Dconnection_state_manager.h226 std::unordered_map<int32_t, std::shared_ptr<DlpStateItem>> dlpItems_;
/foundation/ability/ability_runtime/test/unittest/dlp_state_item_test/
H A Ddlp_state_item_test.cpp57 auto item = std::make_shared<DlpStateItem>(1, 2); in HWTEST_F()
84 auto item = std::make_shared<DlpStateItem>(1, 2); in HWTEST_F()
97 auto item2 = std::make_shared<DlpStateItem>(0, 0); in HWTEST_F()
111 auto item = std::make_shared<DlpStateItem>(10, 2); in HWTEST_F()
125 auto item = std::make_shared<DlpStateItem>(1, 2); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/connection_state_manager_test/
H A Dconnection_state_manager_test.cpp803 std::shared_ptr<DlpStateItem> item = std::make_shared<DlpStateItem>(dlpUid, dlpPid); in HWTEST_F()
825 std::shared_ptr<DlpStateItem> item = std::make_shared<DlpStateItem>(dlpUid, dlpPid); in HWTEST_F()

Completed in 4 milliseconds