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

1234

/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl27 * Public interface to the global input method manager, used by all client
34 void addClient(in IInputMethodClient client,
36 void removeClient(in IInputMethodClient client);
38 InputBindResult startInput(in IInputMethodClient client,
41 void finishInput(in IInputMethodClient client);
42 boolean showSoftInput(in IInputMethodClient client, int flags,
44 boolean hideSoftInput(in IInputMethodClient client, int flags,
46 void windowGainedFocus(in IInputMethodClient client, in IBinder windowToken,
50 void showInputMethodPickerFromClient(in IInputMethodClient client);
/frameworks/base/services/surfaceflinger/tests/resize/
H A Dresize.cpp32 // create a client to surfaceflinger
33 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
36 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240,
40 client->openTransaction();
42 client->closeTransaction();
54 client->openTransaction();
56 client->closeTransaction();
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java26 import org.apache.http.client.HttpClient;
27 import org.apache.http.client.methods.HttpGet;
28 import org.apache.http.impl.client.DefaultHttpClient;
56 HttpClient client = new DefaultHttpClient();
57 client.execute(new HttpGet(server.getUrl("/").toURI()));
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManager.aidl32 void addClient(IAccessibilityManagerClient client);
/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/services/surfaceflinger/tests/surface/
H A Dsurface.cpp23 // create a client to surfaceflinger
24 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
27 sp<SurfaceControl> surfaceControl = client->createSurface(
29 client->openTransaction();
31 client->closeTransaction();
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java39 * to the client of the MediaScannerConnection class.
52 MediaScannerConnectionClient client = mClient;
53 if (client != null) {
54 client.onScanCompleted(path, uri);
65 * Called to notify the client when the media scanner has finished
81 * Called to notify the client when a connection to the
87 * Called to notify the client when the media scanner has finished
100 * @param client an optional object implementing the MediaScannerConnectionClient
103 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { argument
105 mClient = client;
186 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) argument
[all...]
/frameworks/base/media/libstagefright/
H A DStagefrightMediaScanner.cpp57 const char *filename, MediaScannerClient *client) {
97 if (!client->addStringTag("duration", buffer)) return UNKNOWN_ERROR;
104 MediaScannerClient &client) {
107 client.setLocale(locale());
108 client.beginFile();
117 client.endFile();
130 return HandleMIDI(path, &client);
137 client.setMimeType(value);
163 client.addStringTag(kKeyMap[i].tag, value);
168 client
56 HandleMIDI( const char *filename, MediaScannerClient *client) argument
102 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
[all...]
/frameworks/base/telephony/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...]
/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/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java29 import org.apache.http.client.HttpClient;
30 import org.apache.http.client.methods.HttpGet;
31 import org.apache.http.client.methods.HttpUriRequest;
113 AndroidHttpClient client = null;
115 client = AndroidHttpClient.newInstance("Android");
131 HttpResponse response = client.execute(req);
165 if (client != null) {
166 client.close();
/frameworks/base/include/media/stagefright/
H A DStagefrightMediaScanner.h33 MediaScannerClient &client);
/frameworks/base/include/media/
H A Dmediascanner.h37 MediaScannerClient &client) = 0;
42 MediaScannerClient &client,
59 MediaScannerClient &client, ExceptionCheck exceptionCheck,
H A DIMediaPlayerService.h43 virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client,
46 virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client,
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.cpp118 sp<Client> client; local
127 client = mClient[cameraId].promote();
128 if (client != 0) {
129 if (cameraClient->asBinder() == client->getCameraClient()->asBinder()) {
130 LOG1("CameraService::connect X (pid %d) (the same client)",
132 return client;
134 LOGW("CameraService::connect X (pid %d) rejected (existing client).",
155 client = new Client(this, cameraClient, hardware, cameraId, info.facing,
157 mClient[cameraId] = client;
159 return client;
169 sp<Client> client; local
417 connect(const sp<ICameraClient>& client) argument
882 sp<Client> client = gCameraService->getClientById((int) user); local
930 sp<Client> client = getClientFromCookie(user); local
949 sp<Client> client = getClientFromCookie(user); local
982 sp<Client> client = getClientFromCookie(user); local
1162 copyFrameAndPostCopiedFrame( const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size) argument
1262 sp<Client> client = mClient[i].promote(); local
[all...]
/frameworks/base/media/libmedia/
H A DMediaScanner.cpp52 MediaScannerClient &client,
71 client.setLocale(locale());
75 pathBuffer, pathRemaining, extensions, client,
102 MediaScannerClient &client, ExceptionCheck exceptionCheck,
114 client.addNoMediaFolder(path);
168 int err = doProcessDirectory(path, pathRemaining - nameLength - 1, extensions, client, exceptionCheck, exceptionEnv);
179 client.scanFile(path, statbuf.st_mtime, statbuf.st_size);
50 processDirectory( const char *path, const char *extensions, MediaScannerClient &client, ExceptionCheck exceptionCheck, void *exceptionEnv) argument
100 doProcessDirectory( char *path, int pathRemaining, const char *extensions, MediaScannerClient &client, ExceptionCheck exceptionCheck, void *exceptionEnv) argument
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java139 Socket client = new Socket("localhost", 8383);
140 client.getOutputStream().write(1);
141 // Just leave this connection open from the client side. It will be
246 private Socket client; field in class:SocketTest
258 client = new Socket();
264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357));
278 client.close();
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java132 final ClientState client; field in class:InputMethodManagerService.SessionState
138 return "SessionState{uid " + client.uid + " pid " + client.pid
148 client = _client;
155 final IInputMethodClient client; field in class:InputMethodManagerService.ClientState
173 client = _client;
201 * The client that is currently bound to an input method.
211 * The input context last provided by the current client.
216 * The attributes last provided by the current client.
233 * Set if the client ha
580 addClient(IInputMethodClient client, IInputContext inputContext, int uid, int pid) argument
588 removeClient(IInputMethodClient client) argument
675 startInputLocked(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, boolean initial, boolean needResult) argument
811 startInput(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, boolean initial, boolean needResult) argument
825 finishInput(IInputMethodClient client) argument
1012 showSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument
1077 hideSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument
1134 windowGainedFocus(IInputMethodClient client, IBinder windowToken, boolean viewHasFocus, boolean isTextEditor, int softInputMode, boolean first, int windowFlags) argument
1222 showInputMethodPickerFromClient(IInputMethodClient client) argument
[all...]
H A DViewServer.java178 Socket client = mServer.accept();
180 mThreadPool.submit(new ViewServerWorker(client));
183 client.close();
194 private static boolean writeValue(Socket client, String value) { argument
198 OutputStream clientStream = client.getOutputStream();
222 public ViewServerWorker(Socket client) { argument
223 mClient = client;
/frameworks/base/cmds/stagefright/
H A Daudioloop.cpp24 OMXClient client; local
25 CHECK_EQ(client.connect(), OK);
54 client.interface(),
66 client.interface(),
H A Drecord.cpp185 OMXClient client; local
186 CHECK_EQ(client.connect(), OK);
201 client.interface(), meta, false /* createEncoder */, source);
228 client.interface(), enc_meta, true /* createEncoder */, decoder);
263 client.disconnect();
301 OMXClient client; local
302 CHECK_EQ(client.connect(), OK);
328 OMXCodec::Create(client.interface(), encMeta, true, audioSource);
350 client.disconnect();
/frameworks/base/services/surfaceflinger/
H A DLayerDim.h41 const sp<Client>& client);
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java38 CursorFilter(CursorFilterClient client) { argument
39 mClient = client;
/frameworks/base/services/surfaceflinger/tests/overlays/
H A Doverlays.cpp29 // create a client to surfaceflinger
30 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
33 sp<Surface> surface = client->createSurface(getpid(), 0, 320, 240,
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSimSmsInterfaceManager.java232 String client = context.getPackageManager().getNameForUid(
235 if (!mCellBroadcastRangeManager.enableRange(startMessageId, endMessageId, client)) {
237 + " to " + endMessageId + " from client " + client);
243 + " to " + endMessageId + " from client " + client);
257 String client = context.getPackageManager().getNameForUid(
260 if (!mCellBroadcastRangeManager.disableRange(startMessageId, endMessageId, client)) {
262 + " to " + endMessageId + " from client " + client);
[all...]

Completed in 647 milliseconds

1234