Searched refs:ThrowIfFailed (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 238 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration() 255 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 269 convert::ThrowIfFailed(env, halTuner->step(dir, skipSubChannel)); in nativeStep() 279 convert::ThrowIfFailed(env, halTuner->scan(dir, skipSubChannel)); in nativeScan() 293 convert::ThrowIfFailed(env, halTuner11->tuneByProgramSelector(selector)); in nativeTune() 301 convert::ThrowIfFailed(env, halTuner10->tune(channel, subChannel)); in nativeTune() 310 convert::ThrowIfFailed(env, halTuner->cancel()); in nativeCancel() 321 convert::ThrowIfFailed(env, halTuner->cancelAnnouncement()); in nativeCancelAnnouncement() 335 return !convert::ThrowIfFailed(env, halResult); in nativeStartBackgroundScan() 361 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeGetProgramList() [all …]
|
D | convert.h | 68 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult, const T halResult) { in ThrowIfFailed() function 73 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<T> &hidlResult) { in ThrowIfFailed() function 78 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult);
|
D | BroadcastRadioService.cpp | 195 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules()
|
D | convert.cpp | 176 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult) { in ThrowIfFailed() function
|