Searched refs:client (Results 1 - 25 of 244) 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);
/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/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/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryResult.java30 ContentProviderClient client; field in class:DirectoryResult
40 ContentProviderClient.releaseQuietly(client);
42 client = null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java76 * Represents an active remote {@link Ringtone} client.
108 Client client;
110 client = mClients.get(token);
111 if (client == null) {
113 client = new Client(token, uri, user, aa);
114 token.linkToDeath(client, 0);
115 mClients.put(token, client);
118 client.mRingtone.setLooping(looping);
119 client.mRingtone.setVolume(volume);
120 client
[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/base/tools/preload2/src/com/android/preload/classdataretrieval/
H A DClassDataRetriever.java24 * Retrieve a class-to-classloader map for loaded classes from the client.
28 public Map<String, String> getClassData(Client client); argument
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DScanPackageAction.java45 Client client = Main.getUI().getSelectedClient();
46 if (client != null) {
47 work(client);
61 work(ret.client);
85 private Client client; field in class:ScanPackageAction.ClientWrapper
88 client = c;
93 return client.getClientData().getClientDescription() + " (pid "
94 + client.getClientData().getPid() + ")";
/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/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp37 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
48 mClient(client),
204 sp<Camera2Client> client = mClient.promote(); local
205 if (client == 0) return false;
213 currentState = (this->*kStateManagers[currentState])(client);
226 client->getCameraId(), kStateNames[mCaptureState]);
232 client->getCameraId());
240 sp<Camera2Client> &/*client*/) {
256 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
270 SharedParameters::Lock l(client
326 manageStart( sp<Camera2Client> &client) argument
358 manageZslStart( sp<Camera2Client> &client) argument
407 manageStandardStart( sp<Camera2Client> &client) argument
489 manageStandardCapture( sp<Camera2Client> &client) argument
584 manageStandardCaptureWait( sp<Camera2Client> &client) argument
676 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
711 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
[all...]
H A DCaptureSequencer.h47 CaptureSequencer(wp<Camera2Client> client);
138 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
154 CaptureState manageIdle(sp<Camera2Client> &client);
155 CaptureState manageStart(sp<Camera2Client> &client);
157 CaptureState manageZslStart(sp<Camera2Client> &client);
158 CaptureState manageZslWaiting(sp<Camera2Client> &client);
159 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
161 CaptureState manageStandardStart(sp<Camera2Client> &client);
162 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client);
163 CaptureState manageStandardCapture(sp<Camera2Client> &client);
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java157 ClientRecord client = new ClientRecord(messenger, version);
158 if (client.register()) {
159 mClients.add(client);
161 Log.d(TAG, client + ": Registered, version=" + version);
167 createDescriptorBundleForClient(descriptor, client), null);
179 ClientRecord client = mClients.remove(index);
181 Log.d(TAG, client + ": Unregistered");
183 client.dispose();
193 ClientRecord client = mClients.remove(index);
195 Log.d(TAG, client
395 createDescriptorBundleForClient(MediaRouteProviderDescriptor descriptor, ClientRecord client) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp59 MediaScannerClient &client) {
62 client.setLocale(locale());
63 client.beginFile();
64 MediaScanResult result = processFileInternal(path, mimeType, client);
65 client.endFile();
71 MediaScannerClient &client) {
101 status = client.setMimeType(value);
134 status = client.addStringTag(kKeyMap[i].tag, value);
57 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
69 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
/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;
27 import android.bluetooth.client.map.BluetoothMasRequestSetMessageStatus.StatusIndicator;
28 import android.bluetooth.client.map.utils.ObexTime;
284 /** device associated with client */
287 /** MAS instance associated with client */
313 public SessionHandler(BluetoothMasClient client) { argument
316 mClient = new WeakReference<BluetoothMasClient>(client);
322 BluetoothMasClient client = mClient.get();
323 if (client == null) {
330 client
[all...]
H A DBluetoothMasRequestUpdateInbox.java17 package android.bluetooth.client.map;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h32 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
36 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
42 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
46 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
56 static player_type getPlayerType(const sp<IMediaPlayer>& client,
58 static player_type getPlayerType(const sp<IMediaPlayer>& client,
62 static player_type getPlayerType(const sp<IMediaPlayer>& client,
64 static player_type getPlayerType(const sp<IMediaPlayer>& client,
/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/core/java/android/webkit/
H A DServiceWorkerController.java61 * Sets the client to capture service worker related callbacks.
67 public abstract void setServiceWorkerClient(@Nullable ServiceWorkerClient client); argument
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl31 * Public interface to the global input method manager, used by all client
47 void addClient(in IInputMethodClient client,
49 void removeClient(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,
60 in IInputMethodClient client, in IBinder windowToken, int controlFlags,
65 void showInputMethodPickerFromClient(in IInputMethodClient client,
67 void showInputMethodAndSubtypeEnablerFromClient(in IInputMethodClient client, String topId);
/frameworks/base/services/core/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 + "}";

Completed in 612 milliseconds

12345678910