Home
last modified time | relevance | path

Searched refs:classId (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadioFactory.cpp40 for (auto&& classId : gAllClasses) { in BroadcastRadioFactory()
41 if (!BroadcastRadio::isSupported(classId)) continue; in BroadcastRadioFactory()
42 mRadioModules[classId] = new BroadcastRadio(classId); in BroadcastRadioFactory()
46 Return<void> BroadcastRadioFactory::connectModule(Class classId, connectModule_cb _hidl_cb) { in connectModule() argument
47 ALOGV("%s(%s)", __func__, toString(classId).c_str()); in connectModule()
49 auto moduleIt = mRadioModules.find(classId); in connectModule()
DBroadcastRadio.cpp86 BroadcastRadio::BroadcastRadio(Class classId) in BroadcastRadio() argument
87 : mClassId(classId), mConfig(gModuleConfigs.at(classId)) {} in BroadcastRadio()
89 bool BroadcastRadio::isSupported(Class classId) { in isSupported() argument
90 return gModuleConfigs.find(classId) != gModuleConfigs.end(); in isSupported()
104 prop10.classId = mClassId; in getProperties_1_1()
DBroadcastRadio.h51 BroadcastRadio(V1_0::Class classId);
58 static bool isSupported(V1_0::Class classId);
DVirtualRadio.cpp72 VirtualRadio& getRadio(V1_0::Class classId) { in getRadio() argument
73 switch (classId) { in getRadio()
DBroadcastRadioFactory.h33 Return<void> connectModule(V1_0::Class classId, connectModule_cb _hidl_cb) override;
DVirtualRadio.h67 VirtualRadio& getRadio(V1_0::Class classId);
DTuner.cpp61 Tuner::Tuner(const sp<BroadcastRadio> module, V1_0::Class classId, in Tuner() argument
64 mClassId(classId), in Tuner()
67 mVirtualRadio(getRadio(classId)), in Tuner()
DTuner.h34 Tuner(const sp<BroadcastRadio> module, V1_0::Class classId,
/hardware/interfaces/broadcastradio/1.0/default/
DBroadcastRadioFactory.cpp26 Return<void> BroadcastRadioFactory::connectModule(Class classId, connectModule_cb _hidl_cb) { in connectModule() argument
27 sp<BroadcastRadio> impl = new BroadcastRadio(classId); in connectModule()
DBroadcastRadio.cpp33 BroadcastRadio::BroadcastRadio(Class classId) in BroadcastRadio() argument
34 : mStatus(Result::NOT_INITIALIZED), mClassId(classId), mHwDevice(NULL) in BroadcastRadio()
DBroadcastRadioFactory.h31 Return<void> connectModule(Class classId, connectModule_cb _hidl_cb) override;
DBroadcastRadio.h32 BroadcastRadio(Class classId);
DUtils.cpp173 properties->classId = static_cast<Class>(halProperties->class_id); in convertPropertiesFromHal()
/hardware/interfaces/broadcastradio/1.0/
DIBroadcastRadioFactory.hal27 * @param classId Class of the module to connect to .
34 connectModule(Class classId)
Dtypes.hal124 Class classId;
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp155 EXPECT_EQ(radioClass, prop10.classId); in SetUp()
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp310 EXPECT_EQ(radioClass, mHalProperties.classId); in getProperties()