Searched defs:client (Results 51 - 75 of 136) sorted by relevance

123456

/frameworks/base/core/java/android/os/
H A DFileBridge.java40 * server side needs to strongly assert that a client side is completely
144 public FileBridgeOutputStream(FileDescriptor client) { argument
146 mClient = client;
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java74 public boolean invokeCallback(WebChromeClient client, WebView webView) { argument
77 return client.onJsAlert(webView, mUrl, mMessage, mResult);
79 return client.onJsConfirm(webView, mUrl, mMessage, mResult);
81 return client.onJsBeforeUnload(webView, mUrl, mMessage, mResult);
83 return client.onJsPrompt(webView, mUrl, mMessage, mDefaultValue, mResult);
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java38 * to the client of the MediaScannerConnection class.
51 MediaScannerConnectionClient client = mClient;
52 if (client != null) {
53 client.onScanCompleted(path, uri);
64 * Called to notify the client when the media scanner has finished
80 * Called to notify the client when a connection to the
86 * Called to notify the client when the media scanner has finished
99 * @param client an optional object implementing the MediaScannerConnectionClient
102 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { argument
104 mClient = client;
188 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) argument
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java63 public DocumentsProviderHelper(String authority, ContentProviderClient client) { argument
66 mClient = client;
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java169 Socket client = mServer.accept();
171 mThreadPool.submit(new ViewServerWorker(client));
174 client.close();
185 private static boolean writeValue(Socket client, String value) { argument
189 OutputStream clientStream = client.getOutputStream();
214 public ViewServerWorker(Socket client) { argument
215 mClient = client;
/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
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageBuilder.java17 package android.bluetooth.client.map;
H A DBluetoothMapBmessageParser.java17 package android.bluetooth.client.map;
29 import android.bluetooth.client.map.BluetoothMapBmessage.Status;
30 import android.bluetooth.client.map.BluetoothMapBmessage.Type;
31 import android.bluetooth.client.map.utils.BmsgTokenizer;
32 import android.bluetooth.client.map.utils.BmsgTokenizer.Property;
H A DBluetoothMapEventReport.java17 package android.bluetooth.client.map;
H A DBluetoothMasObexClientSession.java17 package android.bluetooth.client.map;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
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/telephony/src/java/com/android/internal/telephony/
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/av/media/libmedia/
H A DMediaScanner.cpp82 const char *path, MediaScannerClient &client) {
100 client.setLocale(locale());
102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false);
132 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) {
162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot)
173 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
212 // report the directory to the client
214 status_t status = client.scanFile(path, statbuf.st_mtime, 0,
224 client, childNoMedia);
230 status_t status = client
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp34 CallbackProcessor::CallbackProcessor(sp<Camera2Client> client): argument
36 mClient(client),
37 mDevice(client->getCameraDevice()),
38 mId(client->getCameraId()),
64 sp<Camera2Client> client = mClient.promote(); local
65 if (client == 0) return OK;
66 sp<CameraDeviceBase> device = client->getCameraDevice();
74 client->getCameraId(), strerror(-res), res);
234 sp<Camera2Client> client = mClient.promote(); local
235 if (client
261 processNewCallback(sp<Camera2Client> &client) argument
[all...]
H A DCaptureSequencer.cpp37 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
48 mClient(client),
204 sp<Camera2Client> client = mClient.promote(); local
205 if (client == 0) return false;
213 currentState = (this->*kStateManagers[currentState])(client);
226 client->getCameraId(), kStateNames[mCaptureState]);
232 client->getCameraId());
240 sp<Camera2Client> &/*client*/) {
256 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
270 SharedParameters::Lock l(client
326 manageStart( sp<Camera2Client> &client) argument
358 manageZslStart( sp<Camera2Client> &client) argument
407 manageStandardStart( sp<Camera2Client> &client) argument
489 manageStandardCapture( sp<Camera2Client> &client) argument
584 manageStandardCaptureWait( sp<Camera2Client> &client) argument
676 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
711 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
[all...]
H A DJpegProcessor.cpp39 sp<Camera2Client> client,
42 mDevice(client->getCameraDevice()),
44 mId(client->getCameraId()),
38 JpegProcessor( sp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument
H A DStreamingProcessor.cpp43 StreamingProcessor::StreamingProcessor(sp<Camera2Client> client): argument
44 mClient(client),
45 mDevice(client->getCameraDevice()),
46 mId(client->getCameraId()),
110 sp<Camera2Client> client = mClient.promote(); local
111 if (client == 0) {
117 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_0) {
H A DZslProcessor.cpp44 sp<Camera2Client> client,
49 mClient(client),
51 mId(client->getCameraId()),
57 if (client != 0) {
59 static_cast<Camera3Device*>(client->getCameraDevice().get());
135 sp<Camera2Client> client = mClient.promote(); local
136 if (client == 0) {
141 static_cast<Camera3Device*>(client->getCameraDevice().get());
155 client->getCameraId(), strerror(-res), res);
162 __FUNCTION__, client
43 ZslProcessor( sp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument
214 sp<Camera2Client> client = mClient.promote(); local
246 sp<Camera2Client> client = mClient.promote(); local
290 sp<Camera2Client> client = mClient.promote(); local
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp84 ALOGV("%s: Initializing client for camera %d", __FUNCTION__,
177 // Allow both client and the media server to disconnect at all times
205 const sp<TCamCallbacks>& client) {
224 TClientBase::mRemoteCallback = client;
225 mSharedCameraCallbacks = client;
338 SharedCameraCallbacks &client) :
340 mRemoteCallback(client.mRemoteCallback),
341 mSharedClient(client) {
353 const sp<TCamCallbacks>&client) :
355 mRemoteCallback(client) {
204 connect( const sp<TCamCallbacks>& client) argument
337 Lock( SharedCameraCallbacks &client) argument
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h53 const sp<ISoundTriggerClient>& client,
108 const sp<ISoundTriggerClient>& client);
128 void setClient(sp<ISoundTriggerClient> client) { mClient = client; } argument
130 sp<ISoundTriggerClient> client() const { return mClient; } function in class:android::SoundTriggerHwService::Module
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java82 public void connect(IAccessibilityServiceClient client, int flags) { argument
83 if (client == null) {
92 registerUiTestAutomationServiceLocked(client, flags);
327 private void registerUiTestAutomationServiceLocked(IAccessibilityServiceClient client, argument
343 // process is gone the client calling in will be killed.
344 manager.registerUiTestAutomationService(mToken, client, info, flags);
345 mClient = client;
356 // process is gone the client calling in will be killed.
369 // process is gone the client calling in will be killed.
381 // process is gone the client callin
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java468 * Closes this client connection, indicating to the system that the
509 * client. If the {@link ContentProvider} is running in a different process then
521 public static void releaseQuietly(ContentProviderClient client) { argument
522 if (client != null) {
524 client.release();
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java55 @NonNull IPrintServiceClient client) {
58 mPrintServiceClient = client;
59 mDocument = new PrintDocument(mCachedInfo.getId(), client,
54 PrintJob(@onNull Context context, @NonNull PrintJobInfo jobInfo, @NonNull IPrintServiceClient client) argument
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp113 const sp<NativeRemoteDisplayClient>& client) :
114 mDisplay(display), mClient(client) {
150 sp<NativeRemoteDisplayClient> client(new NativeRemoteDisplayClient(env, remoteDisplayObj));
152 client, String8(iface.c_str()));
159 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client);
112 NativeRemoteDisplay(const sp<IRemoteDisplay>& display, const sp<NativeRemoteDisplayClient>& client) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java33 import org.apache.http.client.HttpClient;
34 import org.apache.http.client.methods.HttpGet;
196 HttpClient client = newHttpClient();
198 proxyConfig.configure(server, client, request);
199 HttpResponse response = client.execute(request);
212 HttpClient client = newHttpClient();
215 HttpResponse response = client.execute(request);
241 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
247 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
253 @Override void configure(MockWebServer server, HttpClient client, HttpReques
271 configure(MockWebServer proxy, HttpClient client, HttpRequest request) argument
[all...]

Completed in 415 milliseconds

123456