Home
last modified time | relevance | path

Searched refs:pdx (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dproducer_queue_channel.h13 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 …]
Dproducer_channel.h26 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 …]
Dbuffer_hub.h21 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,
Dconsumer_channel.h14 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/services/vr/performanced/
Dperformance_service.h20 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/
Dmock_tests.cpp11 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/
Dclient_channel_tests.cpp24 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 …]
Dclient_channel_factory.cpp20 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()
Dservice_framework_tests.cpp26 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/libpdx_uds/private/uds/
Dclient_channel_factory.h9 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(
Dclient_channel.h13 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/
Dbuffer_hub_base.h13 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()
Dbufferhub_rpc.h153 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/
Dconsumer_channel.cpp9 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;
Dconsumer_queue_channel.cpp5 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/
Dbuffer_hub_base.cpp8 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/
Dserializable.h15 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/
Dsurfaceflinger.rc8 …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/
Dpdx_tool.cpp13 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()
/frameworks/native/libs/vr/libpdx_default_transport/private/uds/pdx/default_transport/
Dchannel_manager.h7 namespace pdx {
10 using ChannelManager = ::android::pdx::uds::ChannelManager;
Dclient_channel_factory.h7 namespace pdx {
10 using ClientChannelFactory = ::android::pdx::uds::ClientChannelFactory;
Dservice_endpoint.h7 namespace pdx {
10 using Endpoint = ::android::pdx::uds::Endpoint;
/frameworks/native/libs/vr/libpdx_default_transport/private/servicefs/pdx/default_transport/
Dclient_channel_factory.h7 namespace pdx {
10 using ClientChannelFactory = ::android::pdx::servicefs::ClientChannelFactory;
Dclient_channel.h7 namespace pdx {
10 using ClientChannel = ::android::pdx::servicefs::ClientChannel;
Dservice_endpoint.h7 namespace pdx {
10 using Endpoint = ::android::pdx::servicefs::Endpoint;

12345