Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp238 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 …]
Dconvert.h68 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);
DBroadcastRadioService.cpp195 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules()
Dconvert.cpp176 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult) { in ThrowIfFailed() function