Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp239 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration()
256 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration()
270 convert::ThrowIfFailed(env, halTuner->step(dir, skipSubChannel)); in nativeStep()
280 convert::ThrowIfFailed(env, halTuner->scan(dir, skipSubChannel)); in nativeScan()
294 convert::ThrowIfFailed(env, halTuner11->tuneByProgramSelector(selector)); in nativeTune()
302 convert::ThrowIfFailed(env, halTuner10->tune(channel, subChannel)); in nativeTune()
311 convert::ThrowIfFailed(env, halTuner->cancel()); in nativeCancel()
322 convert::ThrowIfFailed(env, halTuner->cancelAnnouncement()); in nativeCancelAnnouncement()
336 return !convert::ThrowIfFailed(env, halResult); in nativeStartBackgroundScan()
362 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