Searched refs:halResult (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | TunerSession.java | 138 int halResult = mHwSession.step(!directionDown); in step() local 139 Convert.throwOnError("step", halResult); in step() 147 int halResult = mHwSession.scan(!directionDown, skipSubChannel); in scan() local 148 Convert.throwOnError("step", halResult); in scan() 156 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector)); in tune() local 157 Convert.throwOnError("tune", halResult); in tune() 190 int halResult = mHwSession.startProgramListUpdates(Convert.programFilterToHal(filter)); in startProgramListUpdates() local 191 Convert.throwOnError("startProgramListUpdates", halResult); in startProgramListUpdates() 221 MutableInt halResult = new MutableInt(Result.UNKNOWN_ERROR); in isConfigFlagSet() local 225 halResult.value = result; in isConfigFlagSet() [all …]
|
D | RadioModule.java | 263 MutableInt halResult = new MutableInt(Result.UNKNOWN_ERROR); in addAnnouncementListener() local 275 halResult.value = result; in addAnnouncementListener() 279 Convert.throwOnError("addAnnouncementListener", halResult.value); in addAnnouncementListener()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 251 Result halResult; in nativeGetConfiguration() local 253 halResult = result; in nativeGetConfiguration() 256 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 333 auto halResult = halTuner->startBackgroundScan(); in nativeStartBackgroundScan() local 335 if (halResult.isOk() && halResult == ProgramListResult::UNAVAILABLE) return false; in nativeStartBackgroundScan() 336 return !convert::ThrowIfFailed(env, halResult); in nativeStartBackgroundScan() 348 ProgramListResult halResult = ProgramListResult::NOT_INITIALIZED; in nativeGetProgramList() local 352 halResult = result; in nativeGetProgramList() 353 if (halResult != ProgramListResult::OK) return; in nativeGetProgramList() 362 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()
|