Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/broadcastradio/
DBroadcastRadioService.java95 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
97 if (DEBUG) Slog.i(TAG, "Opening module " + moduleId); in openTuner()
103 if (mHal2.hasModule(moduleId)) { in openTuner()
104 return mHal2.openSession(moduleId, bandConfig, withAudio, callback); in openTuner()
106 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.java42 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() argument
43 mId = moduleId; in SoundTriggerModule()
DSoundTrigger.java1421 public static SoundTriggerModule attachModule(int moduleId, in attachModule() argument
1427 SoundTriggerModule module = new SoundTriggerModule(moduleId, listener, handler); in attachModule()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java90 public ITuner openSession(int moduleId, @Nullable RadioManager.BandConfig legacyConfig, in openSession() argument
98 RadioModule module = mModules.get(moduleId); in openSession()
/frameworks/base/core/java/android/hardware/radio/
DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner() argument
DRadioManager.java1752 public RadioTuner openTuner(int moduleId, BandConfig config, boolean withAudio, in openTuner() argument
1758 Log.d(TAG, "Opening tuner " + moduleId + "..."); in openTuner()
1763 tuner = mService.openTuner(moduleId, config, withAudio, halCallback); in openTuner()