Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp415 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region) { in BandConfigToHal() argument
417 auto jDescriptor = env->GetObjectField(jConfig, gjni.BandConfig.descriptor); in BandConfigToHal()
434 if (env->IsInstanceOf(jConfig, gjni.FmBandConfig.clazz)) { in BandConfigToHal()
437 fm.stereo = env->GetBooleanField(jConfig, gjni.FmBandConfig.stereo); in BandConfigToHal()
438 fm.rds = RdsForRegion(env->GetBooleanField(jConfig, gjni.FmBandConfig.rds), region); in BandConfigToHal()
439 fm.ta = env->GetBooleanField(jConfig, gjni.FmBandConfig.ta); in BandConfigToHal()
440 fm.af = env->GetBooleanField(jConfig, gjni.FmBandConfig.af); in BandConfigToHal()
441 fm.ea = env->GetBooleanField(jConfig, gjni.FmBandConfig.ea); in BandConfigToHal()
442 } else if (env->IsInstanceOf(jConfig, gjni.AmBandConfig.clazz)) { in BandConfigToHal()
444 am.stereo = env->GetBooleanField(jConfig, gjni.AmBandConfig.stereo); in BandConfigToHal()
DTunerCallback.cpp171 auto jConfig = convert::BandConfigFromHal(env, config, region); in configChange() local
172 if (jConfig == nullptr) return; in configChange()
174 jConfig.get()); in configChange()
Dconvert.h47 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region);
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp686 jint jHandle, jobject jConfig) in android_hardware_SoundTrigger_startRecognition() argument
695 if (!env->IsInstanceOf(jConfig, gRecognitionConfigClass)) { in android_hardware_SoundTrigger_startRecognition()
699 jbyteArray jData = (jbyteArray)env->GetObjectField(jConfig, gRecognitionConfigFields.data); in android_hardware_SoundTrigger_startRecognition()
734 config->capture_requested = env->GetBooleanField(jConfig, in android_hardware_SoundTrigger_startRecognition()
739 (jobjectArray)env->GetObjectField(jConfig, gRecognitionConfigFields.keyphrases); in android_hardware_SoundTrigger_startRecognition()