Searched refs:client (Results 1 - 25 of 25) sorted by relevance

/development/tools/emulator/system/libqemu/
H A Dtest_host_2.c91 int sock, client; local
102 client = TFR(accept(sock, NULL, NULL));
103 if (client < 0) {
114 ret = TFR(read(client, buff, sizeof(buff)));
117 socket_close(client);
125 socket_close(client);
H A Dtest_host_1.c21 * them back to the client as is.
144 int sock, client; local
201 client = TFR(accept(sock, NULL, NULL));
202 if (client < 0) {
213 ret = TFR(read(client, buff, sizeof(buff)));
216 socket_close(client);
227 ret = TFR(write(client, p, count));
230 socket_close(client);
240 socket_close(client);
H A Dtests.mk4 # anything it receives from the client.
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
H A DUserTest.java16 package com.example.android.samplesync.client;
18 import com.example.android.samplesync.client.User;
/development/samples/Wiktionary/src/com/example/android/wiktionary/
H A DSimpleWikiHelper.java22 import org.apache.http.client.HttpClient;
23 import org.apache.http.client.methods.HttpGet;
24 import org.apache.http.impl.client.DefaultHttpClient;
174 // Create client and set our specific user-agent string
175 HttpClient client = new DefaultHttpClient();
180 HttpResponse response = client.execute(request);
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
H A DSimpleWikiHelper.java22 import org.apache.http.client.HttpClient;
23 import org.apache.http.client.methods.HttpGet;
24 import org.apache.http.impl.client.DefaultHttpClient;
181 // Create client and set our specific user-agent string
182 HttpClient client = new DefaultHttpClient();
187 HttpResponse response = client.execute(request);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
H A DNetworkUtilities.java17 package com.example.android.samplesync.client;
25 import org.apache.http.client.HttpClient;
26 import org.apache.http.client.entity.UrlEncodedFormEntity;
27 import org.apache.http.client.methods.HttpPost;
29 import org.apache.http.impl.client.DefaultHttpClient;
68 /** POST parameter name for the client's last-known sync state */
70 /** POST parameter name for the sending client-edited contact info */
H A DRawContact.java16 package com.example.android.samplesync.client;
250 * Since the user is deleted, all we need are the client/server IDs.
251 * @param clientUserId The client-side ID for the contact
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
H A DImageDownloader.java22 import org.apache.http.client.methods.HttpGet;
249 final AndroidHttpClient client = AndroidHttpClient.newInstance("Android");
258 HttpResponse response = client.execute(getRequest);
305 if (client != null) {
306 client.close();
H A DXmlDocumentProvider.java22 import org.apache.http.client.methods.HttpGet;
/development/apps/Development/src/com/android/development/
H A DConnectivity.java71 import org.apache.http.client.HttpClient;
72 import org.apache.http.client.methods.HttpGet;
77 import org.apache.http.impl.client.DefaultHttpClient;
426 HttpClient client = new DefaultHttpClient();
428 HttpResponse httpResponse = client.execute(get);
459 HttpClient client = new DefaultHttpClient(httpParams);
461 HttpResponse response = client.execute(get);
528 HttpClient client = new DefaultHttpClient(params);
530 HttpResponse response = client.execute(get);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
H A DSyncAdapter.java19 import com.example.android.samplesync.client.NetworkUtilities;
20 import com.example.android.samplesync.client.RawContact;
46 * sync between the client and a sample server. It also contains an
48 * would be useful for a messaging or social networking client.
115 // for contacts on the client. This probably won't apply to
123 // the client. This probably won't apply to
/development/ide/xcode/ports/
H A Dskia_mac.cp25 // the variable (client-specific) part is :
28 // {client}/device/build/ide/xcode/{application}
/development/tools/emulator/system/qemud/
H A Dqemud.c36 * * the client connects to /dev/socket/qemud
38 * * the client sends the service name through the socket, as
55 * after this, all messages between the client and the emulator
63 * * If the client closes the connection, qemud sends the following
77 * Internally, the daemon maintains a "Client" object for each client
975 * dummy packet with the new client socket in p->channel
1210 /* A Client object models a single qemud client socket
1213 * the client first sends the name of the system service
1220 * In case of success, the client can send messages
1251 T("%s: client
1439 Client* client = multiplexer_find_client(mult, channel); local
1455 Client* client = multiplexer_find_client(mult, channel); local
1466 Client* client = multiplexer_find_client(mult, channel); local
1495 Client* client; local
1598 Client* client = client_new( m, fd, m->fdhandlers, &m->clients ); local
[all...]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticator.java20 import com.example.android.samplesync.client.NetworkUtilities;
H A DAuthenticatorActivity.java21 import com.example.android.samplesync.client.NetworkUtilities;
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DDeviceDetailFragment.java163 // The other device acts as the client. In this case, we enable the
229 Socket client = serverSocket.accept();
241 InputStream inputstream = client.getInputStream();
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
H A DContactOperations.java20 import com.example.android.samplesync.client.NetworkUtilities;
H A DContactManager.java20 import com.example.android.samplesync.client.RawContact;
202 // client-server sync protocol. We're not using it in this example,
287 * on deleted contacts. When the user initially deletes them on the client, they're
321 * @param inSync is the add part of a client-server sync?
367 * @param inSync is the update part of a client-server sync?
456 // client, and then synced to the server. When we get the updated
466 // happen for contacts that were created on the client - we don't
672 * deletion was synced to the client.
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/widget/ ...

Completed in 538 milliseconds