Searched refs:client (Results 76 - 100 of 313) sorted by last modified time

1234567891011>>

/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_display_manager.h25 // 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 Ddvr_hardware_composer_client.h17 // @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 Ddvr_vsync.h11 // 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 Dclient.cpp1 #include "pdx/client.h"
125 Transaction::Transaction(Client& client) : client_{client} {} argument
H A Dclient_tests.cpp1 #include <pdx/client.h>
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dclient.h26 * 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 Dpayload.h6 #include <pdx/client.h>
112 // Implements the payload interface for client-side RPCs. Handles gathering file
H A Dremote_method.h7 #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 Dpdx_benchmarks.cpp11 #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 Dservicetool.cpp4 #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 Dservice_utility.h6 #include <pdx/client.h>
/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel.cpp8 #include <pdx/client.h>
H A Dclient_channel_tests.cpp13 #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 Dremote_method_tests.cpp14 #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 Dservice_framework_tests.cpp16 #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 Dperformance_client.h10 #include <pdx/client.h>
/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp98 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 Dvsync_service.cpp55 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 Dvsync_service.h16 // 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 Dpose_client.h118 // 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 Dpose_client_internal.h28 int privateDvrPoseNotifyVsync(DvrPose* client, uint32_t vsync_count,
36 int privateDvrPoseGetRingBufferFd(DvrPose* client,
H A Dsensor_client.h5 #include <pdx/client.h>
/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp7 #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 DClient.cpp164 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 DLayer.cpp66 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...]

Completed in 336 milliseconds

1234567891011>>