Home
last modified time | relevance | path

Searched refs:VirtualProgram (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/broadcastradio/aidl/default/
DVirtualRadio.h35 VirtualRadio(const std::string& name, const std::vector<VirtualProgram>& initialList);
37 const std::vector<VirtualProgram>& getProgramList() const;
38 bool getProgram(const ProgramSelector& selector, VirtualProgram* program) const;
46 std::vector<VirtualProgram> mPrograms;
DVirtualProgram.h33 struct VirtualProgram { struct
48 friend bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs); argument
DVirtualRadio.cpp30 VirtualRadio::VirtualRadio(const string& name, const vector<VirtualProgram>& initialList) in VirtualRadio()
39 const vector<VirtualProgram>& VirtualRadio::getProgramList() const { in getProgramList()
43 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram* programOut) const { in getProgram()
DVirtualProgram.cpp28 VirtualProgram::operator ProgramInfo() const { in operator ProgramInfo()
95 bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs) { in operator <()
DBroadcastRadio.h82 std::vector<VirtualProgram> mProgramList GUARDED_BY(mMutex) = {};
98 VirtualProgram* nextProgram) const REQUIRES(mMutex);
99 void jumpToFirstSubChannelLocked(std::vector<VirtualProgram>::const_iterator& it) const
DBroadcastRadio.cpp163 VirtualProgram virtualProgram = {}; in BroadcastRadio()
227 VirtualProgram virtualProgram = {}; in tuneInternalLocked()
344 bool skipSubChannel, VirtualProgram* nextProgram) const { in findNextLocked()
354 std::lower_bound(mProgramList.begin(), mProgramList.end(), VirtualProgram({current})); in findNextLocked()
434 void BroadcastRadio::jumpToFirstSubChannelLocked(vector<VirtualProgram>::const_iterator& it) const { in jumpToFirstSubChannelLocked()
472 auto filterCb = [this](const VirtualProgram& program) { in seek()
483 VirtualProgram nextProgram = {}; in seek()
586 auto filterCb = [&filter, this](const VirtualProgram& program) { in startProgramListUpdatesLocked()
596 vector<VirtualProgram> filteredList; in startProgramListUpdatesLocked()
DAndroid.bp75 "VirtualProgram.cpp",
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualProgram.h34 struct VirtualProgram { struct
43 friend bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs); argument
46 std::vector<V1_1::ProgramInfo> getProgramInfoVector(const std::vector<VirtualProgram>& vec,
DVirtualRadio.h40 VirtualRadio(const std::vector<VirtualProgram> initialList);
42 std::vector<VirtualProgram> getProgramList();
43 bool getProgram(const V1_1::ProgramSelector& selector, VirtualProgram& program);
47 std::vector<VirtualProgram> mPrograms;
DVirtualRadio.cpp41 static const vector<VirtualProgram> gInitialFmPrograms{
54 VirtualRadio::VirtualRadio(const vector<VirtualProgram> initialList) : mPrograms(initialList) {} in VirtualRadio()
56 vector<VirtualProgram> VirtualRadio::getProgramList() { in getProgramList()
61 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) { in getProgram()
DVirtualProgram.cpp48 ProgramInfo VirtualProgram::getProgramInfo(HalRevision halRev) const { in getProgramInfo()
77 bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs) { in operator <()
89 vector<ProgramInfo> getProgramInfoVector(const vector<VirtualProgram>& vec, HalRevision halRev) { in getProgramInfoVector()
DAndroid.bp40 "VirtualProgram.cpp",
DTuner.cpp158 VirtualProgram virtualProgram; in tuneInternalLocked()
203 auto found = lower_bound(list.begin(), list.end(), VirtualProgram({current})); in scan()
/hardware/interfaces/broadcastradio/2.0/default/
DVirtualRadio.h40 VirtualRadio(const std::string& name, const std::vector<VirtualProgram>& initialList);
43 std::vector<VirtualProgram> getProgramList() const;
44 bool getProgram(const ProgramSelector& selector, VirtualProgram& program) const;
49 std::vector<VirtualProgram> mPrograms;
DVirtualProgram.h33 struct VirtualProgram { struct
48 friend bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs); argument
DVirtualRadio.cpp55 VirtualRadio::VirtualRadio(const std::string& name, const vector<VirtualProgram>& initialList) in VirtualRadio()
62 vector<VirtualProgram> VirtualRadio::getProgramList() const { in getProgramList()
67 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) const { in getProgram()
DVirtualProgram.cpp34 VirtualProgram::operator ProgramInfo() const { in operator ProgramInfo()
95 bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs) { in operator <()
DTunerSession.cpp70 VirtualProgram virtualProgram; in tuneInternalLocked()
146 auto found = lower_bound(list.begin(), list.end(), VirtualProgram({current})); in scan()
238 vector<VirtualProgram> filteredList; in startProgramListUpdates()
239 auto filterCb = [&filter](const VirtualProgram& program) { in startProgramListUpdates()
DAndroid.bp45 "VirtualProgram.cpp",
/hardware/interfaces/broadcastradio/aidl/default/test/
DDefaultBroadcastRadioHalTest.cpp210 vector<VirtualProgram> mockPrograms = getAmFmMockTestRadio().getProgramList(); in TEST_F()