Searched refs:ThrowIfFailed (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 239 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 …]
|
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
|