/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 61 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/ |
D | BroadcastRadioService.java | 85 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/ |
D | BroadcastRadioService.java | 51 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/ |
D | BroadcastRadioService.cpp | 204 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()
|
D | convert.h | 44 jint moduleId, const std::string& serviceName); 46 jint moduleId, const std::string& serviceName);
|
D | convert.cpp | 374 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/ |
D | SoundTriggerModule.java | 46 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() argument 47 mId = moduleId; in SoundTriggerModule()
|
D | SoundTrigger.java | 1499 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/ |
D | IRadioService.aidl | 33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner() argument
|
D | RadioManager.java | 1760 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/ |
D | AudioPolicyManager.h | 674 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;
|
D | AudioPolicyManager.cpp | 633 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() 634 sp<HwModule> module = mHwModules.getModuleFromName(moduleId); in isDeviceOfModule()
|