Searched refs:client (Results 76 - 100 of 242) sorted by relevance

12345678910

/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceServer.java187 InputPortClient client = new InputPortClient(token, outputPort);
189 mPortClients.put(token, client);
227 OutputPortClient client = new OutputPortClient(token, inputPort);
229 mPortClients.put(token, client);
241 PortClient client = mPortClients.remove(token);
242 if (client != null) {
243 client.close();
269 OutputPortClient client = new OutputPortClient(token, inputPort);
271 mPortClients.put(token, client);
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.h96 Lock(SharedCameraCallbacks &client);
102 SharedCameraCallbacks(const sp<TCamCallbacks>& client);
103 SharedCameraCallbacks& operator=(const sp<TCamCallbacks>& client);
121 /** Binder client interface-related private members */
123 // Mutex that must be locked by methods implementing the binder client
124 // interface. Ensures serialization between incoming client calls.
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java138 IActivityRecognitionHardwareClient client =
140 if (client == null) {
141 Log.e(TAG, "No client found on connection.");
145 client.onAvailabilityChanged(mIsSupported, mInstance);
147 Log.e(TAG, "Error delivering hardware interface to client.", e);
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpClient.java26 import org.apache.http.client.HttpClient;
27 import org.apache.http.client.ResponseHandler;
28 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java130 // Binder token for this client
132 // This client's UID
134 // This client's PID
136 // List of all receivers for this client
139 // List of all device connections for this client
192 // ignore private devices that our client cannot access
206 // ignore private devices that our client cannot access
220 // ignore private devices that our client cannot access
269 Client client = mClients.get(token);
270 if (client
530 DeviceConnection(Device device, Client client, IMidiDeviceOpenCallback callback) argument
[all...]
/frameworks/av/include/radio/
H A DIRadioService.h40 const sp<IRadioClient>& client,
/frameworks/av/include/soundtrigger/
H A DISoundTriggerHwService.h40 const sp<ISoundTriggerClient>& client,
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.h37 const sp<IRemoteDisplayClient> &client,
/frameworks/av/radio/
H A DIRadioService.cpp81 const sp<IRadioClient>& client,
89 data.writeStrongBinder(IInterface::asBinder(client));
154 sp<IRadioClient> client = local
165 status_t status = attach(handle, client, configPtr, withAudio, radio);
80 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp79 const sp<IResourceManagerClient> client,
88 info.client = client;
154 snprintf(buffer, SIZE, " Name: %s\n", infos[j].client->getName().string());
202 const sp<IResourceManagerClient> client,
214 ResourceInfo& info = getResourceInfoForEdit(clientId, client, infos);
246 ALOGV("didn't find client");
255 sp<IResourceManagerClient> client; local
256 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) {
257 clients->push_back(client);
77 getResourceInfoForEdit( int64_t clientId, const sp<IResourceManagerClient> client, ResourceInfos& infos) argument
199 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
402 getLowestPriorityBiggestClient_l( int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
474 getBiggestClient_l( int pid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
[all...]
/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp81 const sp<ISoundTriggerClient>& client,
87 data.writeStrongBinder(IInterface::asBinder(client));
156 sp<ISoundTriggerClient> client = local
159 status_t status = attach(handle, client, module);
80 attach(const sound_trigger_module_handle_t handle, const sp<ISoundTriggerClient>& client, sp<ISoundTrigger>& module) argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentClipper.java104 ContentProviderClient client = null;
107 client = DocumentsApplication.acquireUnstableProviderOrThrow(
109 cursor = client.query(itemUri, null, null, null, null);
116 ContentProviderClient.releaseQuietly(client);
H A DDirectoryLoader.java119 ContentProviderClient client = null;
122 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority);
123 cursor = client.query(
138 result.client = client;
143 ContentProviderClient.releaseQuietly(client);
/frameworks/native/vulkan/include/vulkan/
H A Dvk_platform.h105 #include <wayland-client.h>
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapRfcommTransport.java17 package android.bluetooth.client.map;
H A DBluetoothMasRequestGetMessagesListing.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.BluetoothMasClient.MessagesFilter;
20 import android.bluetooth.client.map.utils.ObexAppParameters;
21 import android.bluetooth.client.map.utils.ObexTime;
H A DBluetoothMasRequestSetPath.java17 package android.bluetooth.client.map;
/frameworks/av/include/media/
H A DIMediaPlayerService.h50 virtual sp<IMediaPlayer> create(const sp<IMediaPlayerClient>& client,
60 // display client when display connection, disconnection or errors occur.
64 const sp<IRemoteDisplayClient>& client, const String8& iface) = 0;
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl36 void connect(IAccessibilityServiceClient client, int flags);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java179 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();
180 return client.findAccessibilityNodeInfoByAccessibilityId(mConnectionId,
206 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();
207 return client.findAccessibilityNodeInfoByAccessibilityId(mConnectionId,
220 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();
221 return client.getWindow(mConnectionId, mParentId);
374 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();
375 return client.getWindow(mConnectionId, childId);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
H A DJob.java141 ContentProviderClient client = mClients.get(doc.authority);
142 if (client == null) {
144 client = acquireUnstableProviderOrThrow(
148 mClients.put(doc.authority, client);
151 assert(client != null);
152 return client;
156 for (ContentProviderClient client : mClients.values()) {
157 ContentProviderClient.releaseQuietly(client);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp101 // tear down the client
165 // lock camera to this client if the the camera is unlocked
171 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
196 // connect a new client to the camera
197 status_t CameraClient::connect(const sp<hardware::ICameraClient>& client) { argument
209 (IInterface::asBinder(client) == IInterface::asBinder(mRemoteCallback))) {
210 LOG1("Connect to the same client");
216 mRemoteCallback = client;
239 // Allow both client and the cameraserver to disconnect at all times
241 ALOGW("different client
770 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
790 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
823 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroup.java32 * will be the group owner and the other will be a group client.
84 * P2P-GROUP-STARTED p2p-wlan0-0 [client|GO] ssid="DIRECT-W8" freq=2437
88 * P2P-GROUP-REMOVED p2p-wlan0-0 [client|GO] reason=REQUESTED
136 // set source address into the client list.
199 for (WifiP2pDevice client : mClients) {
200 if (client.equals(device)) return;
270 for (WifiP2pDevice client : mClients) {
271 sbuf.append("\n Client: ").append(client);
302 for (WifiP2pDevice client : mClients) {
303 dest.writeParcelable(client, flag
[all...]
/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
182 const sp<SurfaceComposerClient>& client(mClient);
183 return client->clearLayerFrameStats(mHandle);
189 const sp<SurfaceComposerClient>& client(mClient);
190 return client->getLayerFrameStats(mHandle, outStats);
196 ALOGE("invalid handle (%p) or client (%p)",
48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiTrafficPoller.java104 void addClient(Messenger client) { argument
105 Message.obtain(mTrafficHandler, ADD_CLIENT, client).sendToTarget();
108 void removeClient(Messenger client) { argument
109 Message.obtain(mTrafficHandler, REMOVE_CLIENT, client).sendToTarget();
213 for (Messenger client : mClients) {
218 client.send(msg);

Completed in 675 milliseconds

12345678910