Home
last modified time | relevance | path

Searched refs:channels_ (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dchannel_manager.cpp16 auto channel = channels_.find(handle); in CloseHandle()
17 if (channel == channels_.end()) { in CloseHandle()
20 channels_.erase(channel); in CloseHandle()
30 channels_.emplace( in CreateHandle()
46 auto channel = channels_.find(handle); in GetChannelData()
47 return channel != channels_.end() ? &channel->second : nullptr; in GetChannelData()
Dservice_endpoint.cpp267 auto channel_data = channels_.find(channel_id); in SetChannel()
268 if (channel_data == channels_.end()) in SetChannel()
299 auto iter = channels_.lower_bound(last_channel_id_); in OnNewChannelLocked()
300 if (iter == channels_.end() || iter->first != last_channel_id_) { in OnNewChannelLocked()
302 iter = channels_.emplace_hint(iter, last_channel_id_, in OnNewChannelLocked()
331 auto iter = channels_.find(channel_id); in CloseChannelLocked()
332 if (iter == channels_.end()) in CloseChannelLocked()
349 channels_.erase(iter); in CloseChannelLocked()
357 auto search = channels_.find(channel_id); in ModifyChannelEvents()
358 if (search != channels_.end()) { in ModifyChannelEvents()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h426 items.reserve(channels_.size()); in GetChannels()
428 for (const auto& pair : channels_) { in GetChannels()
574 std::for_each(channels_.begin(), channels_.end(), action); in ForEachChannelUnlocked()
596 return channels_.find(channel_id) != channels_.end(); in HasChannelId()
633 std::unordered_map<int, std::shared_ptr<Channel>> channels_; variable
/frameworks/native/libs/vr/libpdx/
Dservice.cpp493 channels_.erase(channel_id); in SetChannel()
496 channels_[channel_id] = channel; in SetChannel()
498 channels_.erase(channel_id); in SetChannel()
507 auto search = channels_.find(channel_id); in GetChannel()
508 if (search != channels_.end()) in GetChannel()
522 channels_.erase(channel_id); in CloseChannel()
547 channels_[channel_id_temp] = channel; in PushChannel()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_manager.h31 std::unordered_map<int32_t, ChannelEventReceiver> channels_; variable
Dservice_endpoint.h156 std::map<int32_t, ChannelData> channels_; variable