Searched refs:client (Results 1 - 25 of 242) sorted by last modified time

12345678910

/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorFilter.java39 CursorFilter(CursorFilterClient client) { argument
40 mClient = client;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java156 ClientRecord client = new ClientRecord(messenger, version);
157 if (client.register()) {
158 mClients.add(client);
160 Log.d(TAG, client + ": Registered, version=" + version);
178 ClientRecord client = mClients.remove(index);
180 Log.d(TAG, client + ": Unregistered");
182 client.dispose();
192 ClientRecord client = mClients.remove(index);
194 Log.d(TAG, client + ": Binder died");
196 client
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHttpClientStack.java26 import org.apache.http.client.HttpClient;
27 import org.apache.http.client.methods.HttpDelete;
28 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
29 import org.apache.http.client.methods.HttpGet;
30 import org.apache.http.client.methods.HttpHead;
31 import org.apache.http.client.methods.HttpOptions;
32 import org.apache.http.client.methods.HttpPost;
33 import org.apache.http.client.methods.HttpPut;
34 import org.apache.http.client.methods.HttpTrace;
35 import org.apache.http.client
55 HttpClientStack(HttpClient client) argument
[all...]
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpClient.java26 import org.apache.http.client.HttpClient;
27 import org.apache.http.client.ResponseHandler;
28 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DHttpClientStackTest.java23 import org.apache.http.client.methods.HttpDelete;
24 import org.apache.http.client.methods.HttpGet;
25 import org.apache.http.client.methods.HttpHead;
26 import org.apache.http.client.methods.HttpOptions;
27 import org.apache.http.client.methods.HttpPost;
28 import org.apache.http.client.methods.HttpPut;
29 import org.apache.http.client.methods.HttpTrace;
30 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/rs/api/
H A Drs_io.spec21 <li>Send information to the Java client, and</li>
59 summary: Send a message to the client, non-blocking
61 Sends a message back to the client. This call does not block.
82 summary: Send a message to the client, blocking
84 Sends a message back to the client. This function will block
87 processed by the client.
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsClient.java135 ComponentName name, CustomTabsClient client) {
136 client.warmup(0);
173 * then later with a Custom Tab. The client can then send later service calls or intents to
175 * @param callback The callback through which the client will receive updates about the created
177 * @return The session object that was created as a result of the transaction. The client can
H A DCustomTabsServiceConnection.java25 * client implementing this is responsible for handling changes related with the lifetime of the
40 * @param client {@link CustomTabsClient} that contains the {@link IBinder} with which the
42 * using this client.
44 public abstract void onCustomTabsServiceConnected(ComponentName name, CustomTabsClient client); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManager.java659 String client = context.getPackageManager().getNameForUid(
662 if (!mCellBroadcastRangeManager.enableRange(startMessageId, endMessageId, client)) {
664 + " to " + endMessageId + " from client " + client);
670 + " to " + endMessageId + " from client " + client);
685 String client = context.getPackageManager().getNameForUid(
688 if (!mCellBroadcastRangeManager.disableRange(startMessageId, endMessageId, client)) {
690 + " to " + endMessageId + " from client " + client);
[all...]
H A DIntRangeManager.java37 * client that enabled that range (or else rejected).
49 * <p>When a client is added, the IntRange may merge with one or more
51 * <p>When a client is removed, the IntRange may divide into several
61 * Create a new IntRange with a single client.
64 * @param client the client requesting the enabled range
66 IntRange(int startId, int endId, String client) { argument
70 mClients.add(new ClientRange(startId, endId, client));
118 // ignore duplicate ranges from the same client
125 // there may be more client followin
152 ClientRange(int startId, int endId, String client) argument
193 enableRange(int startId, int endId, String client) argument
437 disableRange(int startId, int endId, String client) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DIntRangeManagerTest.java607 TestIntRangeManager testManager, int startId, int endId, String client) {
610 assertTrue("enabling range", testManager.enableRange(startId, endId, client));
606 verifyAddChannel( TestIntRangeManager testManager, int startId, int endId, String client) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DRttService.java63 Slog.e(TAG, "Send failed, client connection lost");
67 if (DBG) Slog.d(TAG, "closing client " + msg.replyTo);
74 ClientInfo client = new ClientInfo(ac, msg.replyTo);
75 mClients.put(msg.replyTo, client);
83 Slog.e(TAG, "Could not find client info for message " + msg.replyTo);
250 // When client is lost, clean up responder requests and send disable responder
308 ClientInfo client = mClients.get(msg.replyTo);
309 if (client == null) {
310 Log.e(TAG, "client not connected yet!");
314 client
[all...]
H A DWifiConfigManager.java3065 String client = config.getClientCertificateAlias();
3066 if (!TextUtils.isEmpty(client)) {
3067 // a valid client certificate is configured
3081 if (DBG) Slog.d(TAG, "Loading client certificate " + Credentials
3082 .USER_CERTIFICATE + client);
3090 byte[] certBytes = keyStore.get(Credentials.USER_CERTIFICATE + client);
3098 if (DBG) Slog.d(TAG, "Loaded client certificate " + Credentials
3099 .USER_CERTIFICATE + client);
3106 Slog.e(TAG, "Could not load client certificate " + Credentials
3107 .USER_CERTIFICATE + client);
[all...]
H A DWifiConfigStore.java197 java.lang.String client = config.getClientCertificateAlias();
198 if (!TextUtils.isEmpty(client)) {
199 // a valid client certificate is configured
509 // Remove client key+cert
561 String client = config.getClientCertificateAlias();
562 // a valid client certificate is configured
563 if (!TextUtils.isEmpty(client)) {
564 if (DBG) Log.d(TAG, "removing client private key and user cert");
565 mKeyStore.delete(Credentials.USER_PRIVATE_KEY + client, Process.WIFI_UID);
566 mKeyStore.delete(Credentials.USER_CERTIFICATE + client, Proces
[all...]
H A DWifiTrafficPoller.java104 void addClient(Messenger client) { argument
105 Message.obtain(mTrafficHandler, ADD_CLIENT, client).sendToTarget();
108 void removeClient(Messenger client) { argument
109 Message.obtain(mTrafficHandler, REMOVE_CLIENT, client).sendToTarget();
213 for (Messenger client : mClients) {
218 client.send(msg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
H A DWifiNanStateManager.java553 WifiNanClientState client = mClients.get(uid);
554 if (client == null) {
556 "getAndRegisterTransactionId: no client exists for uid=" + uid);
558 info.mClient = client;
632 WifiNanClientState client = new WifiNanClientState(uid, listener, events);
633 mClients.put(uid, client);
641 WifiNanClientState client = mClients.get(uid);
644 if (client == null) {
663 client.destroy();
681 WifiNanClientState client
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java98 * Note that the term Wifi when used without a p2p suffix refers to the client mode
312 * Handles client connections
461 * Get a reference to handler. This is used by a client to establish
688 loge("Send failed, client connection lost");
1809 if (DBG) logd("Remove unknown client from the list");
1942 // after a client joins. For autonomous, send now
1977 if (DBG) logd("Removed client " + deviceAddress);
1984 // Notify when a client disconnects from group
1988 if (DBG) logd("Failed to remove client " + deviceAddress);
1990 if (DBG) logd("client "
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningServiceImpl.java137 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo);
138 if (client != null) {
139 logw("duplicate client connection: " + msg.sendingUid);
140 client.mChannel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
148 client = new ExternalClientInfo(msg.sendingUid, msg.replyTo, ac);
149 client.register();
154 if (DBG) Log.d(TAG, "client connected: " + client);
158 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo);
159 if (client !
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
H A DWifiNanStateManagerTest.java892 * Summary: disconnect a client while there are pending transactions.
1095 * after a client is disconnected. To be used in every test which terminates
1096 * a client.
1098 * @param uid The ID of the client which should be deleted.
1101 WifiNanClientState client = getInternalClientState(mDut, uid);
1102 collector.checkThat("Client record not cleared up for uid=" + uid, client, nullValue());
/frameworks/native/include/gui/
H A DSurfaceControl.h86 // the override scaling mode will take precedence over any client
108 const sp<SurfaceComposerClient>& client,
/frameworks/native/include/private/gui/
H A DLayerState.h105 sp<ISurfaceComposerClient> client; member in struct:android::ComposerState
/frameworks/native/libs/gui/
H A DLayerState.cpp78 output.writeStrongBinder(IInterface::asBinder(client));
83 client = interface_cast<ISurfaceComposerClient>(input.readStrongBinder());
H A DSurfaceComposerClient.cpp99 if (lhs.client < rhs.client) return -1;
100 if (lhs.client > rhs.client) return 1;
132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
150 const sp<SurfaceComposerClient>& client, cons
259 getLayerStateLocked( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument
276 setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float x, float y) argument
288 setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t w, uint32_t h) argument
304 setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t z) argument
315 setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument
333 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Region& transparentRegion) argument
345 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument
356 setLayerStack(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t layerStack) argument
367 setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument
384 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
395 setFinalCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
407 deferTransactionUntil( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const sp<IBinder>& handle, uint64_t frameNumber) argument
421 setOverrideScalingMode( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, int32_t overrideScalingMode) argument
448 setPositionAppliesWithResize( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument
550 sp<ISurfaceComposerClient> client; local
[all...]
H A DSurfaceControl.cpp49 const sp<SurfaceComposerClient>& client,
52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp)
79 // that a client living in the same process still holds references which
182 const sp<SurfaceComposerClient>& client(mClient);
183 return client->clearLayerFrameStats(mHandle);
189 const sp<SurfaceComposerClient>& client(mClient);
190 return client->getLayerFrameStats(mHandle, outStats);
196 ALOGE("invalid handle (%p) or client (%p)",
48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
/frameworks/native/services/surfaceflinger/
H A DClient.cpp122 Client* client; member in class:android::MessageCreateLayer
132 const String8& name, Client* client,
136 : flinger(flinger), client(client),
142 result = flinger->createLayer(name, client, w, h, format, flags,
131 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument

Completed in 646 milliseconds

12345678910