Searched defs:server (Results 1 - 25 of 250) sorted by path

12345678910

/frameworks/av/include/private/media/
H A DAudioTrackShared.h69 volatile uint32_t server; member in struct:android::audio_track_cblk_t
81 uint32_t loopEnd; // read-only for server, read/write for client
98 // read-only for client, server writes once at initialization and is then read-only
107 // client write-only, server read-only
119 bool stepServer(uint32_t frameCount); // called by server only
123 uint32_t framesReady(); // called by server only
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp389 mNewPosition = cblk->server + mUpdatePeriod;
619 cblk->server > loopStart) {
690 mCblk->server = position;
700 *position = mFlushed ? 0 : mCblk->server;
825 // FIXME move these calculations and associated checks to server
863 // For fast tracks, the frame count calculations and checks are done by server
910 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount %u", mCblk->frameCount);
998 "user=%08x, server=%08x", this, cblk->mName, cblk->user, cblk->server);
1022 // read the server coun
1358 uint32_t server = cblk->server; local
[all...]
/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java171 InetAddress server;
235 InetAddress server = lookupHost(mServer);
236 if (server != null) {
237 if (isCaptivePortal(server)) {
278 * Do a URL fetch on a known server to see if we get the data we expect
280 private boolean isCaptivePortal(InetAddress server) { argument
284 mUrl = "http://" + server.getHostAddress() + "/generate_204";
/frameworks/base/core/java/android/server/search/
H A DSearchManagerService.java17 package android.server.search;
H A DSearchables.java17 package android.server.search;
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java27 * {@link TrustedTime} that connects with a remote NTP server as its trusted
46 private NtpTrustedTime(String server, long timeout) { argument
47 if (LOGD) Log.d(TAG, "creating NtpTrustedTime using " + server);
48 mServer = server;
67 final String server = secureServer != null ? secureServer : defaultServer;
68 sSingleton = new NtpTrustedTime(server, timeout);
77 // missing server, so no trusted time available
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java52 public String server = ""; // 2 field in class:VpnProfile
77 server = in.readString();
98 out.writeString(server);
132 profile.server = values[2];
157 builder.append('\0').append(server);
175 * both server and DNS. Server hostnames would require using DNS before
180 InetAddress.parseNumericAddress(server);
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java17 package com.android.server;
H A DResettableTimeout.java17 package com.android.server;
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp37 const char *server,
47 const char *server,
120 char server[PROPERTY_VALUE_MAX]; local
129 dns1, dns2, server, &lease, vendorInfo);
132 dns1, dns2, server, &lease, vendorInfo);
166 env->NewStringUTF(server));
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java73 * Creates the Download string for the test server.
75 * @param server url of the test server
81 public static String buildDownloadUrl(String server, int size, String deviceId, argument
83 String downloadUrl = server + "/download?size=" + size + "&device_id=" + deviceId +
119 * Post a given file for a given device and timestamp to the server.
120 * @param server {@link String} url of test server
126 public static boolean postFileToServer(String server, String deviceId, String timestamp, argument
131 String uri = server;
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java43 private MockWebServer server = new MockWebServer(); field in class:AbstractProxyTest
55 server.shutdown();
62 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
63 server.enqueue(new MockResponse()
66 server.play();
73 .register(new Scheme("https", sslSocketFactory, server.getPort()));
76 new HttpGet("https://localhost:" + server.getPort() + "/foo"));
79 RecordedRequest request = server.takeRequest();
116 server.enqueue(mockResponse);
117 server
[all...]
H A DCookiesTest.java39 private MockWebServer server = new MockWebServer(); field in class:CookiesTest
42 server.shutdown();
52 server.enqueue(new MockResponse()
54 server.play();
62 client.execute(new HttpGet(server.getUrl("/").toURI()));
80 // use a proxy so we can manipulate the origin server's host name
81 server = new MockWebServer();
82 server.enqueue(new MockResponse()
87 server.enqueue(new MockResponse()
89 server
[all...]
H A DDefaultHttpClientTest.java44 private MockWebServer server = new MockWebServer(); field in class:DefaultHttpClientTest
47 server.shutdown();
60 * DefaultHttpClient fails if the server shutdown the output after the
68 server.enqueue(new MockResponse()
71 server.enqueue(new MockResponse()
73 server.play();
77 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI()));
79 assertEquals(0, server.takeRequest().getSequenceNumber());
81 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI()));
84 assertEquals(0, server
[all...]
H A DHttpResponseCacheTest.java35 private MockWebServer server = new MockWebServer(); field in class:HttpResponseCacheTest
45 server.shutdown();
115 server.enqueue(new MockResponse()
118 server.play();
120 URLConnection c1 = server.getUrl("/").openConnection();
126 URLConnection c2 = server.getUrl("/").openConnection();
129 URLConnection c3 = server.getUrl("/").openConnection();
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp64 MtpServer* server = new MtpServer(fd, getMtpDatabase(env, javaDatabase), local
66 env->SetIntField(thiz, field_MtpServer_nativeContext, (int)server);
75 MtpServer* server = getMtpServer(env, thiz); local
76 if (server)
77 server->run();
79 ALOGE("server is null in run");
87 MtpServer* server = getMtpServer(env, thiz); local
88 if (server) {
89 delete server;
92 ALOGE("server i
101 MtpServer* server = getMtpServer(env, thiz); local
113 MtpServer* server = getMtpServer(env, thiz); local
125 MtpServer* server = getMtpServer(env, thiz); local
157 MtpServer* server = getMtpServer(env, thiz); local
[all...]
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java17 package com.android.server;
H A DAppWidgetService.java17 package com.android.server;
H A DAppWidgetServiceImpl.java17 package com.android.server;
H A DAttributeCache.java18 package com.android.server;
H A DBackupManagerService.java17 package com.android.server;
82 import com.android.server.PackageManagerBackupAgent.Metadata;
152 // Random variation in backup scheduling time to avoid server load spikes
4627 // !!! TODO: the restored data should be migrated on the server
4634 // first, then efficiency.) Once we introduce server-side data
H A DBatteryService.java17 package com.android.server;
20 import com.android.server.am.BatteryStatsService;
H A DBluetoothManagerService.java17 package com.android.server;
H A DBootReceiver.java17 package com.android.server;
H A DBrickReceiver.java17 package com.android.server;

Completed in 231 milliseconds

12345678910