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()
29 channels_.emplace(handle, in CreateHandle()
38 auto channel = channels_.find(handle); in GetChannelData()
39 return channel != channels_.end() ? &channel->second : nullptr; in GetChannelData()
Dservice_endpoint.cpp264 auto channel_data = channels_.find(channel_id); in SetChannel()
265 if (channel_data == channels_.end()) in SetChannel()
297 auto iter = channels_.lower_bound(last_channel_id_); in OnNewChannelLocked()
298 if (iter == channels_.end() || iter->first != last_channel_id_) { in OnNewChannelLocked()
300 iter = channels_.emplace_hint(iter, last_channel_id_, in OnNewChannelLocked()
329 auto iter = channels_.find(channel_id); in CloseChannelLocked()
330 if (iter == channels_.end()) in CloseChannelLocked()
347 channels_.erase(iter); in CloseChannelLocked()
355 auto search = channels_.find(channel_id); in ModifyChannelEvents()
356 if (search != channels_.end()) { in ModifyChannelEvents()
[all …]
/frameworks/native/libs/vr/libpdx/
Dservice.cpp496 channels_.erase(channel_id); in SetChannel()
499 channels_[channel_id] = channel; in SetChannel()
501 channels_.erase(channel_id); in SetChannel()
510 auto search = channels_.find(channel_id); in GetChannel()
511 if (search != channels_.end()) in GetChannel()
525 channels_.erase(channel_id); in CloseChannel()
550 channels_[channel_id_temp] = channel; in PushChannel()
/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()
625 std::unordered_map<int, std::shared_ptr<Channel>> channels_; variable
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_manager.h33 std::unordered_map<int32_t, ChannelData> channels_; variable
Dservice_endpoint.h155 std::map<int32_t, ChannelData> channels_; variable