Searched refs:halResult (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 259 Result halResult; in nativeGetConfiguration() local 261 halResult = result; in nativeGetConfiguration() 264 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 351 Result halResult; in nativeGetProgramInformation() local 356 halResult = result; in nativeGetProgramInformation() 363 halResult = result; in nativeGetProgramInformation() 370 convert::ThrowIfFailed(env, hidlResult, halResult); in nativeGetProgramInformation() 382 auto halResult = halTuner->startBackgroundScan(); in nativeStartBackgroundScan() local 384 if (halResult.isOk() && halResult == ProgramListResult::UNAVAILABLE) return false; in nativeStartBackgroundScan() 385 return !convert::ThrowIfFailed(env, halResult); in nativeStartBackgroundScan() [all …]
|
D | convert.h | 62 bool __ThrowIfFailed(JNIEnv *env, const V1_0::Result halResult); 63 bool __ThrowIfFailed(JNIEnv *env, const V1_1::ProgramListResult halResult); 66 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult, const T halResult) { in ThrowIfFailed() argument 67 return __ThrowIfFailedHidl(env, hidlResult) || __ThrowIfFailed(env, halResult); in ThrowIfFailed()
|
D | BroadcastRadioService.cpp | 163 Result halResult = Result::OK; in nativeLoadModules() local 172 halResult = result; in nativeLoadModules() 177 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules() 223 Result halResult; in nativeOpenTuner() local 228 halResult = result; in nativeOpenTuner() 231 if (!hidlResult.isOk() || halResult != Result::OK || halTuner == nullptr) { in nativeOpenTuner() 233 ALOGE_IF(hidlResult.isOk(), "halResult = %d", halResult); in nativeOpenTuner()
|
D | convert.cpp | 162 bool __ThrowIfFailed(JNIEnv *env, const Result halResult) { in __ThrowIfFailed() argument 163 switch (halResult) { in __ThrowIfFailed() 181 + std::to_string(static_cast<int32_t>(halResult))); in __ThrowIfFailed() 186 bool __ThrowIfFailed(JNIEnv *env, const ProgramListResult halResult) { in __ThrowIfFailed() argument 187 switch (halResult) { in __ThrowIfFailed() 199 return __ThrowIfFailed(env, static_cast<Result>(halResult)); in __ThrowIfFailed()
|