/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 …]
|
D | buffer_hub_queue_parcelable.h | 39 std::unique_ptr<pdx::ChannelParcelable> channel_parcelable) in BufferHubQueueParcelable() 49 pdx::LocalChannelHandle TakeChannelHandle(); 63 std::unique_ptr<pdx::ChannelParcelable> channel_parcelable_;
|
/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/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() 194 pdx::Status<std::unique_ptr<IonBuffer>> DisplayClient::SetupGlobalBuffer( in SetupGlobalBuffer() [all …]
|
/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 …]
|
D | client_channel_factory.cpp | 20 namespace pdx { namespace 45 std::unique_ptr<pdx::ClientChannelFactory> ClientChannelFactory::Create( in Create() 47 return std::unique_ptr<pdx::ClientChannelFactory>{ in Create() 51 std::unique_ptr<pdx::ClientChannelFactory> ClientChannelFactory::Create( in Create() 53 return std::unique_ptr<pdx::ClientChannelFactory>{ in Create() 57 Status<std::unique_ptr<pdx::ClientChannel>> ClientChannelFactory::Connect( in Connect()
|
/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(
|
D | client_channel.h | 13 namespace pdx { 16 class ClientChannel : public pdx::ClientChannel { 20 static std::unique_ptr<pdx::ClientChannel> Create( 80 std::unique_ptr<pdx::ChannelParcelable> TakeChannelParcelable() override;
|
/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()
|
D | bufferhub_rpc.h | 153 using BorrowedNativeBufferHandle = NativeBufferHandle<pdx::BorrowedHandle>; 154 using LocalNativeBufferHandle = NativeBufferHandle<pdx::LocalHandle>; 173 FenceHandle<pdx::BorrowedHandle> borrow() const { in borrow() 174 return FenceHandle<pdx::BorrowedHandle>(fence_.Borrow()); in borrow() 186 using LocalFence = FenceHandle<pdx::LocalHandle>; 187 using BorrowedFence = FenceHandle<pdx::BorrowedHandle>; 327 using LocalChannelHandle = pdx::LocalChannelHandle; 328 using LocalHandle = pdx::LocalHandle; 329 using Void = pdx::rpc::Void;
|
/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;
|
D | consumer_queue_channel.cpp | 5 using android::pdx::ErrorStatus; 6 using android::pdx::RemoteChannelHandle; 7 using android::pdx::Status; 8 using android::pdx::rpc::DispatchRemoteMethod; 9 using android::pdx::rpc::RemoteMethodError;
|
/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()
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | serializable.h | 15 namespace pdx { 129 ::android::pdx::rpc::MemberPointer<decltype(&type::member), &type::member> 140 friend class ::android::pdx::rpc::SerializableTraits; \ 142 friend struct ::android::pdx::rpc::HasSerializableMembers; \ 143 using SerializableMembers = ::android::pdx::rpc::SerializableMembersType< \
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger.rc | 8 …socket pdx/system/vr/display/client stream 0666 system graphics u:object_r:pdx_display_client_… 9 …socket pdx/system/vr/display/manager stream 0666 system graphics u:object_r:pdx_display_manager… 10 …socket pdx/system/vr/display/vsync stream 0666 system graphics u:object_r:pdx_display_vsync_e…
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | pdx_tool.cpp | 13 using android::pdx::default_transport::ClientChannelFactory; 20 class ControlClient : public android::pdx::ClientBase<ControlClient> { 55 android::pdx::Transaction trans{*this}; in Reload() 56 auto status = trans.Send<void>(android::pdx::opcodes::REPORT_SYSPROP_CHANGE, in Reload() 65 android::pdx::Transaction trans{*this}; in Dump() 67 auto status = trans.Send<int>(android::pdx::opcodes::DUMP_STATE, nullptr, 0, in Dump()
|