Home
last modified time | relevance | path

Searched refs:channel_id (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/services/vr/bufferhubd/
Dproducer_queue_channel.cpp18 int channel_id, in ProducerQueueChannel() argument
22 : BufferHubChannel(service, channel_id, channel_id, kProducerQueueType), in ProducerQueueChannel()
38 BufferHubService* service, int channel_id, in Create() argument
53 service, channel_id, config, usage_policy, &error)); in Create()
94 return BufferInfo(channel_id(), consumer_channels_.size(), capacity_, in GetBufferInfo()
104 channel_id(), silent); in OnCreateConsumerQueue()
106 int channel_id; in OnCreateConsumerQueue() local
107 auto status = message.PushChannel(0, nullptr, &channel_id); in OnCreateConsumerQueue()
117 service(), buffer_id(), channel_id, shared_from_this(), silent); in OnCreateConsumerQueue()
126 service()->SetChannel(channel_id, consumer_queue_channel); in OnCreateConsumerQueue()
[all …]
Dproducer_channel.cpp39 int channel_id, IonBuffer buffer, in ProducerChannel() argument
42 : BufferHubChannel(service, buffer_id, channel_id, kProducerType), in ProducerChannel()
62 ProducerChannel::ProducerChannel(BufferHubService* service, int channel_id, in ProducerChannel() argument
67 : BufferHubChannel(service, channel_id, channel_id, kProducerType), in ProducerChannel()
141 BufferHubService* service, int buffer_id, int channel_id, IonBuffer buffer, in Create() argument
145 service, buffer_id, channel_id, std::move(buffer), in Create()
155 BufferHubService* service, int channel_id, uint32_t width, uint32_t height, in Create() argument
160 new ProducerChannel(service, channel_id, width, height, layer_count, in Create()
172 channel_id(), buffer_id(), buffer_state_->load()); in ~ProducerChannel()
258 int channel_id; in CreateConsumer() local
[all …]
Ddetached_buffer_channel.cpp15 int buffer_id, int channel_id, in DetachedBufferChannel() argument
19 : BufferHubChannel(service, buffer_id, channel_id, kDetachedBufferType), in DetachedBufferChannel()
70 channel_id(), buffer_id()); in ~DetachedBufferChannel()
125 int channel_id; in OnPromote() local
126 auto status = message.PushChannel(0, nullptr, &channel_id); in OnPromote()
135 service(), buffer_id(), channel_id, std::move(buffer_), in OnPromote()
145 service()->SetChannel(channel_id, std::move(channel)); in OnPromote()
Dconsumer_queue_channel.cpp17 BufferHubService* service, int buffer_id, int channel_id, in ConsumerQueueChannel() argument
19 : BufferHubChannel(service, buffer_id, channel_id, kConsumerQueueType), in ConsumerQueueChannel()
28 channel_id()); in ~ConsumerQueueChannel()
Dproducer_channel.h34 int buffer_id, int channel_id,
40 BufferHubService* service, int channel_id, uint32_t width,
101 ProducerChannel(BufferHubService* service, int buffer_id, int channel_id,
Dbuffer_hub.h31 BufferHubChannel(BufferHubService* service, int buffer_id, int channel_id, in BufferHubChannel() argument
35 channel_id_(channel_id), in BufferHubChannel()
108 int channel_id() const { return channel_id_; } in channel_id() function
Dconsumer_channel.cpp22 int channel_id, uint64_t consumer_state_bit, in ConsumerChannel() argument
24 : BufferHubChannel(service, buffer_id, channel_id, kConsumerType), in ConsumerChannel()
33 channel_id(), buffer_id()); in ~ConsumerChannel()
Dproducer_queue_channel.h15 BufferHubService* service, int channel_id,
50 ProducerQueueChannel(BufferHubService* service, int channel_id,
Dbuffer_hub.cpp216 stream << (" channel_id=" + std::to_string(channel->channel_id())); in DumpState()
266 SetChannel(channel->channel_id(), nullptr); in HandleMessage()
274 SetChannel(channel->channel_id(), nullptr); in HandleMessage()
380 channel_id(), buffer_id()); in SignalAvailable()
393 channel_id(), buffer_id()); in ClearAvailable()
405 channel_id(), buffer_id()); in Hangup()
Dconsumer_queue_channel.h21 ConsumerQueueChannel(BufferHubService* service, int buffer_id, int channel_id,
Dconsumer_channel.h19 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id,
Ddetached_buffer_channel.h39 int channel_id, IonBuffer buffer,
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp265 Status<void> Endpoint::SetChannel(int channel_id, Channel* channel) { in SetChannel() argument
267 auto channel_data = channels_.find(channel_id); in SetChannel()
323 Status<void> Endpoint::CloseChannel(int channel_id) { in CloseChannel() argument
325 return CloseChannelLocked(channel_id); in CloseChannel()
328 Status<void> Endpoint::CloseChannelLocked(int32_t channel_id) { in CloseChannelLocked() argument
329 ALOGD_IF(TRACE, "Endpoint::CloseChannelLocked: channel_id=%d", channel_id); in CloseChannelLocked()
331 auto iter = channels_.find(channel_id); in CloseChannelLocked()
353 Status<void> Endpoint::ModifyChannelEvents(int channel_id, int clear_mask, in ModifyChannelEvents() argument
357 auto search = channels_.find(channel_id); in ModifyChannelEvents()
428 int* channel_id) { in PushChannel() argument
[all …]
Dservice_framework_tests.cpp76 explicit TestChannel(int channel_id) : channel_id_(channel_id) {} in TestChannel() argument
78 int channel_id() const { return channel_id_; } in channel_id() function in __anon3442cbd30111::TestChannel
141 REPLY_MESSAGE_RETURN(message, test_channel_->channel_id(), {}); in HandleMessage()
167 REPLY_MESSAGE_RETURN(message, channel->channel_id(), {}); in HandleMessage()
460 const int channel_id = client->GetThisChannelId(); in TEST_F() local
461 EXPECT_LE(0, channel_id); in TEST_F()
468 EXPECT_EQ(channel_id, client->GetTestChannelId()); in TEST_F()
482 const int channel_id = client->GetThisChannelId(); in TEST_F() local
483 EXPECT_LE(0, channel_id); in TEST_F()
490 EXPECT_EQ(channel_id, client->GetTestChannelId()); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h43 Status<void> SetChannel(int channel_id, Channel* channel) override;
44 Status<void> CloseChannel(int channel_id) override;
45 Status<void> ModifyChannelEvents(int channel_id, int clear_mask,
49 int* channel_id) override;
131 void BuildCloseMessage(int32_t channel_id, Message* message);
139 Status<void> CloseChannelLocked(int32_t channel_id);
141 Channel* GetChannelState(int32_t channel_id);
142 BorrowedHandle GetChannelSocketFd(int32_t channel_id);
144 int32_t channel_id);
/frameworks/native/libs/vr/libpdx/
Dservice.cpp379 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel() argument
382 return svc->PushChannel(this, flags, channel, channel_id); in PushChannel()
390 int* channel_id) { in PushChannel() argument
392 return service->PushChannel(this, flags, channel, channel_id); in PushChannel()
479 Status<void> Service::SetChannel(int channel_id, in SetChannel() argument
484 const auto status = endpoint_->SetChannel(channel_id, channel.get()); in SetChannel()
493 channels_.erase(channel_id); in SetChannel()
496 channels_[channel_id] = channel; in SetChannel()
498 channels_.erase(channel_id); in SetChannel()
503 std::shared_ptr<Channel> Service::GetChannel(int channel_id) const { in GetChannel()
[all …]
Dservice_tests.cpp722 int channel_id = -1; in TEST_F() local
723 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); in TEST_F()
726 EXPECT_EQ(kTestCid, channel_id); in TEST_F()
734 int channel_id = -1; in TEST_F() local
735 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); in TEST_F()
755 int channel_id = -1; in TEST_F() local
757 message_->PushChannel(service2.get(), kFlags, nullptr, &channel_id); in TEST_F()
760 EXPECT_EQ(kTestCid, channel_id); in TEST_F()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_service_endpoint.h14 MOCK_METHOD2(SetChannel, Status<void>(int channel_id, Channel* channel));
15 MOCK_METHOD1(CloseChannel, Status<void>(int channel_id));
17 Status<void>(int channel_id, int clear_mask, int set_mask));
20 Channel* channel, int* channel_id));
Dservice_endpoint.h50 virtual Status<void> SetChannel(int channel_id, Channel* channel) = 0;
55 virtual Status<void> CloseChannel(int channel_id) = 0;
59 virtual Status<void> ModifyChannelEvents(int channel_id, int clear_mask,
71 int* channel_id) = 0;
Dservice.h196 int flags, const std::shared_ptr<Channel>& channel, int* channel_id);
204 int* channel_id);
395 Status<void> SetChannel(int channel_id,
410 std::shared_ptr<Channel> GetChannel(int channel_id) const;
445 Status<void> CloseChannel(int channel_id);
454 Status<void> ModifyChannelEvents(int channel_id, int clear_mask,
477 int* channel_id);
594 bool HasChannelId(int channel_id) const { in HasChannelId() argument
596 return channels_.find(channel_id) != channels_.end(); in HasChannelId()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_manager_service.h20 DisplayManager(DisplayManagerService* service, int channel_id) in DisplayManager() argument
21 : service_(service), channel_id_(channel_id) {} in DisplayManager()
23 int channel_id() const { return channel_id_; } in channel_id() function
Ddisplay_manager_service.cpp49 if (display_manager_ && !HasChannelId(display_manager_->channel_id())) { in OnChannelOpen()
52 display_manager_->channel_id()); in OnChannelOpen()
/frameworks/base/core/proto/android/app/
Dnotification.proto32 optional string channel_id = 1 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
/frameworks/support/tv-provider/api_legacy/
D27.0.0.txt255 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";
333 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";
395 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";
D26.0.0.txt252 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";
324 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";
386 field public static final java.lang.String COLUMN_CHANNEL_ID = "channel_id";

12