/external/libvncserver/libvncclient/ |
vncviewer.c | 44 static void Dummy(rfbClient* client) { 46 static rfbBool DummyPoint(rfbClient* client, int x, int y) { 49 static void DummyRect(rfbClient* client, int x, int y, int w, int h) { 53 static char* NoPassword(rfbClient* client) { 62 static char* ReadPassword(rfbClient* client) { 66 return NoPassword(client); 91 static rfbBool MallocFrameBuffer(rfbClient* client) { 94 if(client->frameBuffer) 95 free(client->frameBuffer); 101 allocSize = (uint64_t)client->width * client->height * client->format.bitsPerPixel/8 141 rfbClient* client=(rfbClient*)calloc(sizeof(rfbClient),1); local [all...] |
listen.c | 49 listenForIncomingConnections(rfbClient* client) 59 client->listenSpecified = TRUE; 61 listenSocket = ListenAtTcpPortAndAddress(client->listenPort, client->listenAddress); 67 client->programName,client->listenPort); 69 "a connection comes in.\n", client->programName); 73 if (client->listen6Port > 0) 75 listen6Socket = ListenAtTcpPortAndAddress(client->listen6Port, client->listen6Address) [all...] |
tls.h | 24 * After authentication, client->tlsSession will be set. 26 rfbBool HandleAnonTLSAuth(rfbClient* client); 30 * After authentication, client->tlsSession will be set. 32 rfbBool HandleVeNCryptAuth(rfbClient* client); 40 int ReadFromTLS(rfbClient* client, char *out, unsigned int n); 46 int WriteToTLS(rfbClient* client, char *buf, unsigned int n); 49 void FreeTLS(rfbClient* client);
|
ultra.c | 35 HandleUltraBPP (rfbClient* client, int rx, int ry, int rw, int rh) 42 if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbZlibHeader)) 60 if ( client->raw_buffer_size < (int)uncompressedBytes) { 61 if ( client->raw_buffer != NULL ) { 62 free( client->raw_buffer ); 64 client->raw_buffer_size = uncompressedBytes; 66 if ((client->raw_buffer_size % 4)!=0) 67 client->raw_buffer_size += (4-(client->raw_buffer_size % 4)); 68 client->raw_buffer = (char*) malloc( client->raw_buffer_size ) [all...] |
zlib.c | 36 HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh) 49 if ( client->raw_buffer_size < (( rw * rh ) * ( BPP / 8 ))) { 51 if ( client->raw_buffer != NULL ) { 53 free( client->raw_buffer ); 57 client->raw_buffer_size = (( rw * rh ) * ( BPP / 8 )); 58 client->raw_buffer = (char*) malloc( client->raw_buffer_size ); 62 if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbZlibHeader)) 68 client->decompStream.next_in = ( Bytef * )client->buffer [all...] |
cursor.c | 32 ((((uint##bpp##_t)(r) & 0xFF) * client->format.redMax + 127) / 255 \ 33 << client->format.redShift | \ 34 (((uint##bpp##_t)(g) & 0xFF) * client->format.greenMax + 127) / 255 \ 35 << client->format.greenShift | \ 36 (((uint##bpp##_t)(b) & 0xFF) * client->format.blueMax + 127) / 255 \ 37 << client->format.blueShift) 46 rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc) 56 bytesPerPixel = client->format.bitsPerPixel / 8; 64 if(client->rcSource) 65 free(client->rcSource) [all...] |
tls_none.c | 24 rfbBool HandleAnonTLSAuth(rfbClient* client) 31 rfbBool HandleVeNCryptAuth(rfbClient* client) 38 int ReadFromTLS(rfbClient* client, char *out, unsigned int n) 46 int WriteToTLS(rfbClient* client, char *buf, unsigned int n) 54 void FreeTLS(rfbClient* client)
|
/external/wayland/src/ |
wayland-egl.h | 30 #include <wayland-client.h>
|
/frameworks/native/services/vr/virtual_touchpad/ |
DvrVirtualTouchpadClient.cpp | 11 android::dvr::VirtualTouchpad* FromC(DvrVirtualTouchpad* client) { 12 return reinterpret_cast<android::dvr::VirtualTouchpad*>(client); 21 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client) { 22 delete FromC(client); 25 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client) { 26 return FromC(client)->Attach(); 29 int dvrVirtualTouchpadDetach(DvrVirtualTouchpad* client) { 30 return FromC(client)->Detach(); 33 int dvrVirtualTouchpadTouch(DvrVirtualTouchpad* client, int touchpad, float x, 35 return FromC(client)->Touch(touchpad, x, y, pressure) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
ContextHubClientCallback.java | 24 * receive messages and life-cycle events from nanoapps in the Context Hub at which the client is 33 * or targeted to a specific client. 35 * the client can choose to ignore the event by filtering through the parameters. 45 * client receiving the invocation. 47 * @param client the client that is associated with this callback 50 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) {} 55 * @param client the client that is associated with this callback 57 public void onHubReset(ContextHubClient client) {} [all...] |
/frameworks/native/libs/vr/libdvr/ |
dvr_vsync.cpp | 10 std::unique_ptr<android::dvr::VSyncClient> client; member in struct:DvrVSyncClient 14 auto client = android::dvr::VSyncClient::Create(); local 15 if (!client) { 16 ALOGE("dvrVSyncClientCreate: Failed to create vsync client!"); 20 *client_out = new DvrVSyncClient{std::move(client)}; 24 void dvrVSyncClientDestroy(DvrVSyncClient* client) { delete client; } 26 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns, 29 return client->client->GetSchedInfo(vsync_period_ns, next_timestamp_ns [all...] |
/frameworks/native/services/vr/virtual_touchpad/include/dvr/ |
virtual_touchpad_client.h | 12 // Creates a new virtual touchpad client. 14 // @return Pointer to the created virtual touchpad client; nullptr on failure. 18 // Destroys a virtual touchpad client. 20 // @param client Pointer to the virtual touchpad client to be destroyed. 22 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client); 27 // the kernel virtual touchpad device(s). A single client may be attached 30 // @param client Pointer to the virtual touchpad client to be attached. 33 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client); [all...] |
/external/adhd/cras/src/libcras/ |
cras_client.h | 66 * client: The client requesting service. 77 typedef int (*cras_playback_cb_t)(struct cras_client *client, 86 * client: The client requesting service. 99 typedef int (*cras_unified_cb_t)(struct cras_client *client, 110 * client - The client created with cras_client_create(). 115 typedef int (*cras_error_cb_t)(struct cras_client *client, 132 * client - The client created with cras_client_create() [all...] |
cras_client.c | 9 * cras_client_connect - Connect client to server - sets up server_fd to 10 * communicate with the audio server. After the client connects, the server 11 * will send back a message containing the client id. 16 * the client should start receving audio events from aud_fd. This message 19 * running - Once the connections are established, the client will listen for 61 /* Commands sent from the user to the running client. */ 82 /* Adds a stream to the client. 95 /* Commands send from a running stream to the client. */ 142 * client - The client this stream is attached to 156 struct cras_client *client; member in struct:client_stream 251 struct cras_client client; member in struct:client_int 756 struct cras_client *client = (struct cras_client *)context; local 1917 struct cras_client *client = (struct cras_client *)arg; local [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/chatserver/ |
DataReader.java | 44 void beforeRead(Client client); 45 void onData(Client client, ByteBuffer buffer, int bytes);
|
ClientReader.java | 45 * Handles a cycle of reading / writing on the {@code Client}. 62 * read on the client. Handles closed channels and errors while reading. 63 * If the client is still connected a new round of actions are called. 65 public void run(final Client client) { 66 callback.beforeRead(client); 67 client.read(new CompletionHandler<Integer, ByteBuffer>() { 72 client.close(); 73 System.out.println("Closing connection to " + client); 74 chatServer.removeClient(client); [all...] |
/prebuilts/jdk/jdk8/linux-x86/sample/nio/chatserver/ |
DataReader.java | 44 void beforeRead(Client client); 45 void onData(Client client, ByteBuffer buffer, int bytes);
|
ClientReader.java | 45 * Handles a cycle of reading / writing on the {@code Client}. 62 * read on the client. Handles closed channels and errors while reading. 63 * If the client is still connected a new round of actions are called. 65 public void run(final Client client) { 66 callback.beforeRead(client); 67 client.read(new CompletionHandler<Integer, ByteBuffer>() { 72 client.close(); 73 System.out.println("Closing connection to " + client); 74 chatServer.removeClient(client); [all...] |
/system/bt/stack/l2cap/ |
l2cap_client.cc | 59 static void fragment_packet(l2cap_client_t* client, buffer_t* packet); 60 static void dispatch_fragments(l2cap_client_t* client); 100 LOG_ERROR(LOG_TAG, "%s unable to allocate space for L2CAP client list.", 119 void l2cap_client_free(l2cap_client_t* client) { 120 if (!client) return; 122 list_remove(l2cap_clients, client); 123 l2cap_client_disconnect(client); 124 list_free(client->outbound_fragments); 125 osi_free(client); 128 bool l2cap_client_connect(l2cap_client_t* client, 191 l2cap_client_t* client = find(local_channel_id); local 217 l2cap_client_t* client = find(local_channel_id); local 264 l2cap_client_t* client = find(local_channel_id); local 307 l2cap_client_t* client = find(local_channel_id); local 327 l2cap_client_t* client = find(local_channel_id); local 343 l2cap_client_t* client = find(local_channel_id); local 365 l2cap_client_t* client = find(local_channel_id); local 455 l2cap_client_t* client = (l2cap_client_t*)list_node(node); local [all...] |
/frameworks/base/media/java/android/media/ |
IMediaRouterService.aidl | 26 void registerClientAsUser(IMediaRouterClient client, String packageName, int userId); 27 void unregisterClient(IMediaRouterClient client); 29 MediaRouterClientState getState(IMediaRouterClient client); 30 boolean isPlaybackActive(IMediaRouterClient client); 32 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan); 33 void setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit); 34 void requestSetVolume(IMediaRouterClient client, String routeId, int volume); 35 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction);
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
package-info.java | 2 * Package containing all the client side adapters. These adapters have the mission of receiving 5 package com.android.layoutlib.bridge.remote.client.adapters
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wrl.h | 10 #include <wrl/client.h>
|
/external/autotest/server/site_tests/enterprise_RemoraRequisitionDisplayUsageServer/ |
enterprise_RemoraRequisitionDisplayUsageServer.py | 5 from autotest_lib.client.common_lib.cros import tpm_utils 15 self.client = host 17 tpm_utils.ClearTPMOwnerRequest(self.client) 18 autotest.Autotest(self.client).run_test( 21 tpm_utils.ClearTPMOwnerRequest(self.client)
|
/external/autotest/server/site_tests/enterprise_RemoraRequisitionServer/ |
enterprise_RemoraRequisitionServer.py | 5 from autotest_lib.client.common_lib.cros import tpm_utils 15 self.client = host 17 tpm_utils.ClearTPMOwnerRequest(self.client) 18 autotest.Autotest(self.client).run_test('enterprise_RemoraRequisition', 20 tpm_utils.ClearTPMOwnerRequest(self.client)
|
/hardware/qcom/gps/msm8909w_3100/location/ |
location_interface.h | 39 void (*addClient)(LocationAPI* client, const LocationCallbacks& callbacks); 40 void (*removeClient)(LocationAPI* client); 41 void (*requestCapabilities)(LocationAPI* client); 42 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options); 43 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options); 44 void (*stopTracking)(LocationAPI* client, uint32_t id); 45 void (*gnssNiResponse)(LocationAPI* client, uint32_t id, GnssNiResponse response); 65 void (*addClient)(LocationAPI* client, const LocationCallbacks& callbacks); 66 void (*removeClient)(LocationAPI* client); 67 void (*requestCapabilities)(LocationAPI* client); [all...] |