Searched refs:jConfig (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 415 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region ®ion) { 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()
|
D | TunerCallback.cpp | 171 auto jConfig = convert::BandConfigFromHal(env, config, region); in configChange() local 172 if (jConfig == nullptr) return; in configChange() 174 jConfig.get()); in configChange()
|
D | convert.h | 47 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region ®ion);
|
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 686 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()
|