Lines Matching refs:mModule
188 std::shared_ptr<IBroadcastRadio> mModule; member in aidl::android::hardware::broadcastradio::vts::BroadcastRadioHalTest
333 EXPECT_EQ(mModule.get(), nullptr) << "Module is already open"; in SetUp()
338 mModule = IBroadcastRadio::fromBinder(ndk::SpAIBinder(binder)); in SetUp()
339 ASSERT_NE(mModule, nullptr) << "Couldn't find broadcast radio HAL implementation"; in SetUp()
342 auto propResult = mModule->getProperties(&mProperties); in SetUp()
350 ASSERT_TRUE(mModule->getInterfaceVersion(&mAidlVersion).isOk()); in SetUp()
356 EXPECT_TRUE(mModule->setTunerCallback(mCallback).isOk()); in SetUp()
360 if (mModule) { in TearDown()
361 ASSERT_TRUE(mModule->unsetTunerCallback().isOk()); in TearDown()
371 auto halResult = mModule->getAmFmRegionConfig(full, config); in getAmFmRegionConfig()
390 auto startResult = mModule->startProgramListUpdates(filter); in getProgramList()
402 auto stopResult = mModule->stopProgramListUpdates(); in getProgramList()
418 auto halResult = mModule->setTunerCallback(nullptr); in TEST_P()
538 auto halResult = mModule->getDabRegionConfig(&config); in TEST_P()
572 mModule->unsetTunerCallback(); in TEST_P()
576 auto result = mModule->tune(sel); in TEST_P()
612 auto result = mModule->tune(sel); in TEST_P()
643 auto result = mModule->tune(sel); in TEST_P()
662 auto result = mModule->tune(sel); in TEST_P()
684 auto result = mModule->tune(sel); in TEST_P()
739 auto result = mModule->tune(hdSel); in TEST_P()
770 auto halResult = mModule->getDabRegionConfig(&config); in TEST_P()
816 auto result = mModule->tune(sel); in TEST_P()
850 auto result = mModule->seek(/* in_directionUp= */ true, /* in_skipSubChannel= */ true); in TEST_P()
861 result = mModule->seek(/* in_directionUp= */ false, /* in_skipSubChannel= */ false); in TEST_P()
876 mModule->unsetTunerCallback(); in TEST_P()
878 auto result = mModule->seek(/* in_directionUp= */ true, /* in_skipSubChannel= */ true); in TEST_P()
882 result = mModule->seek(/* in_directionUp= */ false, /* in_skipSubChannel= */ false); in TEST_P()
900 auto result = mModule->step(/* in_directionUp= */ true); in TEST_P()
910 result = mModule->step(/* in_directionUp= */ false); in TEST_P()
925 mModule->unsetTunerCallback(); in TEST_P()
927 auto result = mModule->step(/* in_directionUp= */ true); in TEST_P()
931 result = mModule->step(/* in_directionUp= */ false); in TEST_P()
951 auto result = mModule->seek(/* in_directionUp= */ true, /* in_skipSubChannel= */ true); in TEST_P()
958 auto cancelResult = mModule->cancel(); in TEST_P()
975 auto halResult = mModule->setParameters({}, ¶metersResults); in TEST_P()
982 halResult = mModule->getParameters({}, ¶metersResults); in TEST_P()
1001 mModule->setParameters({{"com.android.unknown", "sample"}}, ¶metersResults); in TEST_P()
1008 halResult = mModule->getParameters({"com.android.unknown*", "sample"}, ¶metersResults); in TEST_P()
1024 auto result = mModule->getImage(IBroadcastRadio::INVALID_IMAGE, &rawImage); in TEST_P()
1043 auto halResult = mModule->isConfigFlagSet(flag, &gotValue); in TEST_P()
1051 auto setResult = mModule->setConfigFlag(flag, /* value= */ false); in TEST_P()
1056 setResult = mModule->setConfigFlag(flag, /* value= */ true); in TEST_P()
1076 auto halResult = mModule->isConfigFlagSet(flag, &gotValue); in TEST_P()
1085 auto result = mModule->setConfigFlag(flag, /* value= */ false); in TEST_P()
1090 auto secondResult = mModule->setConfigFlag(flag, /* value= */ true); in TEST_P()
1104 result = mModule->setConfigFlag(flag, /* value= */ true); in TEST_P()
1111 result = mModule->setConfigFlag(flag, /* value= */ false); in TEST_P()
1284 auto halResult = mModule->registerAnnouncementListener(listener, {AnnouncementType::EMERGENCY}, in TEST_P()