Searched refs:jConfig (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 459 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region ®ion) { in BandConfigToHal() argument 461 auto jDescriptor = env->GetObjectField(jConfig, gjni.BandConfig.descriptor); in BandConfigToHal() 478 if (env->IsInstanceOf(jConfig, gjni.FmBandConfig.clazz)) { in BandConfigToHal() 481 fm.stereo = env->GetBooleanField(jConfig, gjni.FmBandConfig.stereo); in BandConfigToHal() 482 fm.rds = RdsForRegion(env->GetBooleanField(jConfig, gjni.FmBandConfig.rds), region); in BandConfigToHal() 483 fm.ta = env->GetBooleanField(jConfig, gjni.FmBandConfig.ta); in BandConfigToHal() 484 fm.af = env->GetBooleanField(jConfig, gjni.FmBandConfig.af); in BandConfigToHal() 485 fm.ea = env->GetBooleanField(jConfig, gjni.FmBandConfig.ea); in BandConfigToHal() 486 } else if (env->IsInstanceOf(jConfig, gjni.AmBandConfig.clazz)) { in BandConfigToHal() 488 am.stereo = env->GetBooleanField(jConfig, gjni.AmBandConfig.stereo); in BandConfigToHal()
|
D | TunerCallback.cpp | 174 auto jConfig = convert::BandConfigFromHal(env, config, region); in configChange() local 175 if (jConfig == nullptr) return; in configChange() 177 jConfig.get()); in configChange()
|
D | convert.h | 49 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region ®ion);
|
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 706 jint jHandle, jobject jConfig) in android_hardware_SoundTrigger_startRecognition() argument 715 if (!env->IsInstanceOf(jConfig, gRecognitionConfigClass)) { in android_hardware_SoundTrigger_startRecognition() 719 jbyteArray jData = (jbyteArray)env->GetObjectField(jConfig, gRecognitionConfigFields.data); in android_hardware_SoundTrigger_startRecognition() 754 config->capture_requested = env->GetBooleanField(jConfig, in android_hardware_SoundTrigger_startRecognition() 759 (jobjectArray)env->GetObjectField(jConfig, gRecognitionConfigFields.keyphrases); in android_hardware_SoundTrigger_startRecognition()
|