Searched refs:sharingEventCallback_ (Results 1 – 5 of 5) sorted by relevance
54 sharingEventCallback_ = new (std::nothrow) SharingEventCallback(deviceStateHandler); in StartEventSubscriber()57 …stener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_, sharingEventCallback_); in StartEventSubscriber()82 if (sharingEventCallback_ == nullptr) { in StopEventSubscriber()91 networkShareClient->UnregisterSharingEvent(sharingEventCallback_); in StopEventSubscriber()92 sharingEventCallback_ = nullptr; in StopEventSubscriber()
614 for (auto iter = sharingEventCallback_.begin(); iter != sharingEventCallback_.end(); ++iter) { in RegisterSharingEvent()620 sharingEventCallback_.push_back(callback); in RegisterSharingEvent()622 sharingEventCallback_.size()); in RegisterSharingEvent()629 for (auto iter = sharingEventCallback_.begin(); iter != sharingEventCallback_.end(); ++iter) { in UnregisterSharingEvent()631 sharingEventCallback_.erase(iter); in UnregisterSharingEvent()636 sharingEventCallback_.size()); in UnregisterSharingEvent()1221 callbackSize = sharingEventCallback_.size(); in SendGlobalSharingStateChange()1247 for_each(sharingEventCallback_.begin(), sharingEventCallback_.end(), in SendGlobalSharingStateChange()1260 if (sharingEventCallback_.size() == 0) { in SendIfaceSharingStateChange()1265 for_each(sharingEventCallback_.begin(), sharingEventCallback_.end(), in SendIfaceSharingStateChange()[all …]
90 sptr<NetManagerStandard::ISharingEventCallback> sharingEventCallback_ = nullptr; variable
387 EXPECT_EQ(NetworkShareTracker::GetInstance().sharingEventCallback_.size(), 0);686 NetworkShareTracker::GetInstance().sharingEventCallback_.clear();692 EXPECT_GE(NetworkShareTracker::GetInstance().sharingEventCallback_.size(), 0);
261 std::vector<sptr<ISharingEventCallback>> sharingEventCallback_; variable