/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)
|
tight.c | 53 (((CARD##bpp)(r) & client->format.redMax) << client->format.redShift | \ 54 ((CARD##bpp)(g) & client->format.greenMax) << client->format.greenShift | \ 55 ((CARD##bpp)(b) & client->format.blueMax) << client->format.blueShift) 58 ((((CARD##bpp)(r) & 0xFF) * client->format.redMax + 127) / 255 \ 59 << client->format.redShift | \ 60 (((CARD##bpp)(g) & 0xFF) * client->format.greenMax + 127) / 255 \ 61 << client->format.greenShift | 624 rfbClient* client=(rfbClient*)cinfo->client_data; local 631 rfbClient* client=(rfbClient*)cinfo->client_data; local 642 rfbClient* client=(rfbClient*)cinfo->client_data; local 664 rfbClient* client=(rfbClient*)cinfo->client_data; local [all...] |
rfbproto.c | 23 * rfbproto.c - functions to deal with client side of RFB protocol. 117 /* client data */ 119 void rfbClientSetClientData(rfbClient* client, void* tag, void* data) 121 rfbClientData* clientData = client->clientData; 127 clientData->next = client->clientData; 128 client->clientData = clientData; 135 void* rfbClientGetClientData(rfbClient* client, void* tag) 137 rfbClientData* clientData = client->clientData; 150 static void FillRectangle(rfbClient* client, int x, int y, int w, int h, uint32_t colour) { 154 for(j=y*client->width;j<(y+h)*client->width;j+=client->width) [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 | 15 // Creates a new virtual touchpad client. 17 // @return Pointer to the created virtual touchpad client; nullptr on failure. 21 // Destroys a virtual touchpad client. 23 // @param client Pointer to the virtual touchpad client to be destroyed. 25 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client); 30 // the kernel virtual touchpad device(s). A single client may be attached 33 // @param client Pointer to the virtual touchpad client to be attached. 36 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client); [all...] |
/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...] |
/system/media/brillo/audio/audioservice/ |
brillo_audio_manager.cpp | 38 auto client = BrilloAudioClient::GetClientInstance(); local 39 if (!client.lock()) 42 bam->client_ = client; 53 auto client = brillo_audio_manager->client_.lock(); 54 if (!client) { 59 auto rc = client->GetDevices(flag, devices); 78 auto client = brillo_audio_manager->client_.lock(); 79 if (!client) { 82 return client->SetDevice(AUDIO_POLICY_FORCE_FOR_RECORD, 91 auto client = brillo_audio_manager->client_.lock() 127 auto client = brillo_audio_manager->client_.lock(); local 142 auto client = brillo_audio_manager->client_.lock(); local 155 auto client = brillo_audio_manager->client_.lock(); local 167 auto client = brillo_audio_manager->client_.lock(); local 178 auto client = brillo_audio_manager->client_.lock(); local 189 auto client = brillo_audio_manager->client_.lock(); local [all...] |
/system/bt/stack/l2cap/ |
l2cap_client.cc | 60 static void fragment_packet(l2cap_client_t* client, buffer_t* packet); 61 static void dispatch_fragments(l2cap_client_t* client); 101 LOG_ERROR(LOG_TAG, "%s unable to allocate space for L2CAP client list.", 120 void l2cap_client_free(l2cap_client_t* client) { 121 if (!client) return; 123 list_remove(l2cap_clients, client); 124 l2cap_client_disconnect(client); 125 list_free(client->outbound_fragments); 126 osi_free(client); 129 bool l2cap_client_connect(l2cap_client_t* client, 193 l2cap_client_t* client = find(local_channel_id); local 219 l2cap_client_t* client = find(local_channel_id); local 266 l2cap_client_t* client = find(local_channel_id); local 309 l2cap_client_t* client = find(local_channel_id); local 329 l2cap_client_t* client = find(local_channel_id); local 345 l2cap_client_t* client = find(local_channel_id); local 367 l2cap_client_t* client = find(local_channel_id); local 457 l2cap_client_t* client = (l2cap_client_t*)list_node(node); local [all...] |
/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_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)
|
/external/libdrm/tests/ |
getclient.c | 38 drm_client_t client; local 42 /* Look for client index 0. This should exist whether we're operating 46 client.idx = 0; 47 ret = ioctl(fd, DRM_IOCTL_GET_CLIENT, &client); 50 /* Look for some absurd client index and make sure it's invalid. 55 client.idx = 0x7fffffff; 56 ret = ioctl(fd, DRM_IOCTL_GET_CLIENT, &client);
|
/hardware/qcom/gps/msm8998/location/ |
location_interface.h | 38 void (*addClient)(LocationAPI* client, const LocationCallbacks& callbacks); 39 void (*removeClient)(LocationAPI* client); 40 void (*requestCapabilities)(LocationAPI* client); 41 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options); 42 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options); 43 void (*stopTracking)(LocationAPI* client, uint32_t id); 44 void (*gnssNiResponse)(LocationAPI* client, uint32_t id, GnssNiResponse response); 62 void (*addClient)(LocationAPI* client, const LocationCallbacks& callbacks); 63 void (*removeClient)(LocationAPI* client); 64 void (*requestCapabilities)(LocationAPI* client); [all...] |
/system/bt/stack/include/ |
l2cap_client.h | 29 void (*connected)(l2cap_client_t* client, void* context); 30 void (*disconnected)(l2cap_client_t* client, void* context); 31 void (*read_ready)(l2cap_client_t* client, buffer_t* packet, void* context); 32 void (*write_ready)(l2cap_client_t* client, void* context); 41 // Creates and returns a new L2CAP client object. |callbacks| must not be NULL 49 // Frees the L2CAP client object allocated with |l2cap_client_new|. |client| may 51 void l2cap_client_free(l2cap_client_t* client); 53 // Attempts to connect the |client| to a peer device specified by 60 // while |l2cap_client_is_connected|. |client| and |remote_bdaddr| must not b [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); 31 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan); 32 void setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit); 33 void requestSetVolume(IMediaRouterClient client, String routeId, int volume); 34 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction);
|
/system/tpm/tpm_manager/aidl/android/tpm_manager/ |
ITpmNvram.aidl | 23 oneway void DefineSpace(in byte[] command_proto, in ITpmManagerClient client); 25 in ITpmManagerClient client); 26 oneway void WriteSpace(in byte[] command_proto, in ITpmManagerClient client); 27 oneway void ReadSpace(in byte[] command_proto, in ITpmManagerClient client); 28 oneway void LockSpace(in byte[] command_proto, in ITpmManagerClient client); 29 oneway void ListSpaces(in byte[] command_proto, in ITpmManagerClient client); 31 in ITpmManagerClient client);
|
ITpmOwnership.aidl | 24 in ITpmManagerClient client); 26 in ITpmManagerClient client); 28 in ITpmManagerClient client);
|
/external/libvncserver/client_examples/ |
ppmtest.c | 3 * A simple example of an RFB client 12 static void PrintRect(rfbClient* client, int x, int y, int w, int h) { 16 static void SaveFramebufferAsPPM(rfbClient* client, int x, int y, int w, int h) { 20 rfbPixelFormat* pf=&client->format; 22 int row_stride=client->width*bpp; 43 fprintf(f,"P6\n# %s\n%d %d\n255\n",client->desktopName,client->width,client->height); 44 for(j=0;j<client->height*row_stride;j+=row_stride) 45 for(i=0;i<client->width*bpp;i+=bpp) 64 rfbClient* client = rfbGetClient(8,3,4); local [all...] |
/external/autotest/client/site_tests/dummy_Pass/ |
dummy_Pass.py | 5 from autotest_lib.client.bin import test 6 from autotest_lib.client.common_lib import error
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_TouchMTB.py | 7 from autotest_lib.client.bin import test 8 from autotest_lib.client.bin import utils
|