Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl34 void addClient(in IInputMethodClient client, in addClient() argument
36 void removeClient(in IInputMethodClient client); in removeClient() argument
38 InputBindResult startInput(in IInputMethodClient client, in startInput() argument
41 void finishInput(in IInputMethodClient client); in finishInput() argument
42 boolean showSoftInput(in IInputMethodClient client, int flags, in showSoftInput() argument
44 boolean hideSoftInput(in IInputMethodClient client, int flags, in hideSoftInput() argument
46 void windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus() argument
50 void showInputMethodPickerFromClient(in IInputMethodClient client); in showInputMethodPickerFromClient() argument
/frameworks/base/services/java/com/android/server/
DViewServer.java158 Socket client = null; in run() local
161 client = server.accept(); in run()
165 in = new BufferedReader(new InputStreamReader(client.getInputStream()), 1024); in run()
183 result = writeValue(client, VALUE_PROTOCOL_VERSION); in run()
185 result = writeValue(client, VALUE_SERVER_VERSION); in run()
187 result = mWindowManager.viewServerListWindows(client); in run()
189 result = mWindowManager.viewServerWindowCommand(client, in run()
204 if (client != null) { in run()
206 client.close(); in run()
215 private static boolean writeValue(Socket client, String value) { in writeValue() argument
[all …]
DInputMethodManagerService.java132 final ClientState client; field in InputMethodManagerService.SessionState
138 return "SessionState{uid " + client.uid + " pid " + client.pid in toString()
148 client = _client; in SessionState()
155 final IInputMethodClient client; field in InputMethodManagerService.ClientState
173 client = _client; in ClientState()
327 if (mCurClient != null && mCurClient.client != null) { in onReceive()
328 mCurClient.client.setActive(mScreenOn); in onReceive()
545 public void addClient(IInputMethodClient client, in addClient() argument
548 mClients.put(client.asBinder(), new ClientState(client, in addClient()
553 public void removeClient(IInputMethodClient client) { in removeClient() argument
[all …]
/frameworks/base/libs/surfaceflinger/tests/resize/
Dresize.cpp31 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); in main() local
34 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, in main()
38 client->openTransaction(); in main()
40 client->closeTransaction(); in main()
52 client->openTransaction(); in main()
54 client->closeTransaction(); in main()
/frameworks/base/libs/ui/
DSurface.cpp105 const sp<SurfaceComposerClient>& client, in SurfaceControl() argument
109 : mClient(client), mSurface(surface), in SurfaceControl()
154 const sp<SurfaceComposerClient>& client(mClient); in setLayer() local
157 return client->setLayer(mToken, layer); in setLayer()
160 const sp<SurfaceComposerClient>& client(mClient); in setPosition() local
163 return client->setPosition(mToken, x, y); in setPosition()
166 const sp<SurfaceComposerClient>& client(mClient); in setSize() local
169 return client->setSize(mToken, w, h); in setSize()
172 const sp<SurfaceComposerClient>& client(mClient); in hide() local
175 return client->hide(mToken); in hide()
[all …]
DSurfaceComposerClient.cpp192 sp<SurfaceComposerClient> client; in clientForConnection() local
196 client = gActiveConnections.valueFor(conn); in clientForConnection()
199 if (client == 0) { in clientForConnection()
202 client = new SurfaceComposerClient(sm, conn); in clientForConnection()
203 if (client != 0 && client->initCheck() == NO_ERROR) { in clientForConnection()
205 gActiveConnections.add(conn, client); in clientForConnection()
208 client.clear(); in clientForConnection()
212 return client; in clientForConnection()
220 sp<ISurfaceFlingerClient> client; in dispose() local
229 client = mClient; in dispose()
[all …]
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DGoogleHttpClientTest.java33 import org.apache.http.client.methods.HttpGet;
70 GoogleHttpClient client = new GoogleHttpClient(resolver, "Test", in testThreadCheck() local
83 client.execute(method); in testThreadCheck()
91 HttpResponse response = client.execute(method); in testThreadCheck()
94 client.close(); in testThreadCheck()
105 GoogleHttpClient client = new GoogleHttpClient(resolver, "Test", in testUrlRewriteRules() local
115 HttpResponse response = client.execute(method); in testUrlRewriteRules()
119 client.close(); in testUrlRewriteRules()
DTestHttpService.java82 private TestHttpClient client; field in TestHttpService
86 this.client = new TestHttpClient(); in setUp()
143 conn.bind(socket, this.client.getParams()); in testSimpleBasicHttpRequests()
147 HttpResponse response = this.client.execute(get, host, conn); in testSimpleBasicHttpRequests()
155 if (!this.client.keepAlive(response)) { in testSimpleBasicHttpRequests()
223 conn.bind(socket, this.client.getParams()); in testSimpleHttpPostsWithContentLength()
231 HttpResponse response = this.client.execute(post, host, conn); in testSimpleHttpPostsWithContentLength()
239 if (!this.client.keepAlive(response)) { in testSimpleHttpPostsWithContentLength()
306 conn.bind(socket, this.client.getParams()); in testSimpleHttpPostsChunked()
315 HttpResponse response = this.client.execute(post, host, conn); in testSimpleHttpPostsChunked()
[all …]
/frameworks/base/camera/libcameraservice/
DCameraService.cpp102 sp<Client> client; in connect() local
121 return client; in connect()
133 return client; in connect()
137 client = new Client(this, cameraClient, callingPid); in connect()
138 mClient = client; in connect()
142 client->trackMe(true, true); in connect()
145 return client; in connect()
154 sp<Client> client; in removeClient() local
166 client = mClient.promote(); in removeClient()
167 if (client == 0) { in removeClient()
[all …]
/frameworks/base/tests/SslLoad/src/com/android/sslload/
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( in run() local
102 client.execute(new HttpGet(url), in run()
114 client.close(); in run()
/frameworks/base/location/java/com/android/internal/location/
DGpsXtraDownloader.java23 import org.apache.http.client.HttpClient;
24 import org.apache.http.client.methods.HttpGet;
25 import org.apache.http.client.methods.HttpUriRequest;
112 AndroidHttpClient client = null; in doDownload() local
114 client = AndroidHttpClient.newInstance("Android"); in doDownload()
130 HttpResponse response = client.execute(req); in doDownload()
164 if (client != null) { in doDownload()
165 client.close(); in doDownload()
/frameworks/base/cmds/stagefright/
Drecord.cpp126 OMXClient client;
127 CHECK_EQ(client.connect(), OK);
140 client.interface(), meta, false /* createEncoder */, source);
160 client.interface(), enc_meta, true /* createEncoder */, decoder);
183 client.disconnect();
213 OMXClient client; in main() local
214 CHECK_EQ(client.connect(), OK); in main()
239 OMXCodec::Create(client.interface(), encMeta, true, audioSource); in main()
261 client.disconnect(); in main()
/frameworks/base/services/java/com/android/server/am/
DAppBindRecord.java29 final ProcessRecord client; // Who has started/bound the service. field in AppBindRecord
36 pw.println(prefix + "client=" + client); in dump()
55 client = _client; in AppBindRecord()
61 + " " + service.shortName + ":" + client.processName + "}"; in toString()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java52 MediaScannerConnectionClient client = mClient;
53 if (client != null) {
54 client.onScanCompleted(path, uri);
88 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { in MediaScannerConnection() argument
90 mClient = client; in MediaScannerConnection()
/frameworks/base/core/java/android/webkit/
DHTML5VideoViewProxy.java120 WebChromeClient client) { in play() argument
143 mProgressView = client.getVideoLoadingProgressView(); in play()
150 client.onShowCustomView(mLayout, mCallback); in play()
211 WebChromeClient client = mWebView.getWebChromeClient(); in handleMessage() local
212 if (client != null) { in handleMessage()
213 VideoPlayer.play(url, mSeekPosition, this, client); in handleMessage()
228 WebChromeClient client = mWebView.getWebChromeClient(); in handleMessage() local
229 if (client != null) { in handleMessage()
230 client.onHideCustomView(); in handleMessage()
235 WebChromeClient client = mWebView.getWebChromeClient(); in handleMessage() local
[all …]
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java139 Socket client = new Socket("localhost", 8383); in testSetReuseAddress() local
140 client.getOutputStream().write(1); in testSetReuseAddress()
246 private Socket client; field in SocketTest
258 client = new Socket(); in disable_testSocketConnectClose()
264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357)); in disable_testSocketConnectClose()
278 client.close(); in disable_testSocketConnectClose()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp44 jfieldID client; member
98 sp<SurfaceComposerClient> client = new SurfaceComposerClient; in SurfaceSession_init() local
99 client->incStrong(clazz); in SurfaceSession_init()
100 env->SetIntField(clazz, sso.client, (int)client.get()); in SurfaceSession_init()
105 SurfaceComposerClient* client = in SurfaceSession_destroy() local
106 (SurfaceComposerClient*)env->GetIntField(clazz, sso.client); in SurfaceSession_destroy()
107 if (client != 0) { in SurfaceSession_destroy()
108 client->decStrong(clazz); in SurfaceSession_destroy()
109 env->SetIntField(clazz, sso.client, 0); in SurfaceSession_destroy()
115 SurfaceComposerClient* client = in SurfaceSession_kill() local
[all …]
/frameworks/base/media/libstagefright/
DCameraSource.cpp102 sp<CameraSourceClient> client = new CameraSourceClient; in Create() local
103 sp<ICamera> camera = service->connect(client); in Create()
105 CameraSource *source = new CameraSource(camera, client); in Create()
106 client->setCameraSource(source); in Create()
112 const sp<ICamera> &camera, const sp<ICameraClient> &client) in CameraSource() argument
114 mCameraClient(client), in CameraSource()
/frameworks/base/include/media/
Dmediascanner.h39 status_t processFile(const char *path, const char *mimeType, MediaScannerClient& client);
41 MediaScannerClient& client, ExceptionCheck exceptionCheck, void* exceptionEnv);
51 MediaScannerClient& client, ExceptionCheck exceptionCheck, void* exceptionEnv);
/frameworks/opt/com.google.android.googlelogin/
DAndroid.mk19 LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := googlelogin-client:client.jar
/frameworks/base/media/libmedia/
DIMediaPlayerService.cpp59 … virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client, const char* url) in create() argument
64 data.writeStrongBinder(client->asBinder()); in create()
79 …virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client, int fd, int64_t o… in create() argument
84 data.writeStrongBinder(client->asBinder()); in create()
145 … sp<IMediaPlayerClient> client = interface_cast<IMediaPlayerClient>(data.readStrongBinder()); in onTransact() local
147 sp<IMediaPlayer> player = create(pid, client, url); in onTransact()
154 … sp<IMediaPlayerClient> client = interface_cast<IMediaPlayerClient>(data.readStrongBinder()); in onTransact() local
158 sp<IMediaPlayer> player = create(pid, client, fd, offset, length); in onTransact()
/frameworks/base/include/private/ui/
DSharedBufferStack.h182 SharedClient& client( *mSharedClient ); in waitForCondition()
184 Mutex::Autolock _l(client.lock); in waitForCondition()
189 status_t err = client.cv.waitRelative(client.lock, TIMEOUT); in waitForCondition()
219 SharedClient& client( *mSharedClient ); in updateCondition()
220 Mutex::Autolock _l(client.lock); in updateCondition()
222 client.cv.broadcast(); in updateCondition()
/frameworks/base/libs/surfaceflinger/
DLayerBase.cpp682 const sp<Client>& client, int32_t i) in LayerBaseClient() argument
683 : LayerBase(flinger, display), lcblk(NULL), client(client), in LayerBaseClient()
687 client->ctrlblk, i, NUM_BUFFERS, in LayerBaseClient()
693 sp<Client> client(this->client.promote()); in onFirstRef() local
694 if (client != 0) { in onFirstRef()
695 client->bindLayer(this, mIndex); in onFirstRef()
701 sp<Client> client(this->client.promote()); in ~LayerBaseClient() local
702 if (client != 0) { in ~LayerBaseClient()
703 client->free(mIndex); in ~LayerBaseClient()
710 sp<Client> client(this->client.promote()); in serverIndex() local
[all …]
DSurfaceFlinger.cpp234 sp<Client> client = new Client(token, this); in createConnection() local
235 if (client->ctrlblk == 0) { in createConnection()
239 status_t err = mClientsMap.add(token, client); in createConnection()
245 new BClient(this, token, client->getControlBlockMemory()); in createConnection()
252 sp<Client> client = mClientsMap.valueFor(cid); in destroyConnection() local
253 if (client != 0) { in destroyConnection()
255 Vector< wp<LayerBaseClient> > layers(client->getLayers()); in destroyConnection()
272 mDisconnectedClients.add(client); in destroyConnection()
1093 sp<Client> client = disconnectedClients[i]; in free_resources_l() local
1094 mTokens.release(client->cid); in free_resources_l()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp50 MyMediaScannerClient(JNIEnv *env, jobject client) in MyMediaScannerClient() argument
52 mClient(env->NewGlobalRef(client)), in MyMediaScannerClient()
147 …anner_processDirectory(JNIEnv *env, jobject thiz, jstring path, jstring extensions, jobject client) in android_media_MediaScanner_processDirectory() argument
172 MyMediaScannerClient myClient(env, client); in android_media_MediaScanner_processDirectory()
179 …MediaScanner_processFile(JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) in android_media_MediaScanner_processFile() argument
200 MyMediaScannerClient myClient(env, client); in android_media_MediaScanner_processFile()

1234