/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
D | buffer_hub_queue_client.h | 37 class BufferHubQueue : public pdx::Client { 67 pdx::Status<pdx::LocalChannelHandle> CreateConsumerQueueHandle( 72 pdx::Status<ConsumerQueueParcelable> CreateConsumerQueueParcelable( 101 pdx::Status<int> GetEventMask(int events) { in GetEventMask() 105 return pdx::ErrorStatus(EINVAL); in GetEventMask() 134 explicit BufferHubQueue(pdx::LocalChannelHandle channel); 139 pdx::Status<void> ImportQueue(); 146 pdx::Status<void> AddBuffer(const std::shared_ptr<BufferHubBase>& buffer, 151 virtual pdx::Status<void> RemoveBuffer(size_t slot); 155 virtual pdx::Status<void> FreeAllBuffers(); [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_service.h | 25 class DisplayService : public pdx::ServiceBase<DisplayService> { 30 void OnChannelClose(pdx::Message& message, 31 const std::shared_ptr<pdx::Channel>& channel) override; 32 pdx::Status<void> HandleMessage(pdx::Message& message) override; 43 pdx::Status<BorrowedNativeBufferHandle> SetupGlobalBuffer( 46 pdx::Status<void> DeleteGlobalBuffer(DvrGlobalBufferKey key); 78 pdx::Status<BorrowedNativeBufferHandle> OnGetGlobalBuffer( 79 pdx::Message& message, DvrGlobalBufferKey key); 80 pdx::Status<display::Metrics> OnGetMetrics(pdx::Message& message); 81 pdx::Status<std::string> OnGetConfigurationData( [all …]
|
D | display_manager_service.cpp | 13 using android::pdx::Channel; 14 using android::pdx::LocalChannelHandle; 15 using android::pdx::Message; 16 using android::pdx::default_transport::Endpoint; 17 using android::pdx::ErrorStatus; 18 using android::pdx::rpc::DispatchRemoteMethod; 19 using android::pdx::rpc::IfAnyOf; 20 using android::pdx::rpc::RemoteMethodError; 43 std::shared_ptr<pdx::Channel> DisplayManagerService::OnChannelOpen( in OnChannelOpen() 44 pdx::Message& message) { in OnChannelOpen() [all …]
|
D | display_manager_service.h | 18 class DisplayManager : public pdx::Channel { 41 class DisplayManagerService : public pdx::ServiceBase<DisplayManagerService> { 43 std::shared_ptr<pdx::Channel> OnChannelOpen(pdx::Message& message) override; 44 void OnChannelClose(pdx::Message& message, 45 const std::shared_ptr<pdx::Channel>& channel) override; 46 pdx::Status<void> HandleMessage(pdx::Message& message) override; 54 pdx::Status<std::vector<display::SurfaceState>> OnGetSurfaceState( 55 pdx::Message& message); 56 pdx::Status<pdx::LocalChannelHandle> OnGetSurfaceQueue(pdx::Message& message,
|
D | display_surface.h | 28 class DisplaySurface : public pdx::Channel { 30 static pdx::Status<std::shared_ptr<DisplaySurface>> Create( 67 virtual pdx::Status<pdx::LocalChannelHandle> OnCreateQueue( 68 pdx::Message& message, const ProducerQueueConfig& config) = 0; 72 pdx::Status<void> RegisterQueue( 74 pdx::Status<void> UnregisterQueue( 95 pdx::Status<void> HandleMessage(pdx::Message& message); 97 pdx::Status<void> OnSetAttributes( 98 pdx::Message& message, const display::SurfaceAttributes& attributes); 99 pdx::Status<display::SurfaceInfo> OnGetSurfaceInfo(pdx::Message& message); [all …]
|
D | display_service.cpp | 22 using android::pdx::Channel; 23 using android::pdx::ErrorStatus; 24 using android::pdx::Message; 25 using android::pdx::Status; 26 using android::pdx::default_transport::Endpoint; 27 using android::pdx::rpc::DispatchRemoteMethod; 115 void DisplayService::OnChannelClose(pdx::Message& message, in OnChannelClose() 127 Status<void> DisplayService::HandleMessage(pdx::Message& message) { in HandleMessage() 179 pdx::Message& /*message*/) { in OnGetMetrics() 194 pdx::Status<std::string> DisplayService::OnGetConfigurationData( in OnGetConfigurationData() [all …]
|
D | hardware_composer.h | 132 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetSurfaceId() 141 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetBufferId() 196 pdx::LocalHandle release_fence; 206 std::tuple<int, int, int, sp<GraphicBuffer>, pdx::LocalHandle, std::size_t> 220 return std::make_tuple(0, 0, -1, nullptr, pdx::LocalHandle{}, 0); in Acquire() 224 void Finish(pdx::LocalHandle fence) { release_fence = std::move(fence); } in Finish() 252 std::tuple<int, int, int, sp<GraphicBuffer>, pdx::LocalHandle, std::size_t> 256 buffer->buffer(), pdx::LocalHandle{}, 0); in Acquire() 258 return std::make_tuple(0, 0, -1, nullptr, pdx::LocalHandle{}, 0); in Acquire() 261 void Finish(pdx::LocalHandle /*fence*/) {} in Finish() [all …]
|
D | acquired_buffer.h | 15 static constexpr int kEmptyFence = pdx::LocalHandle::kEmptyFileHandle; 24 pdx::LocalHandle acquire_fence, std::size_t slot = 0); 57 pdx::LocalHandle ClaimAcquireFence(); 67 int Release(pdx::LocalHandle release_fence = {}); 77 mutable pdx::LocalHandle acquire_fence_;
|
D | epoll_event_dispatcher.h | 31 pdx::Status<void> AddEventHandler(int fd, int event_mask, Handler handler); 32 pdx::Status<void> RemoveEventHandler(int fd); 56 pdx::LocalHandle epoll_fd_; 57 pdx::LocalHandle event_fd_;
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | producer_queue_channel.h | 13 static pdx::Status<std::shared_ptr<ProducerQueueChannel>> Create( 18 bool HandleMessage(pdx::Message& message) override; 19 void HandleImpulse(pdx::Message& message) override; 27 pdx::Status<pdx::RemoteChannelHandle> OnCreateConsumerQueue( 28 pdx::Message& message, bool silent); 30 pdx::Status<QueueInfo> OnGetQueueInfo(pdx::Message& message); 34 pdx::Status<std::vector<std::pair<pdx::RemoteChannelHandle, size_t>>> 35 OnProducerQueueAllocateBuffers(pdx::Message& message, uint32_t width, 42 pdx::Status<size_t> OnProducerQueueInsertBuffer(pdx::Message& message, int buffer_cid); 46 pdx::Status<void> OnProducerQueueRemoveBuffer(pdx::Message& message, [all …]
|
D | producer_channel.h | 26 using Message = pdx::Message; 27 using BorrowedHandle = pdx::BorrowedHandle; 28 using RemoteChannelHandle = pdx::RemoteChannelHandle; 30 using BufferWrapper = pdx::rpc::BufferWrapper<T>; 38 static pdx::Status<std::shared_ptr<ProducerChannel>> Create( 56 pdx::Status<RemoteChannelHandle> CreateConsumer(Message& message, 58 pdx::Status<uint32_t> CreateConsumerStateMask(); 59 pdx::Status<RemoteChannelHandle> OnNewConsumer(Message& message); 61 pdx::Status<LocalFence> OnConsumerAcquire(Message& message); 62 pdx::Status<void> OnConsumerRelease(Message& message, [all …]
|
D | buffer_hub.h | 21 class BufferHubChannel : public pdx::Channel { 39 virtual bool HandleMessage(pdx::Message& message) = 0; 40 virtual void HandleImpulse(pdx::Message& message) = 0; 130 class BufferHubService : public pdx::ServiceBase<BufferHubService> { 135 pdx::Status<void> HandleMessage(pdx::Message& message) override; 136 void HandleImpulse(pdx::Message& message) override; 144 pdx::Status<void> OnCreateBuffer(pdx::Message& message, uint32_t width, 147 pdx::Status<QueueInfo> OnCreateProducerQueue( 148 pdx::Message& message, const ProducerQueueConfig& producer_config,
|
D | consumer_channel.h | 14 using BorrowedHandle = pdx::BorrowedHandle; 15 using Channel = pdx::Channel; 16 using Message = pdx::Message; 36 pdx::Status<BufferDescription<BorrowedHandle>> OnGetBuffer(Message& message); 38 pdx::Status<LocalFence> OnConsumerAcquire(Message& message); 39 pdx::Status<void> OnConsumerRelease(Message& message,
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | display_client.h | 15 class Surface : public pdx::ClientBase<Surface> { 19 static pdx::Status<std::unique_ptr<Surface>> CreateSurface( in CreateSurface() 22 pdx::Status<std::unique_ptr<Surface>> status; in CreateSurface() 34 pdx::Status<void> SetVisible(bool visible); 35 pdx::Status<void> SetZOrder(int z_order); 36 pdx::Status<void> SetAttributes(const SurfaceAttributes& attributes); 39 pdx::Status<std::unique_ptr<ProducerQueue>> CreateQueue(uint32_t width, 46 pdx::Status<std::unique_ptr<ProducerQueue>> CreateQueue(uint32_t width, 64 explicit Surface(pdx::LocalChannelHandle channel_handle, 71 class DisplayClient : public pdx::ClientBase<DisplayClient> { [all …]
|
D | display_manager_client.h | 19 class DisplayManagerClient : public pdx::ClientBase<DisplayManagerClient> { 23 pdx::Status<std::vector<SurfaceState>> GetSurfaceState(); 24 pdx::Status<std::unique_ptr<ConsumerQueue>> GetSurfaceQueue(int surface_id, 29 pdx::Status<int> GetEventMask(int events) { in GetEventMask() 33 return pdx::ErrorStatus(EINVAL); in GetEventMask()
|
/frameworks/native/services/vr/performanced/ |
D | performance_service.h | 20 class PerformanceService : public pdx::ServiceBase<PerformanceService> { 22 pdx::Status<void> HandleMessage(pdx::Message& message) override; 32 pdx::Status<void> OnSetSchedulerPolicy(pdx::Message& message, pid_t task_id, 35 pdx::Status<void> OnSetCpuPartition(pdx::Message& message, pid_t task_id, 37 pdx::Status<void> OnSetSchedulerClass(pdx::Message& message, pid_t task_id, 39 pdx::Status<std::string> OnGetCpuPartition(pdx::Message& message, 59 std::function<bool(const pdx::Message& message, const Task& task)> 66 bool IsAllowed(const pdx::Message& sender, const Task& task) const { in IsAllowed() 78 std::function<bool(const pdx::Message& message, const Task& task)>
|
/frameworks/native/libs/vr/libpdx/ |
D | mock_tests.cpp | 11 android::pdx::MockClientChannel client_channel; in TEST() 12 android::pdx::MockClientChannelFactory client_channel_factory; in TEST() 13 android::pdx::MockInputResourceMapper input_resource_mapper; in TEST() 14 android::pdx::MockMessageReader message_reader; in TEST() 15 android::pdx::MockOutputResourceMapper output_resource_mapper; in TEST() 16 android::pdx::MockMessageWriter message_writer; in TEST() 17 android::pdx::MockEndpoint endpoint; in TEST()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_tests.cpp | 24 using android::pdx::ClientBase; 25 using android::pdx::LocalChannelHandle; 26 using android::pdx::LocalHandle; 27 using android::pdx::Message; 28 using android::pdx::ServiceBase; 29 using android::pdx::ServiceDispatcher; 30 using android::pdx::Status; 31 using android::pdx::rpc::DispatchRemoteMethod; 32 using android::pdx::uds::ClientChannel; 33 using android::pdx::uds::ClientChannelFactory; [all …]
|
D | service_framework_tests.cpp | 26 using android::pdx::BorrowedChannelHandle; 27 using android::pdx::Channel; 28 using android::pdx::ChannelReference; 29 using android::pdx::ClientBase; 30 using android::pdx::ErrorStatus; 31 using android::pdx::LocalChannelHandle; 32 using android::pdx::LocalHandle; 33 using android::pdx::Message; 34 using android::pdx::MessageInfo; 35 using android::pdx::RemoteChannelHandle; [all …]
|
/frameworks/native/libs/vr/libdisplay/ |
D | display_manager_client.cpp | 8 using android::pdx::ErrorStatus; 9 using android::pdx::LocalChannelHandle; 10 using android::pdx::Transaction; 17 : BASE(pdx::default_transport::ClientChannelFactory::Create( in DisplayManagerClient() 22 pdx::Status<std::vector<display::SurfaceState>> 34 pdx::Status<std::unique_ptr<ConsumerQueue>>
|
D | display_client.cpp | 13 using android::pdx::ErrorStatus; 14 using android::pdx::LocalHandle; 15 using android::pdx::LocalChannelHandle; 16 using android::pdx::Status; 17 using android::pdx::Transaction; 18 using android::pdx::rpc::IfAnyOf; 25 : BASE{pdx::default_transport::ClientChannel::Create( in Surface() 42 : BASE{pdx::default_transport::ClientChannelFactory::Create( in Surface() 157 : BASE(pdx::default_transport::ClientChannelFactory::Create( in DisplayClient() 190 pdx::Status<std::unique_ptr<IonBuffer>> DisplayClient::SetupGlobalBuffer( in SetupGlobalBuffer() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | client_channel_factory.h | 9 namespace pdx { 12 class ClientChannelFactory : public pdx::ClientChannelFactory { 14 static std::unique_ptr<pdx::ClientChannelFactory> Create( 16 static std::unique_ptr<pdx::ClientChannelFactory> Create(LocalHandle socket); 18 Status<std::unique_ptr<pdx::ClientChannel>> Connect(
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | buffer_hub_base.h | 13 class BufferHubBase : public pdx::Client { 15 using LocalHandle = pdx::LocalHandle; 16 using LocalChannelHandle = pdx::LocalChannelHandle; 18 using Status = pdx::Status<T>; 48 return pdx::ErrorStatus(EINVAL); in GetEventMask() 52 std::vector<pdx::ClientChannel::EventSource> GetEventSources() const { in GetEventSources()
|
/frameworks/native/services/vr/bufferhubd/ |
D | consumer_channel.cpp | 9 using android::pdx::BorrowedHandle; 10 using android::pdx::Channel; 11 using android::pdx::ErrorStatus; 12 using android::pdx::Message; 13 using android::pdx::Status; 14 using android::pdx::rpc::DispatchRemoteMethod;
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub_base.cpp | 8 using android::pdx::LocalChannelHandle; 9 using android::pdx::LocalHandle; 10 using android::pdx::Status; 11 using android::pdx::default_transport::ClientChannel; 12 using android::pdx::default_transport::ClientChannelFactory; 18 : Client{pdx::default_transport::ClientChannel::Create( in BufferHubBase() 23 : Client{pdx::default_transport::ClientChannelFactory::Create( in BufferHubBase()
|