/frameworks/native/libs/vr/libpdx/ |
H A D | mock_tests.cpp | 2 #include <pdx/mock_client_channel.h> 3 #include <pdx/mock_client_channel_factory.h> 4 #include <pdx/mock_message_reader.h> 5 #include <pdx/mock_message_writer.h> 6 #include <pdx/mock_service_endpoint.h> 11 android::pdx::MockClientChannel client_channel; 12 android::pdx::MockClientChannelFactory client_channel_factory; 13 android::pdx::MockInputResourceMapper input_resource_mapper; 14 android::pdx::MockMessageReader message_reader; 15 android::pdx [all...] |
H A D | status.cpp | 1 #include "pdx/status.h" 3 #include <pdx/rpc/serialization.h> 7 namespace pdx { namespace in namespace:android 14 } // namespace pdx
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_manager_service.h | 4 #include <pdx/service.h> 5 #include <pdx/status.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 [all...] |
H A D | vsync_service.h | 4 #include <pdx/service.h> 21 explicit VSyncWaiter(pdx::Message& message) : message_(std::move(message)) {} 26 pdx::Status<int64_t> OnWait(pdx::Message& message); 28 pdx::Message message_; 37 class VSyncChannel : public pdx::Channel { 39 VSyncChannel(pdx::Service& service, int pid, int cid) 46 pdx::Service& service_; 55 class VSyncService : public pdx::ServiceBase<VSyncService> { 59 pdx [all...] |
H A D | display_service.h | 5 #include <pdx/service.h> 6 #include <pdx/status.h> 26 class DisplayService : public pdx::ServiceBase<DisplayService> { 31 void OnChannelClose(pdx::Message& message, 32 const std::shared_ptr<pdx::Channel>& channel) override; 33 pdx::Status<void> HandleMessage(pdx::Message& message) override; 44 pdx::Status<BorrowedNativeBufferHandle> SetupGlobalBuffer( 47 pdx::Status<void> DeleteGlobalBuffer(DvrGlobalBufferKey key); 84 pdx [all...] |
H A D | epoll_event_dispatcher.h | 13 #include <pdx/file_handle.h> 14 #include <pdx/status.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/include/ui/ |
H A D | DetachedBufferHandle.h | 20 #include <pdx/channel_handle.h> 26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be 28 // holding a pdx::LocalChannelHandle object), but future implementation can change it to a Binder 32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { 36 // Accessors to get or take the internal pdx::LocalChannelHandle. 37 pdx::LocalChannelHandle& handle() { return mHandle; } 38 const pdx::LocalChannelHandle& handle() const { return mHandle; } 44 // Constructs a DetachedBufferHandle from a pdx::LocalChannelHandle. 45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} 47 pdx [all...] |
/frameworks/native/libs/ui/include/ui/ |
H A D | DetachedBufferHandle.h | 20 #include <pdx/channel_handle.h> 26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be 28 // holding a pdx::LocalChannelHandle object), but future implementation can change it to a Binder 32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { 36 // Accessors to get or take the internal pdx::LocalChannelHandle. 37 pdx::LocalChannelHandle& handle() { return mHandle; } 38 const pdx::LocalChannelHandle& handle() const { return mHandle; } 44 // Constructs a DetachedBufferHandle from a pdx::LocalChannelHandle. 45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} 47 pdx [all...] |
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_queue_channel.h | 6 #include <pdx/status.h> 14 static pdx::Status<std::shared_ptr<ProducerQueueChannel>> Create( 19 bool HandleMessage(pdx::Message& message) override; 20 void HandleImpulse(pdx::Message& message) override; 28 pdx::Status<pdx::RemoteChannelHandle> OnCreateConsumerQueue( 29 pdx::Message& message, bool silent); 31 pdx::Status<QueueInfo> OnGetQueueInfo(pdx::Message& message); 35 pdx [all...] |
H A D | detached_buffer_channel.h | 6 #include <pdx/channel_handle.h> 7 #include <pdx/file_handle.h> 33 bool HandleMessage(pdx::Message& message) override; 34 void HandleImpulse(pdx::Message& message) override; 48 pdx::Status<BufferDescription<pdx::BorrowedHandle>> OnImport( 49 pdx::Message& message); 50 pdx::Status<pdx::RemoteChannelHandle> OnPromote(pdx [all...] |
/frameworks/native/libs/vr/libpdx_default_transport/private/servicefs/pdx/default_transport/ |
H A D | channel_manager.h | 7 namespace pdx { namespace in namespace:android 10 using ChannelManager = ::android::pdx::servicefs::ChannelManager; 13 } // namespace pdx
|
H A D | channel_parcelable.h | 7 namespace pdx { namespace in namespace:android 10 using ChannelParcelable = ::android::pdx::servicefs::ChannelParcelable; 13 } // namespace pdx
|
H A D | client_channel.h | 7 namespace pdx { namespace in namespace:android 10 using ClientChannel = ::android::pdx::servicefs::ClientChannel; 13 } // namespace pdx
|
H A D | client_channel_factory.h | 7 namespace pdx { namespace in namespace:android 10 using ClientChannelFactory = ::android::pdx::servicefs::ClientChannelFactory; 13 } // namespace pdx
|
H A D | service_endpoint.h | 7 namespace pdx { namespace in namespace:android 10 using Endpoint = ::android::pdx::servicefs::Endpoint; 13 } // namespace pdx
|
/frameworks/native/libs/vr/libpdx_default_transport/private/uds/pdx/default_transport/ |
H A D | channel_manager.h | 7 namespace pdx { namespace in namespace:android 10 using ChannelManager = ::android::pdx::uds::ChannelManager; 13 } // namespace pdx
|
H A D | channel_parcelable.h | 7 namespace pdx { namespace in namespace:android 10 using ChannelParcelable = ::android::pdx::uds::ChannelParcelable; 13 } // namespace pdx
|
H A D | client_channel.h | 7 namespace pdx { namespace in namespace:android 10 using ClientChannel = ::android::pdx::uds::ClientChannel; 13 } // namespace pdx
|
H A D | client_channel_factory.h | 7 namespace pdx { namespace in namespace:android 10 using ClientChannelFactory = ::android::pdx::uds::ClientChannelFactory; 13 } // namespace pdx
|
H A D | service_endpoint.h | 7 namespace pdx { namespace in namespace:android 10 using Endpoint = ::android::pdx::uds::Endpoint; 13 } // namespace pdx
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | client_channel_factory.h | 4 #include <pdx/client_channel.h> 5 #include <pdx/status.h> 8 namespace pdx { namespace in namespace:android 18 } // namespace pdx
|
/frameworks/native/services/vr/performanced/ |
H A D | performance_service.h | 8 #include <pdx/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 [all...] |
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
H A D | display_manager_client.h | 7 #include <pdx/client.h> 8 #include <pdx/status.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) { 33 return pdx::ErrorStatus(EINVAL);
|
H A D | display_client.h | 6 #include <pdx/client.h> 7 #include <pdx/file_handle.h> 16 class Surface : public pdx::ClientBase<Surface> { 20 static pdx::Status<std::unique_ptr<Surface>> CreateSurface( 23 pdx::Status<std::unique_ptr<Surface>> status; 35 pdx::Status<void> SetVisible(bool visible); 36 pdx::Status<void> SetZOrder(int z_order); 37 pdx::Status<void> SetAttributes(const SurfaceAttributes& attributes); 40 pdx::Status<std::unique_ptr<ProducerQueue>> CreateQueue(uint32_t width, 47 pdx [all...] |
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | client_channel_factory.h | 6 #include <pdx/client_channel_factory.h> 9 namespace pdx { namespace in namespace:android 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( 33 } // namespace pdx
|