/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | StreamingProcessor.cpp | 43 StreamingProcessor::StreamingProcessor(sp<Camera2Client> client): argument 44 mClient(client), 45 mDevice(client->getCameraDevice()), 46 mId(client->getCameraId()), 110 sp<Camera2Client> client = mClient.promote(); local 111 if (client == 0) { 117 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_0) {
|
H A D | StreamingProcessor.h | 42 StreamingProcessor(sp<Camera2Client> client);
|
H A D | ZslProcessor.cpp | 44 sp<Camera2Client> client, 49 mClient(client), 51 mId(client->getCameraId()), 57 if (client != 0) { 59 static_cast<Camera3Device*>(client->getCameraDevice().get()); 135 sp<Camera2Client> client = mClient.promote(); local 136 if (client == 0) { 141 static_cast<Camera3Device*>(client->getCameraDevice().get()); 155 client->getCameraId(), strerror(-res), res); 162 __FUNCTION__, client 43 ZslProcessor( sp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument 214 sp<Camera2Client> client = mClient.promote(); local 246 sp<Camera2Client> client = mClient.promote(); local 290 sp<Camera2Client> client = mClient.promote(); local [all...] |
H A D | ZslProcessor.h | 49 ZslProcessor(sp<Camera2Client> client, wp<CaptureSequencer> sequencer); 75 * A capture request is created and submitted on behalf of the client.
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 84 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, 177 // Allow both client and the media server to disconnect at all times 205 const sp<TCamCallbacks>& client) { 224 TClientBase::mRemoteCallback = client; 225 mSharedCameraCallbacks = client; 338 SharedCameraCallbacks &client) : 340 mRemoteCallback(client.mRemoteCallback), 341 mSharedClient(client) { 353 const sp<TCamCallbacks>&client) : 355 mRemoteCallback(client) { 204 connect( const sp<TCamCallbacks>& client) argument 337 Lock( SharedCameraCallbacks &client) argument [all...] |
H A D | Camera2ClientBase.h | 96 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/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 228 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client); 258 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 261 * Return a vector of active ClientDescriptors that prevent this client from being added. 264 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 289 * Block until the given client is no longer in the active clients list, or the timeout 295 status_t waitUntilRemoved(const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, 299 * Set the current listener for client add/remove events. 309 * The onClientRemoved method will be called when the client has been removed or evicted 311 * method will be called when the client has been added to the ClientManager that this 324 * vector of ClientDescriptors that are higher priority than the incoming client an 372 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument 465 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument 582 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument [all...] |
/frameworks/av/services/mediaresourcemanager/ |
H A D | ResourceManagerService.cpp | 79 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...] |
H A D | ResourceManagerService.h | 38 sp<IResourceManagerClient> client; member in struct:android::ResourceInfo 63 const sp<IResourceManagerClient> client, 80 // Returns false if any client belongs to a process with higher priority than the 85 // Gets the client who owns specified resource type from lowest possible priority process. 87 // priority. The client will remain unchanged if returns false. 89 sp<IResourceManagerClient> *client); 95 // Gets the client who owns biggest piece of specified resource type from pid. 96 // Returns false if failed. The client will remain unchanged if failed. 97 bool getBiggestClient_l(int pid, MediaResource::Type type, sp<IResourceManagerClient> *client); 101 // A helper function basically calls getLowestPriorityBiggestClient_l and add the result client [all...] |
/frameworks/av/services/mediaresourcemanager/test/ |
H A D | ResourceManagerService_test.cpp | 32 static int64_t getId(sp<IResourceManagerClient> client) { argument 33 return (int64_t) client.get(); 60 sp<IResourceManagerClient> client(this); 61 mService->removeResource(mPid, (int64_t) client.get()); 118 static void expectEqResourceInfo(const ResourceInfo &info, sp<IResourceManagerClient> client, argument 120 EXPECT_EQ(client, info.client); 140 // pid priority client type number 234 EXPECT_EQ(mTestClient3, infos2[0].client); 440 // clean up client 447 sp<IResourceManagerClient> client; local 486 sp<IResourceManagerClient> client; local [all...] |
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 120 const sp<IRadioClient>& client, 129 if (client == 0) { 146 radio = module->addClient(client, config, withAudio); 402 sp<RadioService::ModuleClient> RadioService::Module::addClient(const sp<IRadioClient>& client, argument 412 if (mModuleClients[i]->client() == client) { 413 // client already connected: reject 417 moduleClient = new ModuleClient(this, client, config, audio); 431 // If another client is preempted, it is notified by a callback with RADIO_EVENT_CONTROL 433 // - If the newly connected client request 119 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument 645 ModuleClient(const sp<Module>& module, const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument 873 sp<IRadioClient> client; local [all...] |
H A D | RadioService.h | 55 const sp<IRadioClient>& client, 74 sp<ModuleClient> addClient(const sp<IRadioClient>& client, 123 wp<ModuleClient> mModuleClient; // client module the thread belongs to 135 const sp<IRadioClient>& client, 166 sp<IRadioClient> client() const { return mClient; } function in class:android::RadioService::ModuleClient 185 wp<Module> mModule; // The module this client is attached to 191 // this client does not have control on any
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 90 sp<ISoundTriggerClient> client; local 91 sp<Module> module = new Module(this, dev, descriptor, client); 127 const sp<ISoundTriggerClient>& client, 137 if (client == 0) { 146 module->setClient(client); 147 IInterface::asBinder(client)->linkToDeath(module); 494 const sp<ISoundTriggerClient>& client) 496 mClient(client), mServiceState(SOUND_TRIGGER_STATE_NO_INIT) 690 sp<ISoundTriggerClient> client; local 705 client 126 attach(const sound_trigger_module_handle_t handle, const sp<ISoundTriggerClient>& client, sp<ISoundTrigger>& moduleInterface) argument 491 Module(const sp<SoundTriggerHwService>& service, sound_trigger_hw_device* hwDevice, sound_trigger_module_descriptor descriptor, const sp<ISoundTriggerClient>& client) argument 714 sp<ISoundTriggerClient> client; local 729 sp<ISoundTriggerClient> client; local [all...] |
H A D | SoundTriggerHwService.h | 53 const sp<ISoundTriggerClient>& client, 108 const sp<ISoundTriggerClient>& client); 128 void setClient(sp<ISoundTriggerClient> client) { mClient = client; } argument 130 sp<ISoundTriggerClient> client() const { return mClient; } function in class:android::SoundTriggerHwService::Module
|
/frameworks/av/soundtrigger/ |
H A D | ISoundTriggerHwService.cpp | 81 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/av/camera/aidl/android/hardware/ |
H A D | ICameraService.aidl | 76 ICamera connect(ICameraClient client, 98 ICamera connectLegacy(ICameraClient client,
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 348 sp<MyClient> client = new MyClient; local 377 service->create(client, AUDIO_SESSION_ALLOCATE); 383 client->waitForEOS();
|