Home
last modified time | relevance | path

Searched refs:moduleClient (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/radio/
DRadioService.cpp236 RadioService::CallbackThread::CallbackThread(const wp<ModuleClient>& moduleClient) in CallbackThread() argument
237 : mModuleClient(moduleClient), mMemoryDealer(new MemoryDealer(1024 * 1024, "RadioService")) in CallbackThread()
255 sp<ModuleClient> moduleClient; in threadLoop() local
268 moduleClient = mModuleClient.promote(); in threadLoop()
270 if (moduleClient != 0) { in threadLoop()
271 moduleClient->onCallbackEvent(eventMemory); in threadLoop()
395 sp<ModuleClient> moduleClient; in addClient() local
399 return moduleClient; in addClient()
405 return moduleClient; in addClient()
408 moduleClient = new ModuleClient(this, client, config, audio); in addClient()
[all …]
DRadioService.h81 void removeClient(const sp<ModuleClient>& moduleClient);
109 explicit CallbackThread(const wp<ModuleClient>& moduleClient);
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp128 sp<ModuleClient> moduleClient = module->addClient(client); in attach() local
129 if (moduleClient == 0) { in attach()
133 moduleClient->setCaptureState_l(mCaptureState); in attach()
134 moduleInterface = moduleClient; in attach()
373 ModuleClient *moduleClient) in sendServiceStateEvent_l() argument
381 callbackEvent->setModuleClient(moduleClient); in sendServiceStateEvent_l()
395 sp<ModuleClient> moduleClient; in onCallbackEvent() local
401 moduleClient = event->mModuleClient.promote(); in onCallbackEvent()
402 if (moduleClient == 0) { in onCallbackEvent()
410 } else if (moduleClient != 0) { in onCallbackEvent()
[all …]
DSoundTriggerHwService.h74 sp<ModuleClient>& moduleClient);
99 void setModuleClient(wp<ModuleClient> moduleClient) { mModuleClient = moduleClient; } in setModuleClient() argument
117 sp<ModuleClient> moduleClient,
137 void detach(const sp<ModuleClient>& moduleClient);
229 ModuleClient *moduleClient);