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

12345678910

/frameworks/base/media/java/android/media/
H A DIMediaRouterService.aidl26 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);
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/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientProxyTest.java19 import org.apache.http.client.HttpClient;
20 import org.apache.http.impl.client.DefaultHttpClient;
H A DAndroidHttpClientProxyTest.java19 import org.apache.http.client.HttpClient;
H A DCookiesTest.java32 import org.apache.http.client.HttpClient;
33 import org.apache.http.client.methods.HttpGet;
35 import org.apache.http.impl.client.DefaultHttpClient;
61 HttpClient client = new DefaultHttpClient();
62 client.execute(new HttpGet(server.getUrl("/").toURI()));
91 HttpClient client = new DefaultHttpClient();
92 client.getParams().setParameter(
95 HttpResponse getCookies = client.execute(new HttpGet("http://my.t-mobile.com/"));
99 HttpResponse sendCookies = client.execute(new HttpGet("http://my.t-mobile.com/"));
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DMountReceiver.java27 final ContentProviderClient client = context.getContentResolver()
30 ((ExternalStorageProvider) client.getLocalContentProvider()).updateVolumes();
32 ContentProviderClient.releaseQuietly(client);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java69 * Represents an active remote {@link Ringtone} client.
100 Client client;
102 client = mClients.get(token);
103 if (client == null) {
105 client = new Client(token, uri, user, aa);
106 token.linkToDeath(client, 0);
107 mClients.put(token, client);
110 client.mRingtone.play();
116 Client client;
118 client
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceSession.cpp43 SurfaceComposerClient* client = new SurfaceComposerClient(); local
44 client->incStrong((void*)nativeCreate);
45 return reinterpret_cast<jlong>(client);
49 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
50 client->decStrong((void*)nativeCreate);
54 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
55 client->dispose();
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.h48 CaptureSequencer(wp<Camera2Client> client);
133 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
149 CaptureState manageIdle(sp<Camera2Client> &client);
150 CaptureState manageStart(sp<Camera2Client> &client);
152 CaptureState manageZslStart(sp<Camera2Client> &client);
153 CaptureState manageZslWaiting(sp<Camera2Client> &client);
154 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
156 CaptureState manageStandardStart(sp<Camera2Client> &client);
157 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client);
158 CaptureState manageStandardCapture(sp<Camera2Client> &client);
[all...]
H A DCaptureSequencer.cpp38 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
46 mClient(client),
190 sp<Camera2Client> client = mClient.promote(); local
191 if (client == 0) return false;
199 currentState = (this->*kStateManagers[currentState])(client);
212 client->getCameraId(), kStateNames[mCaptureState]);
218 client->getCameraId());
226 sp<Camera2Client> &/*client*/) {
242 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
256 SharedParameters::Lock l(client
312 manageStart( sp<Camera2Client> &client) argument
343 manageZslStart( sp<Camera2Client> &client) argument
392 manageStandardStart( sp<Camera2Client> &client) argument
474 manageStandardCapture( sp<Camera2Client> &client) argument
557 manageStandardCaptureWait( sp<Camera2Client> &client) argument
621 manageBurstCaptureStart( sp<Camera2Client> &client) argument
692 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
727 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
[all...]
H A DFrameProcessor.h42 FrameProcessor(wp<CameraDeviceBase> device, sp<Camera2Client> client);
52 void processNewFrames(const sp<Camera2Client> &client);
58 const sp<Camera2Client> &client);
60 // Send 3A state change notifications to client based on frame metadata
62 const sp<Camera2Client> &client);
103 void callbackFaceDetection(sp<Camera2Client> client,
H A DBurstCapture.cpp31 BurstCapture::BurstCapture(wp<Camera2Client> client, wp<CaptureSequencer> sequencer): argument
33 mClient(client),
68 sp<Camera2Client> client = mClient.promote(); local
69 if(client == 0) return false;
71 res = processFrameAvailable(client);
107 status_t BurstCapture::processFrameAvailable(sp<Camera2Client> &/*client*/) {
H A DFrameProcessor.cpp32 sp<Camera2Client> client) :
34 mClient(client),
42 SharedParameters::Lock l(client->getParameters());
44 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) {
66 sp<Camera2Client> client = mClient.promote(); local
67 if (!client.get()) {
73 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) {
85 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) {
90 process3aState(frame, client);
97 const sp<Camera2Client> &client) {
31 FrameProcessor(wp<CameraDeviceBase> device, sp<Camera2Client> client) argument
96 processFaceDetect(const CameraMetadata &frame, const sp<Camera2Client> &client) argument
241 process3aState(const CaptureResult &frame, const sp<Camera2Client> &client) argument
362 callbackFaceDetection(sp<Camera2Client> client, const camera_frame_metadata &metadata) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileBridgeTest.java38 private FileBridgeOutputStream client; field in class:FileBridgeTest
52 client = new FileBridgeOutputStream(bridge.getClientSocket());
66 client.close();
84 client.flush();
90 client.write("meow".getBytes(StandardCharsets.UTF_8));
97 client.write("cake".getBytes(StandardCharsets.UTF_8));
98 client.flush();
105 client.write("meow".getBytes(StandardCharsets.UTF_8));
106 client.flush();
107 client
[all...]
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/opt/bluetooth/
H A DAndroid.mk6 src_dirs:= src/android/bluetooth/client/pbap
11 LOCAL_MODULE:= android.bluetooth.client.pbap
21 src_dirs:= src/android/bluetooth/client/map
26 LOCAL_MODULE:= android.bluetooth.client.map
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java141 ClientRecord client = new ClientRecord(messenger, version);
142 if (client.register()) {
143 mClients.add(client);
145 Log.d(TAG, client + ": Registered, version=" + version);
163 ClientRecord client = mClients.remove(index);
165 Log.d(TAG, client + ": Unregistered");
167 client.dispose();
177 ClientRecord client = mClients.remove(index);
179 Log.d(TAG, client + ": Binder died");
181 client
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapClient.java17 package android.bluetooth.client.pbap;
385 SessionHandler(BluetoothPbapClient client) { argument
386 mClient = new WeakReference<BluetoothPbapClient>(client);
393 BluetoothPbapClient client = mClient.get();
394 if (client == null) {
404 client.sendToClient(EVENT_PULL_PHONE_BOOK_SIZE_ERROR);
406 client.sendToClient(EVENT_PULL_VCARD_LISTING_SIZE_ERROR);
408 client.sendToClient(EVENT_PULL_PHONE_BOOK_ERROR);
410 client.sendToClient(EVENT_PULL_VCARD_LISTING_ERROR);
412 client
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl29 * Public interface to the global input method manager, used by all client
45 void addClient(in IInputMethodClient client,
47 void removeClient(in IInputMethodClient client);
49 InputBindResult startInput(in IInputMethodClient client,
51 void finishInput(in IInputMethodClient client);
52 boolean showSoftInput(in IInputMethodClient client, int flags,
54 boolean hideSoftInput(in IInputMethodClient client, int flags,
58 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken,
62 void showInputMethodPickerFromClient(in IInputMethodClient client);
63 void showInputMethodAndSubtypeEnablerFromClient(in IInputMethodClient client, Strin
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestSetNotificationRegistration.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasClient.java17 package android.bluetooth.client.map;
26 import android.bluetooth.client.map.BluetoothMasRequestSetMessageStatus.StatusIndicator;
27 import android.bluetooth.client.map.utils.ObexTime;
283 /** device associated with client */
286 /** MAS instance associated with client */
312 public SessionHandler(BluetoothMasClient client) { argument
315 mClient = new WeakReference<BluetoothMasClient>(client);
321 BluetoothMasClient client = mClient.get();
322 if (client == null) {
329 client
[all...]
H A DBluetoothMasRequestUpdateInbox.java17 package android.bluetooth.client.map;
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp61 const char *filename, MediaScannerClient *client) {
101 status_t status = client->addStringTag("duration", buffer);
110 MediaScannerClient &client) {
113 client.setLocale(locale());
114 client.beginFile();
115 MediaScanResult result = processFileInternal(path, mimeType, client);
116 client.endFile();
122 MediaScannerClient &client) {
142 return HandleMIDI(path, &client);
164 status = client
60 HandleMIDI( const char *filename, MediaScannerClient *client) argument
108 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
120 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplaySessionInfo.java43 boolean client = (in.readInt() != 0);
49 return new WifiDisplaySessionInfo(client, session, group, pp, ip);
63 boolean client, int session, String group, String pp, String ip) {
64 mClient = client;
62 WifiDisplaySessionInfo( boolean client, int session, String group, String pp, String ip) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DAppBindRecord.java25 * An association between a service and one of its client applications.
30 final ProcessRecord client; // Who has started/bound the service. field in class:AppBindRecord
33 // All ConnectionRecord for this client.
37 pw.println(prefix + "client=" + client);
56 client = _client;
62 + " " + service.shortName + ":" + client.processName + "}";

Completed in 2388 milliseconds

12345678910