Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/broadcastradio/2.0/default/
DVirtualProgram.cpp37 info.selector = selector; in operator ProgramInfo()
39 auto pType = getType(selector.primaryId); in operator ProgramInfo()
43 return utils::make_identifier(type, utils::getId(info.selector, type)); in operator ProgramInfo()
96 auto& l = lhs.selector; in operator <()
97 auto& r = rhs.selector; in operator <()
DVirtualRadio.cpp67 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) const { in getProgram() argument
70 if (utils::tunesTo(selector, program.selector)) { in getProgram()
DTunerSession.cpp58 static ProgramInfo makeDummyProgramInfo(const ProgramSelector& selector) { in makeDummyProgramInfo() argument
60 info.selector = selector; in makeDummyProgramInfo()
62 IdentifierType::AMFM_FREQUENCY, utils::getId(selector, IdentifierType::AMFM_FREQUENCY)); in makeDummyProgramInfo()
73 mCurrentProgram = virtualProgram.selector; in tuneInternalLocked()
149 if (tunesTo(current, found->selector)) found++; in scan()
160 auto tuneTo = found->selector; in scan()
240 return utils::satisfies(filter, program.selector); in startProgramListUpdates()
DVirtualRadio.h44 bool getProgram(const ProgramSelector& selector, VirtualProgram& program) const;
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualProgram.cpp52 utils::getLegacyChannel(selector, &info10.channel, &info10.subChannel); in getProgramInfo()
53 info11.selector = selector; in getProgramInfo()
56 info10.digital = utils::isDigital(selector); in getProgramInfo()
78 auto& l = lhs.selector; in operator <()
79 auto& r = rhs.selector; in operator <()
DVirtualRadio.cpp61 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) { in getProgram() argument
64 if (utils::tunesTo(selector, program.selector)) { in getProgram()
DTuner.cpp138 static ProgramInfo makeDummyProgramInfo(const ProgramSelector& selector) { in makeDummyProgramInfo() argument
142 utils::getLegacyChannel(selector, &info10.channel, &info10.subChannel); in makeDummyProgramInfo()
143 info11.selector = selector; in makeDummyProgramInfo()
160 mCurrentProgram = virtualProgram.selector; in tuneInternalLocked()
171 mCallback1_1->tuneComplete_1_1(Result::OK, mCurrentProgramInfo.selector); in tuneInternalLocked()
206 if (utils::tunesTo(current, found->selector)) found++; in scan()
217 auto tuneTo = found->selector; in scan()
DVirtualProgram.h35 V1_1::ProgramSelector selector; member
DVirtualRadio.h43 bool getProgram(const V1_1::ProgramSelector& selector, VirtualProgram& program);
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp334 auto tuneResult = mTuner->tuneByProgramSelector(firstProgram.selector); in TEST_P()
338 EXPECT_EQ(firstProgram.selector.primaryId, selCb.primaryId); in TEST_P()
339 EXPECT_EQ(infoCb.selector, selCb); in TEST_P()
345 EXPECT_EQ(selCb, info.selector); in TEST_P()
593 verifyIdentifier(program.selector.primaryId); in TEST_P()
594 for (auto&& id : program.selector.secondaryIds) { in TEST_P()
/hardware/interfaces/broadcastradio/common/utils2x/
DUtils.cpp354 auto& id = info.selector.primaryId; in operator ()()
366 auto& id1 = info1.selector.primaryId; in operator ()()
367 auto& id2 = info2.selector.primaryId; in operator ()()
378 info.selector.primaryId = id; in updateProgramList()
/hardware/interfaces/broadcastradio/2.0/
DITunerCallback.hal28 * @param selector A ProgramSelector structure passed from tune() call;
31 oneway onTuneFailed(Result result, ProgramSelector selector);
DITunerSession.hal28 * NOT_SUPPORTED if the program selector doesn't contain any
30 * INVALID_ARGUMENTS if the program selector contains
Dtypes.hal288 * details (tuning selector).
297 ProgramSelector selector;
856 * Program selector to tune to the announcement.
858 ProgramSelector selector;
/hardware/interfaces/broadcastradio/1.1/
DITunerCallback.hal41 * @param selector A ProgramSelector structure describing the tuned station.
43 oneway tuneComplete_1_1(Result result, ProgramSelector selector);
Dtypes.hal294 ProgramSelector selector;
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp124 auto ids = utils::getAllIds(arg.selector, utils::getType(id));
136 for (auto&& id : info.selector) { in onCurrentProgramInfoChanged()
448 auto freqs = utils::getAllIds(infoCb.selector, IdentifierType::AMFM_FREQUENCY); in TEST_P()
765 auto nameIds = utils::getAllIds(program.selector, IdentifierType::HD_STATION_NAME); in TEST_P()
/hardware/interfaces/renderscript/1.0/
DIContext.hal49 * the selector for the dimension must be an error.
61 * allocationAdapterCreate() -- the latter uses the terms "selector" and
63 * "selector" actually two different things?