OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:halResult
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
TunerSession.java
118
int
halResult
= mHwSession.step(!directionDown);
119
Convert.throwOnError("step",
halResult
);
127
int
halResult
= mHwSession.scan(!directionDown, skipSubChannel);
128
Convert.throwOnError("step",
halResult
);
136
int
halResult
= mHwSession.tune(Convert.programSelectorToHal(selector));
137
Convert.throwOnError("tune",
halResult
);
170
int
halResult
= mHwSession.startProgramListUpdates(Convert.programFilterToHal(filter));
171
Convert.throwOnError("startProgramListUpdates",
halResult
);
201
MutableInt
halResult
= new MutableInt(Result.UNKNOWN_ERROR);
205
halResult
.value = result
[
all
...]
RadioModule.java
85
MutableInt
halResult
= new MutableInt(Result.UNKNOWN_ERROR);
90
halResult
.value = result;
94
Convert.throwOnError("openSession",
halResult
.value);
107
MutableInt
halResult
= new MutableInt(Result.UNKNOWN_ERROR);
119
halResult
.value = result;
123
Convert.throwOnError("addAnnouncementListener",
halResult
.value);
/frameworks/base/services/core/jni/BroadcastRadio/
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
) {
69
return __ThrowIfFailedHidl(env, hidlResult) || __ThrowIfFailed(env,
halResult
);
Tuner.cpp
250
Result
halResult
;
252
halResult
= result;
255
if (convert::ThrowIfFailed(env, hidlResult,
halResult
)) {
332
auto
halResult
= halTuner->startBackgroundScan();
334
if (
halResult
.isOk() &&
halResult
== ProgramListResult::UNAVAILABLE) return false;
335
return !convert::ThrowIfFailed(env,
halResult
);
347
ProgramListResult
halResult
= ProgramListResult::NOT_INITIALIZED;
351
halResult
= result;
352
if (
halResult
!= ProgramListResult::OK) return
[
all
...]
BroadcastRadioService.cpp
179
Result
halResult
= Result::OK;
189
halResult
= result;
195
if (convert::ThrowIfFailed(env, hidlResult,
halResult
)) return nullptr;
255
Result
halResult
;
260
halResult
= result;
263
if (!hidlResult.isOk() ||
halResult
!= Result::OK || halTuner == nullptr) {
265
ALOGE_IF(hidlResult.isOk(), "
halResult
= %d",
halResult
);
convert.cpp
187
bool __ThrowIfFailed(JNIEnv *env, const Result
halResult
) {
188
switch (
halResult
) {
206
+ std::to_string(static_cast<int32_t>(
halResult
)));
211
bool __ThrowIfFailed(JNIEnv *env, const ProgramListResult
halResult
) {
212
switch (
halResult
) {
224
return __ThrowIfFailed(env, static_cast<Result>(
halResult
));
/hardware/interfaces/broadcastradio/1.0/vts/functional/
VtsHalBroadcastradioV1_0TargetTest.cpp
300
Result
halResult
= Result::NOT_INITIALIZED;
302
halResult
= result;
309
EXPECT_EQ(Result::OK,
halResult
);
316
if (hidlReturn.isOk() &&
halResult
== Result::OK) {
329
Result
halResult
= Result::NOT_INITIALIZED;
331
halResult
= result;
338
EXPECT_EQ(Result::OK,
halResult
);
352
Result
halResult
= Result::NOT_INITIALIZED;
355
halResult
= result;
361
return ((
halResult
== Result::OK) && (halConfig.antennaConnected == true))
[
all
...]
/hardware/interfaces/broadcastradio/2.0/vts/functional/
VtsHalBroadcastradioV2_0TargetTest.cpp
211
Result
halResult
= Result::UNKNOWN_ERROR;
213
halResult
= result;
220
EXPECT_EQ(Result::OK,
halResult
);
227
auto
halResult
= Result::UNKNOWN_ERROR;
229
halResult
= result;
236
if (
halResult
== Result::NOT_SUPPORTED) return false;
238
EXPECT_EQ(Result::OK,
halResult
);
239
return
halResult
== Result::OK;
375
Result
halResult
;
378
halResult
= result
[
all
...]
/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
Effect.impl.h
304
uint32_t
halResult
[alignedSizeIn<uint32_t>(sizeof(uint32_t) + configSize)];
305
memset(
halResult
, 0, sizeof(
halResult
));
308
sizeof(uint32_t), &halCmd, &halResultSize,
halResult
,
309
sizeof(uint32_t), [&] { onSuccess(&
halResult
[1]); });
336
uint8_t
halResult
[halResultSize];
337
memset(&
halResult
[0], 0, halResultSize);
340
halCmd, &halResultSize, &
halResult
[0], 2 * sizeof(uint32_t), [&] {
341
uint32_t* halResult32 = reinterpret_cast<uint32_t*>(&
halResult
[0]);
516
uint32_t
halResult
[volumes.size()]
[
all
...]
/frameworks/base/services/core/java/com/android/server/location/
ContextHubServiceUtil.java
210
* @param
halResult
the Result enum error code
215
static int toTransactionResult(int
halResult
) {
216
switch (
halResult
) {
/hardware/interfaces/broadcastradio/1.1/vts/functional/
VtsHalBroadcastradioV1_1TargetTest.cpp
178
Result
halResult
= Result::NOT_INITIALIZED;
180
halResult
= result;
188
EXPECT_EQ(Result::OK,
halResult
);
194
Result
halResult
= Result::NOT_INITIALIZED;
196
halResult
= result;
199
EXPECT_EQ(Result::OK,
halResult
);
Completed in 131 milliseconds