Home
last modified time | relevance | path

Searched refs:moduleId (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java61 Integer moduleId;
64 moduleId = mServiceNameToModuleIdMap.get(serviceName);
66 if (moduleId == null) {
68 moduleId = mNextModuleId;
71 RadioModule module = RadioModule.tryLoadingModule(moduleId, serviceName);
75 Slog.v(TAG, "loaded broadcast radio module " + moduleId + ": " + serviceName
77 RadioModule prevModule = mModules.put(moduleId, module);
83 mServiceNameToModuleIdMap.put(serviceName, moduleId);
88 module.getService().linkToDeath(mDeathRecipient, moduleId);
91 mModules.remove(moduleId);
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DBroadcastRadioService.java85 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
87 if (DEBUG) Slog.i(TAG, "Opening module " + moduleId); in openTuner()
93 if (mHal2.hasModule(moduleId)) { in openTuner()
94 return mHal2.openSession(moduleId, bandConfig, withAudio, callback); in openTuner()
96 return mHal1.openTuner(moduleId, bandConfig, withAudio, callback); in openTuner()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DBroadcastRadioService.java51 private native Tuner nativeOpenTuner(long nativeContext, int moduleId, in nativeOpenTuner() argument
60 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
63 return nativeOpenTuner(mNativeContext, moduleId, bandConfig, withAudio, callback); in openTuner()
/frameworks/base/services/core/jni/BroadcastRadio/
DBroadcastRadioService.cpp204 static jobject nativeOpenTuner(JNIEnv *env, jobject obj, long nativeContext, jint moduleId, in nativeOpenTuner() argument
215 if (moduleId < 0 || static_cast<size_t>(moduleId) >= ctx.mModules.size()) { in nativeOpenTuner()
216 ALOGE("Invalid module ID: %d", moduleId); in nativeOpenTuner()
220 ALOGI("Opening tuner %d", moduleId); in nativeOpenTuner()
221 auto module = ctx.mModules[moduleId]; in nativeOpenTuner()
Dconvert.h44 jint moduleId, const std::string& serviceName);
46 jint moduleId, const std::string& serviceName);
Dconvert.cpp374 const V1_1::Properties *prop11, jint moduleId, const std::string& serviceName) { in ModulePropertiesFromHal() argument
396 gjni.ModuleProperties.cstor, moduleId, jServiceName.get(), prop10.classId, in ModulePropertiesFromHal()
404 jint moduleId, const std::string& serviceName) { in ModulePropertiesFromHal() argument
405 return ModulePropertiesFromHal(env, properties, nullptr, moduleId, serviceName); in ModulePropertiesFromHal()
409 jint moduleId, const std::string& serviceName) { in ModulePropertiesFromHal() argument
410 return ModulePropertiesFromHal(env, properties.base, &properties, moduleId, serviceName); in ModulePropertiesFromHal()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java46 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() argument
47 mId = moduleId; in SoundTriggerModule()
DSoundTrigger.java1499 public static SoundTriggerModule attachModule(int moduleId, in attachModule() argument
1505 SoundTriggerModule module = new SoundTriggerModule(moduleId, listener, handler); in attachModule()
/frameworks/base/core/java/android/hardware/radio/
DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner() argument
DRadioManager.java1760 public RadioTuner openTuner(int moduleId, BandConfig config, boolean withAudio, in openTuner() argument
1766 Log.d(TAG, "Opening tuner " + moduleId + "..."); in openTuner()
1771 tuner = mService.openTuner(moduleId, config, withAudio, halCallback); in openTuner()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h674 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;
DAudioPolicyManager.cpp633 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule()
634 sp<HwModule> module = mHwModules.getModuleFromName(moduleId); in isDeviceOfModule()