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

1234567

/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((void*)nativeCreate);
45 return reinterpret_cast<jint>(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/camera2/
H A DCaptureSequencer.h47 CaptureSequencer(wp<Camera2Client> client);
131 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
147 CaptureState manageIdle(sp<Camera2Client> &client);
148 CaptureState manageStart(sp<Camera2Client> &client);
150 CaptureState manageZslStart(sp<Camera2Client> &client);
151 CaptureState manageZslWaiting(sp<Camera2Client> &client);
152 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
154 CaptureState manageStandardStart(sp<Camera2Client> &client);
155 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client);
156 CaptureState manageStandardCapture(sp<Camera2Client> &client);
[all...]
H A DCaptureSequencer.cpp37 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
45 mClient(client),
189 sp<Camera2Client> client = mClient.promote(); local
190 if (client == 0) return false;
198 currentState = (this->*kStateManagers[currentState])(client);
205 client->getCameraId(), kStateNames[mCaptureState]);
211 client->getCameraId());
219 sp<Camera2Client> &/*client*/) {
235 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
248 SharedParameters::Lock l(client
301 manageStart( sp<Camera2Client> &client) argument
332 manageZslStart( sp<Camera2Client> &client) argument
379 manageStandardStart( sp<Camera2Client> &client) argument
436 manageStandardCapture( sp<Camera2Client> &client) argument
513 manageStandardCaptureWait( sp<Camera2Client> &client) argument
574 manageBurstCaptureStart( sp<Camera2Client> &client) argument
645 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
680 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
[all...]
H A DFrameProcessor.h42 FrameProcessor(wp<CameraDeviceBase> device, wp<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);
77 void callbackFaceDetection(sp<Camera2Client> client,
H A DFrameProcessor.cpp32 wp<Camera2Client> client) :
34 mClient(client),
47 sp<Camera2Client> client = mClient.promote(); local
48 if (!client.get()) {
52 if (processFaceDetect(frame, client) != OK) {
58 process3aState(frame, client);
69 const sp<Camera2Client> &client) {
76 SharedParameters::Lock l(client->getParameters());
95 SharedParameters::Lock l(client->getParameters());
100 callbackFaceDetection(client, metadat
31 FrameProcessor(wp<CameraDeviceBase> device, wp<Camera2Client> client) argument
68 processFaceDetect(const CameraMetadata &frame, const sp<Camera2Client> &client) argument
196 process3aState(const CameraMetadata &frame, const sp<Camera2Client> &client) argument
289 callbackFaceDetection(sp<Camera2Client> client, const camera_frame_metadata &metadata) argument
[all...]
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*/) {
/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/native/libs/gui/
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
96 const sp<SurfaceComposerClient>& client(mClient);
97 return client->setLayerStack(mHandle, layerStack);
102 const sp<SurfaceComposerClient>& client(mClient);
103 return client->setLayer(mHandle, layer);
108 const sp<SurfaceComposerClient>& client(mClient);
109 return client->setPosition(mHandle, x, y);
114 const sp<SurfaceComposerClient>& client(mClien
48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java75 * Messages sent from the client to the service.
79 /** (client v1)
80 * Register client.
81 * - replyTo : client messenger
83 * - arg2 : client version
87 /** (client v1)
88 * Unregister client.
89 * - replyTo : client messenger
94 /** (client v1)
96 * - replyTo : client messenge
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManager.aidl38 int addClient(IAccessibilityManagerClient client, int userId);
53 void registerUiTestAutomationService(IBinder owner, 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/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/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/volley/src/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.HttpPost;
31 import org.apache.http.client.methods.HttpPut;
32 import org.apache.http.client.methods.HttpUriRequest;
51 public HttpClientStack(HttpClient client) { argument
52 mClient = client;
/frameworks/base/tests/SslLoad/src/com/android/sslload/
H A DSslLoad.java39 import org.apache.http.client.HttpClient;
40 import org.apache.http.client.ResponseHandler;
41 import org.apache.http.client.methods.HttpGet;
96 AndroidHttpClient client = AndroidHttpClient.newInstance(
102 client.execute(new HttpGet(url),
114 client.close();
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp167 sp<Client> client = mClient[cameraId].promote(); local
168 if (client.get() != NULL) {
169 clientsToDisconnect.push_back(client);
185 sp<BasicClient> client = clientsToDisconnect[i]; local
187 client->disconnect();
190 * client since the client PID will be reset to 0
270 // We only trust our own process to forward client UIDs
316 sp<Client> &client) {
321 client
313 canConnectUnsafe(int cameraId, const String16& clientPackageName, const sp<IBinder>& remoteCallback, sp<Client> &client) argument
373 sp<Client> client; local
436 connectFinishUnsafe(const sp<BasicClient>& client, const sp<IBinder>& clientBinder) argument
463 sp<ProClient> client; local
467 sp<Client> client; local
569 sp<Client> client = findClientUnsafe(remoteBinder, outIndex); local
625 sp<Client> client; local
669 sp<BasicClient> client; local
909 Client* client = gCameraService->getClientByIdUnsafe((int) user); local
942 OpsCallback(wp<BasicClient> client) argument
948 sp<BasicClient> client = mClient.promote(); local
1061 sp<Client> client = mClient[i].promote(); local
[all...]

Completed in 6478 milliseconds

1234567