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

123456

/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/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, streamType);
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(clazz);
45 return reinterpret_cast<jint>(client);
49 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
50 client->decStrong(clazz);
54 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
55 client->dispose();
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.cpp34 StreamingProcessor::StreamingProcessor(wp<Camera2Client> client): argument
35 mClient(client),
73 sp<Camera2Client> client = mClient.promote(); local
74 if (client == 0) return INVALID_OPERATION;
78 res = client->getCameraDevice()->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
82 "%s (%d)", __FUNCTION__, client->getCameraId(), strerror(-res), res);
90 "request: %s (%d)", __FUNCTION__, client->getCameraId(),
99 __FUNCTION__, client->getCameraId(), strerror(-res), res);
111 sp<Camera2Client> client = mClient.promote(); local
112 if (client
177 sp<Camera2Client> client = mClient.promote(); local
209 sp<Camera2Client> client = mClient.promote(); local
236 sp<Camera2Client> client = mClient.promote(); local
273 sp<Camera2Client> client = mClient.promote(); local
340 sp<Camera2Client> client = mClient.promote(); local
416 sp<Camera2Client> client = mClient.promote(); local
469 sp<Camera2Client> client = mClient.promote(); local
572 sp<Camera2Client> client = mClient.promote(); local
[all...]
H A DCallbackProcessor.cpp33 CallbackProcessor::CallbackProcessor(wp<Camera2Client> client): argument
35 mClient(client),
59 sp<Camera2Client> client = mClient.promote(); local
60 if (client == 0) return OK;
61 sp<Camera2Device> device = client->getCameraDevice();
79 "%s (%d)", __FUNCTION__, client->getCameraId(),
90 __FUNCTION__, client->getCameraId(), mCallbackStreamId);
94 "for callbacks: %s (%d)", __FUNCTION__, client->getCameraId(),
111 "%s (%d)", __FUNCTION__, client->getCameraId(),
127 sp<Camera2Client> client local
164 sp<Camera2Client> client = mClient.promote(); local
172 processNewCallback(sp<Camera2Client> &client) argument
[all...]
H A DCaptureSequencer.h47 CaptureSequencer(wp<Camera2Client> client);
131 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
146 CaptureState manageIdle(sp<Camera2Client> &client);
147 CaptureState manageStart(sp<Camera2Client> &client);
149 CaptureState manageZslStart(sp<Camera2Client> &client);
150 CaptureState manageZslWaiting(sp<Camera2Client> &client);
151 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
153 CaptureState manageStandardStart(sp<Camera2Client> &client);
154 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client);
155 CaptureState manageStandardCapture(sp<Camera2Client> &client);
[all...]
H A DCaptureSequencer.cpp36 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
44 mClient(client),
187 sp<Camera2Client> client = mClient.promote(); local
188 if (client == 0) return false;
196 currentState = (this->*kStateManagers[currentState])(client);
203 client->getCameraId(), kStateNames[mCaptureState]);
209 client->getCameraId());
216 CaptureSequencer::CaptureState CaptureSequencer::manageIdle(sp<Camera2Client> &client) { argument
232 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
245 SharedParameters::Lock l(client
286 manageStart( sp<Camera2Client> &client) argument
317 manageZslStart( sp<Camera2Client> &client) argument
352 manageZslWaiting( sp<Camera2Client> &client) argument
358 manageZslReprocessing( sp<Camera2Client> &client) argument
364 manageStandardStart( sp<Camera2Client> &client) argument
380 manageStandardPrecaptureWait( sp<Camera2Client> &client) argument
419 manageStandardCapture( sp<Camera2Client> &client) argument
483 manageStandardCaptureWait( sp<Camera2Client> &client) argument
535 manageBurstCaptureStart( sp<Camera2Client> &client) argument
580 manageBurstCaptureWait( sp<Camera2Client> &client) argument
606 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
641 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client) argument
[all...]
H A DFrameProcessor.cpp31 FrameProcessor::FrameProcessor(wp<Camera2Client> client): argument
32 Thread(false), mClient(client), mLastFrameNumberOfFaces(0) {
76 sp<Camera2Client> client = mClient.promote(); local
77 if (client == 0) return false;
78 device = client->getCameraDevice();
84 sp<Camera2Client> client = mClient.promote(); local
85 if (client == 0) return false;
86 processNewFrames(client);
95 void FrameProcessor::processNewFrames(sp<Camera2Client> &client) { argument
99 while ( (res = client
129 processListeners(const CameraMetadata &frame, sp<Camera2Client> &client) argument
170 processFaceDetect(const CameraMetadata &frame, sp<Camera2Client> &client) argument
292 callbackFaceDetection(sp<Camera2Client> client, camera_frame_metadata &metadata) argument
[all...]
H A DFrameProcessor.h40 FrameProcessor(wp<Camera2Client> client);
69 void processNewFrames(sp<Camera2Client> &client);
72 sp<Camera2Client> &client);
75 sp<Camera2Client> &client);
81 void callbackFaceDetection(sp<Camera2Client> client,
H A DBurstCapture.cpp31 BurstCapture::BurstCapture(wp<Camera2Client> client, wp<CaptureSequencer> sequencer): argument
33 mClient(client),
67 sp<Camera2Client> client = mClient.promote(); local
68 if(client == 0) return false;
70 res = processFrameAvailable(client);
106 status_t BurstCapture::processFrameAvailable(sp<Camera2Client> &client) { argument
H A DZslProcessor.cpp41 wp<Camera2Client> client,
45 mClient(client),
114 sp<Camera2Client> client = mClient.promote(); local
115 if (client == 0) return OK;
116 sp<Camera2Device> device = client->getCameraDevice();
138 client->getCameraId(), strerror(-res), res);
147 client->getCameraId(), strerror(-res), res);
151 __FUNCTION__, client->getCameraId(), mZslStreamId);
156 client->getCameraId(), strerror(-res), res);
175 "%s (%d)", __FUNCTION__, client
40 ZslProcessor( wp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument
202 sp<Camera2Client> client = mClient.promote(); local
246 sp<Camera2Client> client = mClient.promote(); local
397 sp<Camera2Client> client = mClient.promote(); local
405 processNewZslBuffer(sp<Camera2Client> &client) argument
[all...]
H A DJpegProcessor.cpp38 wp<Camera2Client> client,
41 mClient(client),
67 sp<Camera2Client> client = mClient.promote(); local
68 if (client == 0) return OK;
69 sp<Camera2Device> device = client->getCameraDevice();
76 __FUNCTION__, client->getCameraId());
92 __FUNCTION__, client->getCameraId());
105 client->getCameraId(), strerror(-res), res);
111 __FUNCTION__, client->getCameraId(), mCaptureStreamId);
116 client
37 JpegProcessor( wp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument
147 sp<Camera2Client> client = mClient.promote(); local
184 sp<Camera2Client> client = mClient.promote(); local
192 processNewCapture(sp<Camera2Client> &client) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h32 virtual float scoreFactory(const sp<IMediaPlayer>& client, argument
36 virtual float scoreFactory(const sp<IMediaPlayer>& client, argument
42 virtual float scoreFactory(const sp<IMediaPlayer>& client, argument
52 static player_type getPlayerType(const sp<IMediaPlayer>& client,
54 static player_type getPlayerType(const sp<IMediaPlayer>& client,
58 static player_type getPlayerType(const sp<IMediaPlayer>& client,
H A DRemoteDisplay.cpp27 const sp<IRemoteDisplayClient> &client, const char *iface)
30 mSource(new WifiDisplaySource(mNetSession, client)) {
26 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManager.aidl38 int addClient(IAccessibilityManagerClient client, int userId);
53 void registerUiTestAutomationService(IAccessibilityServiceClient client,
56 void unregisterUiTestAutomationService(IAccessibilityServiceClient client);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl29 * Public interface to the global input method manager, used by all client
41 void addClient(in IInputMethodClient client,
43 void removeClient(in IInputMethodClient client);
45 InputBindResult startInput(in IInputMethodClient client,
47 void finishInput(in IInputMethodClient client);
48 boolean showSoftInput(in IInputMethodClient client, int flags,
50 boolean hideSoftInput(in IInputMethodClient client, int flags,
54 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken,
58 void showInputMethodPickerFromClient(in IInputMethodClient client);
59 void showInputMethodAndSubtypeEnablerFromClient(in IInputMethodClient client, Strin
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp60 const char *filename, MediaScannerClient *client) {
100 status_t status = client->addStringTag("duration", buffer);
109 MediaScannerClient &client) {
112 client.setLocale(locale());
113 client.beginFile();
114 MediaScanResult result = processFileInternal(path, mimeType, client);
115 client.endFile();
121 MediaScannerClient &client) {
141 return HandleMIDI(path, &client);
163 status = client
59 HandleMIDI( const char *filename, MediaScannerClient *client) argument
107 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
119 processFileInternal( const char *path, const char *mimeType, MediaScannerClient &client) argument
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h49 const char *path, const char *mimeType, MediaScannerClient &client) = 0;
52 const char *path, MediaScannerClient &client);
69 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia);
71 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
/frameworks/base/services/java/com/android/server/am/
H A DAppBindRecord.java24 * An association between a service and one of its client applications.
29 final ProcessRecord client; // Who has started/bound the service. field in class:AppBindRecord
32 // All ConnectionRecord for this client.
36 pw.println(prefix + "client=" + client);
55 client = _client;
61 + " " + service.shortName + ":" + client.processName + "}";
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp145 sp<Client> client; local
162 client = mClient[cameraId].promote();
163 if (client != 0) {
164 if (cameraClient->asBinder() == client->getCameraClient()->asBinder()) {
165 LOG1("CameraService::connect X (pid %d) (the same client)",
167 return client;
169 ALOGW("CameraService::connect X (pid %d) rejected (existing client).",
198 client = new CameraClient(this, cameraClient, cameraId,
202 client = new Camera2Client(this, cameraClient, cameraId,
210 if (client
230 sp<Client> client = findClientUnsafe(cameraClient->asBinder(), outIndex); local
245 sp<Client> client; local
289 sp<Client> client; local
426 Client* client = gCameraService->getClientByIdUnsafe((int) user); local
526 sp<Client> client = mClient[i].promote(); local
[all...]
/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;
185 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) argument
[all...]
/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 clients.add(new ClientRange(startId, endId, client));
117 // ignore duplicate ranges from the same client
129 * The message id range for a single client
134 final String client; field in class:IntRangeManager.ClientRange
136 ClientRange(int startId, int endId, String client) argument
177 enableRange(int startId, int endId, String client) argument
363 disableRange(int startId, int endId, String client) argument
[all...]

Completed in 1022 milliseconds

123456