Home
last modified time | relevance | path

Searched refs:BroadcastRadio (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/broadcastradio/aidl/default/
Dmain.cpp24 using ::aidl::android::hardware::broadcastradio::BroadcastRadio;
33 std::shared_ptr<BroadcastRadio> broadcastRadio = in main()
34 ::ndk::SharedRefBase::make<BroadcastRadio>(amFmRadioMock); in main()
35 const std::string instanceAmFm = std::string() + BroadcastRadio::descriptor + "/amfm"; in main()
42 std::shared_ptr<BroadcastRadio> dabRadio = in main()
43 ::ndk::SharedRefBase::make<BroadcastRadio>(dabRadioMock); in main()
44 const std::string instanceDab = std::string() + BroadcastRadio::descriptor + "/dab"; in main()
Dfuzzer.cpp22 using ::aidl::android::hardware::broadcastradio::BroadcastRadio;
28 std::shared_ptr<BroadcastRadio> amFmRadio = in LLVMFuzzerTestOneInput()
29 ::ndk::SharedRefBase::make<BroadcastRadio>(amFmRadioMock); in LLVMFuzzerTestOneInput()
31 std::shared_ptr<BroadcastRadio> dabRadio = in LLVMFuzzerTestOneInput()
32 ::ndk::SharedRefBase::make<BroadcastRadio>(dabRadioMock); in LLVMFuzzerTestOneInput()
DBroadcastRadio.cpp156 BroadcastRadio::BroadcastRadio(const VirtualRadio& virtualRadio) in BroadcastRadio() function in aidl::android::hardware::broadcastradio::BroadcastRadio
173 BroadcastRadio::~BroadcastRadio() { in ~BroadcastRadio()
178 ScopedAStatus BroadcastRadio::getAmFmRegionConfig(bool full, AmFmRegionConfig* returnConfigs) { in getAmFmRegionConfig()
195 ScopedAStatus BroadcastRadio::getDabRegionConfig(vector<DabTableEntry>* returnConfigs) { in getDabRegionConfig()
205 ScopedAStatus BroadcastRadio::getImage(int32_t id, vector<uint8_t>* returnImage) { in getImage()
218 ScopedAStatus BroadcastRadio::getProperties(Properties* returnProperties) { in getProperties()
224 ProgramInfo BroadcastRadio::tuneInternalLocked(const ProgramSelector& sel) { in tuneInternalLocked()
254 ScopedAStatus BroadcastRadio::setTunerCallback(const std::shared_ptr<ITunerCallback>& callback) { in setTunerCallback()
268 ScopedAStatus BroadcastRadio::unsetTunerCallback() { in unsetTunerCallback()
277 void BroadcastRadio::handleProgramInfoUpdateRadioCallback( in handleProgramInfoUpdateRadioCallback()
[all …]
DBroadcastRadio.h38 class BroadcastRadio final : public BnBroadcastRadio {
40 explicit BroadcastRadio(const VirtualRadio& virtualRadio);
41 ~BroadcastRadio();
DAndroid.bp74 "BroadcastRadio.cpp",
/hardware/interfaces/broadcastradio/2.0/default/
DBroadcastRadio.cpp61 BroadcastRadio::BroadcastRadio(const VirtualRadio& virtualRadio) in BroadcastRadio() function in android::hardware::broadcastradio::V2_0::implementation::BroadcastRadio
66 Return<void> BroadcastRadio::getProperties(getProperties_cb _hidl_cb) { in getProperties()
71 AmFmRegionConfig BroadcastRadio::getAmFmConfig() const { in getAmFmConfig()
76 Return<void> BroadcastRadio::getAmFmRegionConfig(bool full, getAmFmRegionConfig_cb _hidl_cb) { in getAmFmRegionConfig()
93 Return<void> BroadcastRadio::getDabRegionConfig(getDabRegionConfig_cb _hidl_cb) { in getDabRegionConfig()
105 Return<void> BroadcastRadio::openSession(const sp<ITunerCallback>& callback, in openSession()
129 Return<void> BroadcastRadio::getImage(uint32_t id, getImage_cb _hidl_cb) { in getImage()
142 Return<void> BroadcastRadio::registerAnnouncementListener( in registerAnnouncementListener()
Dservice.cpp25 using android::hardware::broadcastradio::V2_0::implementation::BroadcastRadio;
34 sp<BroadcastRadio> broadcastRadio(new BroadcastRadio(gAmFmRadio)); in main()
39 sp<BroadcastRadio> dabRadio(new BroadcastRadio(gDabRadio)); in main()
DTunerSession.h33 struct BroadcastRadio;
36 TunerSession(BroadcastRadio& module, const sp<ITunerCallback>& callback);
62 std::reference_wrapper<BroadcastRadio> mModule;
69 const BroadcastRadio& module() const;
DBroadcastRadio.h30 struct BroadcastRadio : public IBroadcastRadio { struct
31 BroadcastRadio(const VirtualRadio& virtualRadio);
DAndroid.bp43 "BroadcastRadio.cpp",
DTunerSession.cpp49 TunerSession::TunerSession(BroadcastRadio& module, const sp<ITunerCallback>& callback) in TunerSession()
84 const BroadcastRadio& TunerSession::module() const { in module()
/hardware/interfaces/broadcastradio/1.0/default/
DBroadcastRadio.cpp33 BroadcastRadio::BroadcastRadio(Class classId) in BroadcastRadio() function in android::hardware::broadcastradio::V1_0::implementation::BroadcastRadio
38 BroadcastRadio::~BroadcastRadio() in ~BroadcastRadio()
45 void BroadcastRadio::onFirstRef() in onFirstRef()
85 int BroadcastRadio::closeHalTuner(const struct radio_tuner *halTuner) in closeHalTuner()
99 Return<void> BroadcastRadio::getProperties(getProperties_cb _hidl_cb) in getProperties()
119 Return<void> BroadcastRadio::openTuner(const BandConfig& config, bool audio, in openTuner()
DBroadcastRadio.h30 struct BroadcastRadio : public IBroadcastRadio { struct
32 BroadcastRadio(Class classId);
48 virtual ~BroadcastRadio(); argument
DTuner.h30 struct BroadcastRadio;
34 Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& mParentDevice);
56 const wp<BroadcastRadio> mParentDevice;
DBroadcastRadioFactory.cpp27 sp<BroadcastRadio> impl = new BroadcastRadio(classId); in connectModule()
DTuner.cpp87 Tuner::Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& parentDevice) in Tuner()
97 const sp<BroadcastRadio> parentDevice = mParentDevice.promote(); in ~Tuner()
DAndroid.bp36 "BroadcastRadio.cpp",
/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadio.cpp86 BroadcastRadio::BroadcastRadio(Class classId) in BroadcastRadio() function in android::hardware::broadcastradio::V1_1::implementation::BroadcastRadio
89 bool BroadcastRadio::isSupported(Class classId) { in isSupported()
93 Return<void> BroadcastRadio::getProperties(getProperties_cb _hidl_cb) { in getProperties()
99 Return<void> BroadcastRadio::getProperties_1_1(getProperties_1_1_cb _hidl_cb) { in getProperties_1_1()
131 Return<void> BroadcastRadio::openTuner(const BandConfig& config, bool audio __unused, in openTuner()
158 Return<void> BroadcastRadio::getImage(int32_t id, getImage_cb _hidl_cb) { in getImage()
171 std::vector<V1_0::BandConfig> BroadcastRadio::getAmFmBands() const { in getAmFmBands()
DBroadcastRadioFactory.cpp41 if (!BroadcastRadio::isSupported(classId)) continue; in BroadcastRadioFactory()
42 mRadioModules[classId] = new BroadcastRadio(classId); in BroadcastRadioFactory()
DTuner.h31 struct BroadcastRadio;
34 Tuner(const sp<BroadcastRadio> module, V1_0::Class classId,
61 const sp<BroadcastRadio> mModule;
DBroadcastRadio.h42 struct BroadcastRadio : public V1_1::IBroadcastRadio { struct
51 BroadcastRadio(V1_0::Class classId);
DAndroid.bp37 "BroadcastRadio.cpp",
DTuner.cpp61 Tuner::Tuner(const sp<BroadcastRadio> module, V1_0::Class classId, in Tuner()
/hardware/interfaces/broadcastradio/aidl/rust_impl/
DREADME.md1 # Rust Skeleton BroadcastRadio HAL implementation.
3 WARNING: This is not a reference BroadcastRadio HAL implementation and does
/hardware/interfaces/broadcastradio/aidl/default/test/
DDefaultBroadcastRadioHalTest.cpp89 mBroadcastRadioHal = ::ndk::SharedRefBase::make<BroadcastRadio>(amFmRadioMockTest); in SetUp()
166 std::shared_ptr<BroadcastRadio> mBroadcastRadioHal;
203 auto halResult = mBroadcastRadioHal->getImage(BroadcastRadio::INVALID_IMAGE, &img); in TEST_F()