Searched refs:halResult (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | TunerSession.java | 118 int halResult = mHwSession.step(!directionDown); in step() local 119 Convert.throwOnError("step", halResult); in step() 127 int halResult = mHwSession.scan(!directionDown, skipSubChannel); in scan() local 128 Convert.throwOnError("step", halResult); in scan() 136 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector)); in tune() local 137 Convert.throwOnError("tune", halResult); in tune() 170 int halResult = mHwSession.startProgramListUpdates(Convert.programFilterToHal(filter)); in startProgramListUpdates() local 171 Convert.throwOnError("startProgramListUpdates", halResult); in startProgramListUpdates() 201 MutableInt halResult = new MutableInt(Result.UNKNOWN_ERROR); in isConfigFlagSet() local 205 halResult.value = result; in isConfigFlagSet() [all …]
|
D | RadioModule.java | 85 MutableInt halResult = new MutableInt(Result.UNKNOWN_ERROR); in openSession() local 90 halResult.value = result; in openSession() 94 Convert.throwOnError("openSession", halResult.value); in openSession() 107 MutableInt halResult = new MutableInt(Result.UNKNOWN_ERROR); in addAnnouncementListener() local 119 halResult.value = result; in addAnnouncementListener() 123 Convert.throwOnError("addAnnouncementListener", halResult.value); in addAnnouncementListener()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 250 Result halResult; in nativeGetConfiguration() local 252 halResult = result; in nativeGetConfiguration() 255 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 332 auto halResult = halTuner->startBackgroundScan(); in nativeStartBackgroundScan() local 334 if (halResult.isOk() && halResult == ProgramListResult::UNAVAILABLE) return false; in nativeStartBackgroundScan() 335 return !convert::ThrowIfFailed(env, halResult); in nativeStartBackgroundScan() 347 ProgramListResult halResult = ProgramListResult::NOT_INITIALIZED; in nativeGetProgramList() local 351 halResult = result; in nativeGetProgramList() 352 if (halResult != ProgramListResult::OK) return; in nativeGetProgramList() 361 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeGetProgramList() [all …]
|
D | convert.h | 64 bool __ThrowIfFailed(JNIEnv *env, const V1_0::Result halResult); 65 bool __ThrowIfFailed(JNIEnv *env, const V1_1::ProgramListResult halResult); 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()
|
D | BroadcastRadioService.cpp | 179 Result halResult = Result::OK; in nativeLoadModules() local 189 halResult = result; in nativeLoadModules() 195 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules() 255 Result halResult; in nativeOpenTuner() local 260 halResult = result; in nativeOpenTuner() 263 if (!hidlResult.isOk() || halResult != Result::OK || halTuner == nullptr) { in nativeOpenTuner() 265 ALOGE_IF(hidlResult.isOk(), "halResult = %d", halResult); in nativeOpenTuner()
|
D | convert.cpp | 187 bool __ThrowIfFailed(JNIEnv *env, const Result halResult) { in __ThrowIfFailed() argument 188 switch (halResult) { in __ThrowIfFailed() 206 + std::to_string(static_cast<int32_t>(halResult))); in __ThrowIfFailed() 211 bool __ThrowIfFailed(JNIEnv *env, const ProgramListResult halResult) { in __ThrowIfFailed() argument 212 switch (halResult) { in __ThrowIfFailed() 224 return __ThrowIfFailed(env, static_cast<Result>(halResult)); in __ThrowIfFailed()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubServiceUtil.java | 215 static int toTransactionResult(int halResult) { in toTransactionResult() argument 216 switch (halResult) { in toTransactionResult()
|