/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_display_manager.h | 25 // Destroys the display manager client object. 26 void dvrDisplayManagerDestroy(DvrDisplayManager* client); 31 int dvrDisplayManagerSetupNamedBuffer(DvrDisplayManager* client, 40 int dvrDisplayManagerGetEventFd(DvrDisplayManager* client); 47 int dvrDisplayManagerTranslateEpollEventMask(DvrDisplayManager* client, 53 int dvrDisplayManagerGetSurfaceState(DvrDisplayManager* client, 60 int dvrDisplayManagerGetReadBufferQueue(DvrDisplayManager* client,
|
H A D | dvr_hardware_composer_client.h | 17 // @param client_state Pointer to client state passed in |dvrHwcCreateClient()|. 18 // @param frame New frame. Owned by the client. 23 // @param client_state Pointer to client state passed back in the callback. 27 void dvrHwcClientDestroy(DvrHwcClient* client);
|
H A D | dvr_vsync.h | 11 // Creates a new client to the system vsync service. 14 // Destroys the vsync client. 15 void dvrVSyncClientDestroy(DvrVSyncClient* client); 20 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns,
|
/frameworks/native/libs/vr/libpdx/ |
H A D | client.cpp | 1 #include "pdx/client.h" 125 Transaction::Transaction(Client& client) : client_{client} {} argument
|
H A D | client_tests.cpp | 1 #include <pdx/client.h>
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | client.h | 26 * Base class of client-side service API classes. 95 * Returns true if the client is connected to the service, false otherwise. 112 * Returns an fd that the client may use to check/wait for asynchronous 152 * Utility template base class for client-side service API classes. Handles 162 // Type of the client this class wraps. 166 "The provided parent client is not a Client subclass."); 182 std::unique_ptr<T> client(new T(std::forward<Args>(args)...)); 183 if (client->IsInitialized()) 184 return client; 208 Transaction(Client& client); [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | payload.h | 6 #include <pdx/client.h> 112 // Implements the payload interface for client-side RPCs. Handles gathering file
|
H A D | remote_method.h | 7 #include <pdx/client.h> 120 // Returns an error code from a remote method to the client. May be called 129 // Returns a value from a remote method to the client. The usual method to 328 // Definitions for template methods declared in pdx/client.h. 336 static typename rpc::EnableIfDirectReturn<R, Status<R>> Invoke(Client& client, argument 338 Transaction trans{client}; 347 Client& client, Args... args) { 348 Transaction trans{client}; 390 Client& client, R* return_value, Args... args) { 391 Transaction trans{client}; 346 Invoke( Client& client, Args... args) argument 389 InvokeInPlace( Client& client, R* return_value, Args... args) argument 410 InvokeInPlace( Client& client, R* return_value, Args... args) argument [all...] |
/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | pdx_benchmarks.cpp | 11 #include <pdx/client.h> 138 // Opcodes for client/service protocol. 184 const char kOptionClient[] = "client"; 407 // Implements the client side of the benchmark. 573 // Start the requested number of client threads. 604 std::cerr << "Starting client thread " << thread_id_counter << " service " 616 SetThreadName("client" + std::to_string(thread_id) + "/" + 621 auto client = 623 if (!client) { 624 std::cerr << "Failed to create client fo [all...] |
H A D | servicetool.cpp | 4 #include <pdx/client.h> 119 auto client = ControlClient::Create(service_path, kClientTimeoutMs); local 120 if (!client) { 126 client->Reload(); 139 auto client = ControlClient::Create(service_path, kClientTimeoutMs); local 140 if (!client) { 146 std::string response = client->Dump();
|
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/ |
H A D | service_utility.h | 6 #include <pdx/client.h>
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel.cpp | 8 #include <pdx/client.h>
|
H A D | client_channel_tests.cpp | 13 #include <pdx/client.h> 138 auto worker = [](std::shared_ptr<TestClient> client, 143 ASSERT_EQ(expected, client->Sum(data)); 147 // Start client threads.
|
H A D | remote_method_tests.cpp | 14 #include <pdx/client.h> 54 // Defines a serializable user type that may be transferred between client and 128 // Defines the contract between the client and service, including ServiceFS 189 // Test client to send messages to the test service. 550 // thread, either the service or client must be destroyed before stopping the 553 // stopping the dispatcher the client destructor will get blocked waiting for a 593 // Create a client to service. 594 auto client = TestClient::Create(); local 595 ASSERT_NE(nullptr, client); 597 const int sum = client 647 auto client = TestClient::Create(); local 691 auto client = TestClient::Create(); local 716 auto client = TestClient::Create(); local 731 auto client = TestClient::Create(); local 755 auto client = TestClient::Create(); local [all...] |
H A D | service_framework_tests.cpp | 16 #include <pdx/client.h> 71 // The test service creates a TestChannel for every client (channel) that 72 // connects. This represents the service-side context for each client. 260 // Test client to send messages to the test service. 269 // Requests the test channel to be set to this client's channel. 275 // Request the test channel to be set to this client's channel using an async 287 // Requests the channel id for this client. 413 // thread, order is important; either the service or the client must be 416 // destruction. If this happens after the dispatcher is stopped the client 454 // Create a client t 455 auto client = TestClient::Create(kTestService1); local 477 auto client = TestClient::Create(kTestService1); local 567 auto client = TestClient::Create(kTestService1); local 614 auto client = TestClient::Create(kTestService1); local 635 auto client = TestClient::Create(kTestService1); local 658 auto client = TestClient::Create(kTestService1); local 675 auto client = TestClient::Create(kTestService1); local [all...] |
/frameworks/native/libs/vr/libperformance/include/private/dvr/ |
H A D | performance_client.h | 10 #include <pdx/client.h>
|
/frameworks/native/libs/vr/libperformance/ |
H A D | performance_client.cpp | 98 if (auto client = android::dvr::PerformanceClient::Create(&error)) 99 return client->SetCpuPartition(task_id, partition); 107 if (auto client = android::dvr::PerformanceClient::Create(&error)) 108 return client->SetSchedulerClass(task_id, scheduler_class); 115 if (auto client = android::dvr::PerformanceClient::Create(&error)) 116 return client->GetCpuPartition(task_id, partition, size);
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | vsync_service.cpp | 55 auto client = std::make_shared<VSyncChannel>(*this, info.pid, info.cid); local 56 AddClient(client); 58 return client; 63 auto client = std::static_pointer_cast<VSyncChannel>(channel); local 64 if (!client) { 69 RemoveClient(client); 78 void VSyncService::AddClient(const std::shared_ptr<VSyncChannel>& client) { argument 80 clients_.push_back(client); 83 void VSyncService::RemoveClient(const std::shared_ptr<VSyncChannel>& client) { argument 85 clients_.remove(client); 139 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); local 149 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); local 186 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); local [all...] |
H A D | vsync_service.h | 16 // VSyncWaiter encapsulates a client blocked waiting for the next vsync. 35 // VSyncChannel manages the service-side per-client context for each client 86 void AddClient(const std::shared_ptr<VSyncChannel>& client); 87 void RemoveClient(const std::shared_ptr<VSyncChannel>& client);
|
/frameworks/native/libs/vr/libvrsensor/include/dvr/ |
H A D | pose_client.h | 118 // Creates a new pose client. 120 // @return Pointer to the created pose client, nullptr on failure. 123 // Destroys a pose client. 125 // @param client Pointer to the pose client to be destroyed. 126 void dvrPoseDestroy(DvrPose* client); 130 // @param client Pointer to the pose client. 135 int dvrPoseGet(DvrPose* client, uint32_t vsync_count, DvrPoseAsync* out_pose); 138 uint32_t dvrPoseGetVsyncCount(DvrPose* client); [all...] |
/frameworks/native/libs/vr/libvrsensor/include/private/dvr/ |
H A D | pose_client_internal.h | 28 int privateDvrPoseNotifyVsync(DvrPose* client, uint32_t vsync_count, 36 int privateDvrPoseGetRingBufferFd(DvrPose* client,
|
H A D | sensor_client.h | 5 #include <pdx/client.h>
|
/frameworks/native/libs/vr/libvrsensor/ |
H A D | pose_client.cpp | 7 #include <pdx/client.h> 31 static PoseClient* FromC(DvrPose* client) { argument 32 return reinterpret_cast<PoseClient*>(client); 281 PoseClient* client = PoseClient::Create().release(); local 282 return reinterpret_cast<DvrPose*>(client); 285 void dvrPoseDestroy(DvrPose* client) { delete PoseClient::FromC(client); } argument 287 int dvrPoseGet(DvrPose* client, uint32_t vsync_count, DvrPoseAsync* out_pose) { argument 288 return PoseClient::FromC(client)->GetPose(vsync_count, out_pose); 291 uint32_t dvrPoseGetVsyncCount(DvrPose* client) { argument 295 dvrPoseGetController(DvrPose* client, int32_t controller_id, uint32_t vsync_count, DvrPoseAsync* out_pose) argument 301 dvrPoseLogController(DvrPose* client, bool enable) argument 305 dvrPosePoll(DvrPose* client, DvrPoseState* state) argument 309 dvrPoseFreeze(DvrPose* client, const DvrPoseState* frozen_state) argument 313 dvrPoseSetMode(DvrPose* client, DvrPoseMode mode) argument 317 dvrPoseGetMode(DvrPose* client, DvrPoseMode* mode) argument 321 dvrPoseGetRingBuffer(DvrPose* client, DvrPoseRingBufferInfo* out_info) argument 325 privateDvrPoseNotifyVsync(DvrPose* client, uint32_t vsync_count, int64_t display_timestamp, int64_t display_period_ns, int64_t right_eye_photon_offset_ns) argument 334 privateDvrPoseGetRingBufferFd(DvrPose* client, LocalHandle* fd) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 164 Client* client; member in class:android::MessageCreateLayer 177 const String8& name, Client* client, 182 : flinger(flinger), client(client), 189 result = flinger->createLayer(name, client, w, h, format, flags, 176 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, uint32_t windowType, uint32_t ownerUid, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument
|
H A D | Layer.cpp | 66 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, argument 98 mClientRef(client), 916 // NOTE: buffer can be NULL if the client never drew into this 1047 // SurfaceView because the WindowManager can't know when the client 1598 // the size changed, we need to ask our client to request a new buffer 1624 // record the new size, form this point on, when the client request 2374 sp<Client> client(mClientRef.promote()); 2385 " client=%p\n", 2397 client.get()); 2560 sp<Client> client(chil [all...] |