Searched refs:hidlResult (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.h | 63 const hardware::details::return_status &hidlResult); 68 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult, const T halResult) { in ThrowIfFailed() argument 69 return __ThrowIfFailedHidl(env, hidlResult) || __ThrowIfFailed(env, halResult); in ThrowIfFailed() 73 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<T> &hidlResult) { in ThrowIfFailed() argument 74 return __ThrowIfFailedHidl(env, hidlResult) || __ThrowIfFailed(env, static_cast<T>(hidlResult)); in ThrowIfFailed() 78 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult);
|
D | BroadcastRadioService.cpp | 180 Return<void> hidlResult; in nativeLoadModules() local 182 hidlResult = module11->getProperties_1_1([&](const V1_1::Properties& properties) { in nativeLoadModules() 187 hidlResult = module10->getProperties([&](Result result, in nativeLoadModules() 195 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules() 258 auto hidlResult = module.radioModule->openTuner(bandConfigHal, withAudio, tunerCb, in nativeOpenTuner() local 263 if (!hidlResult.isOk() || halResult != Result::OK || halTuner == nullptr) { in nativeOpenTuner() 265 ALOGE_IF(hidlResult.isOk(), "halResult = %d", halResult); in nativeOpenTuner() 266 ALOGE_IF(!hidlResult.isOk(), "hidlResult = %s", hidlResult.description().c_str()); in nativeOpenTuner()
|
D | Tuner.cpp | 252 auto hidlResult = halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeGetConfiguration() local 256 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 350 auto hidlResult = halTuner->getProgramList(filter, in nativeGetProgramList() local 362 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeGetProgramList() 381 auto hidlResult = halModule->getImage(id, [&](hidl_vec<uint8_t> rawImage) { in nativeGetImage() local 395 if (convert::ThrowIfFailed(env, hidlResult)) return nullptr; in nativeGetImage() 411 auto hidlResult = halTuner->isAnalogForced([&](Result result, bool isForcedRet) { in nativeIsAnalogForced() local 416 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return false; in nativeIsAnalogForced()
|
D | convert.cpp | 176 bool ThrowIfFailed(JNIEnv *env, const hardware::Return<void> &hidlResult) { in ThrowIfFailed() argument 177 return __ThrowIfFailedHidl(env, hidlResult); in ThrowIfFailed() 180 bool __ThrowIfFailedHidl(JNIEnv *env, const hardware::details::return_status &hidlResult) { in __ThrowIfFailedHidl() argument 181 if (hidlResult.isOk()) return false; in __ThrowIfFailedHidl() 183 ThrowParcelableRuntimeException(env, "HIDL call failed: " + hidlResult.description()); in __ThrowIfFailedHidl()
|