/frameworks/native/services/vr/bufferhubd/ |
D | producer_queue_channel.cpp | 17 int channel_id, in ProducerQueueChannel() argument 21 : BufferHubChannel(service, channel_id, channel_id, kProducerQueueType), in ProducerQueueChannel() 37 BufferHubService* service, int channel_id, in Create() argument 52 service, channel_id, config, usage_policy, &error)); in Create() 98 return BufferInfo(channel_id(), consumer_channels_.size(), capacity_, in GetBufferInfo() 108 channel_id(), silent); in OnCreateConsumerQueue() 110 int channel_id; in OnCreateConsumerQueue() local 111 auto status = message.PushChannel(0, nullptr, &channel_id); in OnCreateConsumerQueue() 121 service(), buffer_id(), channel_id, shared_from_this(), silent); in OnCreateConsumerQueue() 130 service()->SetChannel(channel_id, consumer_queue_channel); in OnCreateConsumerQueue() [all …]
|
D | producer_channel.cpp | 29 int channel_id, IonBuffer buffer, in ProducerChannel() argument 32 : BufferHubChannel(service, buffer_id, channel_id, kProducerType), in ProducerChannel() 52 ProducerChannel::ProducerChannel(BufferHubService* service, int channel_id, in ProducerChannel() argument 57 : BufferHubChannel(service, channel_id, channel_id, kProducerType), in ProducerChannel() 135 BufferHubService* service, int buffer_id, int channel_id, IonBuffer buffer, in Create() argument 139 service, buffer_id, channel_id, std::move(buffer), in Create() 149 BufferHubService* service, int channel_id, uint32_t width, uint32_t height, in Create() argument 154 new ProducerChannel(service, channel_id, width, height, layer_count, in Create() 166 channel_id(), buffer_id(), in ~ProducerChannel() 233 channel_id(), in GetBuffer() [all …]
|
D | consumer_channel.cpp | 20 int channel_id, uint32_t client_state_mask, in ConsumerChannel() argument 22 : BufferHubChannel(service, buffer_id, channel_id, kConsumerType), in ConsumerChannel() 31 channel_id(), buffer_id()); in ~ConsumerChannel()
|
D | consumer_queue_channel.cpp | 15 BufferHubService* service, int buffer_id, int channel_id, in ConsumerQueueChannel() argument 17 : BufferHubChannel(service, buffer_id, channel_id, kConsumerQueueType), in ConsumerQueueChannel() 26 channel_id()); in ~ConsumerQueueChannel()
|
D | buffer_hub.cpp | 210 stream << (" channel_id=" + std::to_string(channel->channel_id())); in DumpState() 315 channel_id(), buffer_id()); in SignalAvailable() 328 channel_id(), buffer_id()); in ClearAvailable() 340 channel_id(), buffer_id()); in Hangup()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_endpoint.cpp | 265 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 …]
|
D | service_framework_tests.cpp | 76 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 __anon37bab8ba0111::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/ |
D | service_endpoint.h | 43 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/ |
D | service.cpp | 373 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel() argument 376 return svc->PushChannel(this, flags, channel, channel_id); in PushChannel() 384 int* channel_id) { in PushChannel() argument 386 return service->PushChannel(this, flags, channel, channel_id); in PushChannel() 473 Status<void> Service::SetChannel(int channel_id, in SetChannel() argument 478 const auto status = endpoint_->SetChannel(channel_id, channel.get()); in SetChannel() 487 channels_.erase(channel_id); in SetChannel() 490 channels_[channel_id] = channel; in SetChannel() 492 channels_.erase(channel_id); in SetChannel() 497 std::shared_ptr<Channel> Service::GetChannel(int channel_id) const { in GetChannel() [all …]
|
D | service_tests.cpp | 724 int channel_id = -1; in TEST_F() local 725 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); in TEST_F() 728 EXPECT_EQ(kTestCid, channel_id); in TEST_F() 736 int channel_id = -1; in TEST_F() local 737 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); in TEST_F() 757 int channel_id = -1; in TEST_F() local 759 message_->PushChannel(service2.get(), kFlags, nullptr, &channel_id); in TEST_F() 762 EXPECT_EQ(kTestCid, channel_id); in TEST_F()
|
/frameworks/native/libs/vr/libpdx/fuzz/ |
D | helpers.h | 76 Status<void> SetChannel(int channel_id, Channel* channel) { in SetChannel() argument 77 UNUSED(channel_id); in SetChannel() 120 Status<void> CloseChannel(int channel_id) { in CloseChannel() argument 121 UNUSED(channel_id); in CloseChannel() 127 Status<void> ModifyChannelEvents(int channel_id, int clear_mask, in ModifyChannelEvents() argument 129 UNUSED(channel_id); in ModifyChannelEvents() 143 Channel* channel, int* channel_id) { in PushChannel() argument 147 UNUSED(channel_id); in PushChannel()
|
D | message_fuzzer.cpp | 138 int channel_id = 0; in LLVMFuzzerTestOneInput() local 139 message.PushChannel(flags, channel, &channel_id); in LLVMFuzzerTestOneInput() 142 message.PushChannel(service.get(), flags, channel, &channel_id); in LLVMFuzzerTestOneInput()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | mock_service_endpoint.h | 14 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));
|
D | service_endpoint.h | 50 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;
|
D | service.h | 205 int flags, const std::shared_ptr<Channel>& channel, int* channel_id); 213 int* channel_id); 404 Status<void> SetChannel(int channel_id, 419 std::shared_ptr<Channel> GetChannel(int channel_id) const; 454 Status<void> CloseChannel(int channel_id); 463 Status<void> ModifyChannelEvents(int channel_id, int clear_mask, 486 int* channel_id); 603 bool HasChannelId(int channel_id) const { in HasChannelId() argument 605 return channels_.find(channel_id) != channels_.end(); in HasChannelId()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_manager_service.h | 20 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
|
D | display_manager_service.cpp | 49 if (display_manager_ && !HasChannelId(display_manager_->channel_id())) { in OnChannelOpen() 52 display_manager_->channel_id()); in OnChannelOpen()
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | buffer_hub.h | 31 BufferHubChannel(BufferHubService* service, int buffer_id, int channel_id, in BufferHubChannel() argument 35 channel_id_(channel_id), in BufferHubChannel() 105 int channel_id() const { return channel_id_; } in channel_id() function
|
D | producer_channel.h | 33 int buffer_id, int channel_id, 39 BufferHubService* service, int channel_id, uint32_t width, 99 ProducerChannel(BufferHubService* service, int buffer_id, int channel_id,
|
D | producer_queue_channel.h | 14 BufferHubService* service, int channel_id, 53 ProducerQueueChannel(BufferHubService* service, int channel_id,
|
D | consumer_channel.h | 18 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id,
|
D | consumer_queue_channel.h | 19 ConsumerQueueChannel(BufferHubService* service, int buffer_id, int channel_id,
|
/frameworks/base/core/proto/android/app/ |
D | notification.proto | 31 optional string channel_id = 1 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
|
/frameworks/base/core/proto/android/server/ |
D | notificationhistory.proto | 43 optional string channel_id = 5; field
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 62 optional string channel_id = 4 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
|