/hardware/interfaces/broadcastradio/aidl/default/ |
D | main.cpp | 24 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()
|
D | fuzzer.cpp | 22 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()
|
D | BroadcastRadio.cpp | 156 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 …]
|
D | BroadcastRadio.h | 38 class BroadcastRadio final : public BnBroadcastRadio { 40 explicit BroadcastRadio(const VirtualRadio& virtualRadio); 41 ~BroadcastRadio();
|
D | Android.bp | 74 "BroadcastRadio.cpp",
|
/hardware/interfaces/broadcastradio/2.0/default/ |
D | BroadcastRadio.cpp | 61 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()
|
D | service.cpp | 25 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()
|
D | TunerSession.h | 33 struct BroadcastRadio; 36 TunerSession(BroadcastRadio& module, const sp<ITunerCallback>& callback); 62 std::reference_wrapper<BroadcastRadio> mModule; 69 const BroadcastRadio& module() const;
|
D | BroadcastRadio.h | 30 struct BroadcastRadio : public IBroadcastRadio { struct 31 BroadcastRadio(const VirtualRadio& virtualRadio);
|
D | Android.bp | 43 "BroadcastRadio.cpp",
|
D | TunerSession.cpp | 49 TunerSession::TunerSession(BroadcastRadio& module, const sp<ITunerCallback>& callback) in TunerSession() 84 const BroadcastRadio& TunerSession::module() const { in module()
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | BroadcastRadio.cpp | 33 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()
|
D | BroadcastRadio.h | 30 struct BroadcastRadio : public IBroadcastRadio { struct 32 BroadcastRadio(Class classId); 48 virtual ~BroadcastRadio(); argument
|
D | Tuner.h | 30 struct BroadcastRadio; 34 Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& mParentDevice); 56 const wp<BroadcastRadio> mParentDevice;
|
D | BroadcastRadioFactory.cpp | 27 sp<BroadcastRadio> impl = new BroadcastRadio(classId); in connectModule()
|
D | Tuner.cpp | 87 Tuner::Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& parentDevice) in Tuner() 97 const sp<BroadcastRadio> parentDevice = mParentDevice.promote(); in ~Tuner()
|
D | Android.bp | 36 "BroadcastRadio.cpp",
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | BroadcastRadio.cpp | 86 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()
|
D | BroadcastRadioFactory.cpp | 41 if (!BroadcastRadio::isSupported(classId)) continue; in BroadcastRadioFactory() 42 mRadioModules[classId] = new BroadcastRadio(classId); in BroadcastRadioFactory()
|
D | Tuner.h | 31 struct BroadcastRadio; 34 Tuner(const sp<BroadcastRadio> module, V1_0::Class classId, 61 const sp<BroadcastRadio> mModule;
|
D | BroadcastRadio.h | 42 struct BroadcastRadio : public V1_1::IBroadcastRadio { struct 51 BroadcastRadio(V1_0::Class classId);
|
D | Android.bp | 37 "BroadcastRadio.cpp",
|
D | Tuner.cpp | 61 Tuner::Tuner(const sp<BroadcastRadio> module, V1_0::Class classId, in Tuner()
|
/hardware/interfaces/broadcastradio/aidl/rust_impl/ |
D | README.md | 1 # Rust Skeleton BroadcastRadio HAL implementation. 3 WARNING: This is not a reference BroadcastRadio HAL implementation and does
|
/hardware/interfaces/broadcastradio/aidl/default/test/ |
D | DefaultBroadcastRadioHalTest.cpp | 89 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()
|