Searched refs:client (Results 101 - 125 of 335) sorted by relevance

1234567891011>>

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp104 // tear down the client
168 // lock camera to this client if the the camera is unlocked
174 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
199 // connect a new client to the camera
200 status_t CameraClient::connect(const sp<hardware::ICameraClient>& client) { argument
212 (IInterface::asBinder(client) == IInterface::asBinder(mRemoteCallback))) {
213 LOG1("Connect to the same client");
219 mRemoteCallback = client;
242 // Allow both client and the cameraserver to disconnect at all times
244 ALOGW("different client
836 sp<CameraClient> client = getClientFromCookie(user); local
856 sp<CameraClient> client = getClientFromCookie(user); local
889 sp<CameraClient> client = getClientFromCookie(user); local
906 sp<CameraClient> client = getClientFromCookie(user); local
1100 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/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp90 ALOGV("%s: Initializing client for camera %s", __FUNCTION__,
184 // Allow both client and the media server to disconnect at all times
212 const sp<TCamCallbacks>& client) {
231 TClientBase::mRemoteCallback = client;
232 mSharedCameraCallbacks = client;
351 SharedCameraCallbacks &client) :
353 mRemoteCallback(client.mRemoteCallback),
354 mSharedClient(client) {
366 const sp<TCamCallbacks>&client) :
368 mRemoteCallback(client) {
211 connect( const sp<TCamCallbacks>& client) argument
350 Lock( SharedCameraCallbacks &client) argument
[all...]
H A DCamera2ClientBase.h96 explicit Lock(SharedCameraCallbacks &client);
102 explicit 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/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp104 const sp<IResourceManagerClient>& client,
113 info.client = client;
179 snprintf(buffer, SIZE, " Name: %s\n", infos[j].client->getName().string());
227 const sp<IResourceManagerClient> client,
239 ResourceInfo& info = getResourceInfoForEdit(clientId, client, infos);
244 IInterface::asBinder(client)->linkToDeath(info.deathNotifier);
273 IInterface::asBinder(infos[j].client)->unlinkToDeath(infos[j].deathNotifier);
280 ALOGV("didn't find client");
289 sp<IResourceManagerClient> client; local
102 getResourceInfoForEdit( int64_t clientId, const sp<IResourceManagerClient>& client, ResourceInfos& infos) argument
224 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
436 getLowestPriorityBiggestClient_l( int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
508 getBiggestClient_l( int pid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java169 Socket client = mServer.accept();
171 mThreadPool.submit(new ViewServerWorker(client));
174 client.close();
185 private static boolean writeValue(Socket client, String value) { argument
189 OutputStream clientStream = client.getOutputStream();
214 public ViewServerWorker(Socket client) { argument
215 mClient = client;
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_tool.cpp4 #include <pdx/client.h>
119 auto client = ControlClient::Create(service_path, kClientTimeoutMs); local
120 if (!client) {
126 client->Reload();
139 auto client = ControlClient::Create(service_path, kClientTimeoutMs); local
140 if (!client) {
146 std::string response = client->Dump();
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp14 #include <pdx/client.h>
54 // Defines a serializable user type that may be transferred between client and
128 // Defines the contract between the client and service, including ServiceFS
189 // Test client to send messages to the test service.
550 // thread, either the service or client must be destroyed before stopping the
553 // stopping the dispatcher the client destructor will get blocked waiting for a
593 // Create a client to service.
594 auto client = TestClient::Create(); local
595 ASSERT_NE(nullptr, client);
597 const int sum = client
647 auto client = TestClient::Create(); local
691 auto client = TestClient::Create(); local
716 auto client = TestClient::Create(); local
731 auto client = TestClient::Create(); local
755 auto client = TestClient::Create(); local
[all...]
/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/native/libs/vr/libdvr/include/dvr/
H A Ddvr_deleter.h30 void dvrDisplayManagerDestroy(DvrDisplayManager* client);
33 void dvrHwcClientDestroy(DvrHwcClient* client);
35 void dvrVSyncClientDestroy(DvrVSyncClient* client);
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h266 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client);
296 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const;
299 * Return a vector of active ClientDescriptors that prevent this client from being added.
302 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const;
327 * Block until the given client is no longer in the active clients list, or the timeout
333 status_t waitUntilRemoved(const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client,
337 * Set the current listener for client add/remove events.
347 * The onClientRemoved method will be called when the client has been removed or evicted
349 * method will be called when the client has been added to the ClientManager that this
362 * vector of ClientDescriptors that are higher priority than the incoming client an
410 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument
503 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument
620 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument
[all...]
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java131 // Binder token for this client
133 // This client's UID
135 // This client's PID
137 // List of all receivers for this client
140 // List of all device connections for this client
193 // ignore private devices that our client cannot access
207 // ignore private devices that our client cannot access
221 // ignore private devices that our client cannot access
270 Client client = mClients.get(token);
271 if (client
528 DeviceConnection(Device device, Client client, IMidiDeviceOpenCallback callback) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareStateManager.java395 * Get the client state for the specified ID (or null if none exists).
433 * Place a request for a new client connection on the state machine queue.
452 * Place a request to disconnect (destroy) an existing client on the state
2037 WifiAwareClientState client = new WifiAwareClientState(mContext, clientId, uid, pid,
2040 client.onInterfaceAddressChange(mCurrentDiscoveryInterfaceMac);
2041 mClients.append(clientId, client);
2069 WifiAwareClientState client = mClients.get(clientId);
2070 if (client == null) {
2075 mAwareMetrics.recordAttachSessionDuration(client.getCreationTime());
2076 SparseArray<WifiAwareDiscoverySessionState> sessions = client
[all...]
/frameworks/av/camera/aidl/android/hardware/
H A DICameraService.aidl78 ICamera connect(ICameraClient client,
100 ICamera connectLegacy(ICameraClient 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/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/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_manager_client.h7 #include <pdx/client.h>
/frameworks/native/libs/vr/libperformance/include/private/dvr/
H A Dperformance_client.h10 #include <pdx/client.h>
/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/av/media/libmedia/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/av/services/oboeservice/
H A DAAudioService.h52 virtual void registerClient(const sp<IAAudioClient>& client);
80 const android::AudioClient& client,

Completed in 1005 milliseconds

1234567891011>>