/hardware/interfaces/broadcastradio/aidl/default/ |
D | VirtualRadio.cpp | 43 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram* programOut) const { in getProgram() argument 45 if (!utils::tunesTo(selector, it->selector)) { in getProgram() 49 if (utils::hasAmFmFrequency(it->selector)) { in getProgram() 50 uint32_t channelFreq = utils::getAmFmFrequency(it->selector); in getProgram() 52 while (it != mPrograms.end() && utils::hasAmFmFrequency(it->selector) && in getProgram() 53 utils::getAmFmFrequency(it->selector) == channelFreq) { in getProgram() 54 if (it->selector == selector) { in getProgram() 70 IdentifierType type = program.selector.primaryId.type; in getSupportedIdentifierTypes()
|
D | VirtualProgram.cpp | 31 info.selector = selector; in operator ProgramInfo() 33 IdentifierType programType = selector.primaryId.type; in operator ProgramInfo() 38 return utils::makeIdentifier(type, utils::getId(info.selector, type)); in operator ProgramInfo() 52 if (utils::hasId(info.selector, IdentifierType::AMFM_FREQUENCY_KHZ)) { in operator ProgramInfo() 56 IdentifierType::AMFM_FREQUENCY_KHZ, utils::getHdFrequency(info.selector)); in operator ProgramInfo() 96 return utils::ProgramSelectorComparator()(lhs.selector, rhs.selector); in operator <()
|
D | BroadcastRadio.cpp | 116 ProgramInfo makeSampleProgramInfo(const ProgramSelector& selector) { in makeSampleProgramInfo() argument 118 info.selector = selector; in makeSampleProgramInfo() 119 switch (info.selector.primaryId.type) { in makeSampleProgramInfo() 123 utils::getId(selector, IdentifierType::AMFM_FREQUENCY_KHZ)); in makeSampleProgramInfo() 128 utils::getAmFmFrequency(info.selector)); in makeSampleProgramInfo() 132 info.logicallyTunedTo = info.selector.primaryId; in makeSampleProgramInfo() 135 utils::getId(selector, IdentifierType::DAB_FREQUENCY_KHZ)); in makeSampleProgramInfo() 138 info.logicallyTunedTo = info.selector.primaryId; in makeSampleProgramInfo() 165 mCurrentProgram = virtualProgram.selector; in BroadcastRadio() 233 mCurrentProgram = virtualProgram.selector; in tuneInternalLocked() [all …]
|
D | VirtualProgram.h | 34 ProgramSelector selector; member
|
D | VirtualRadio.h | 38 bool getProgram(const ProgramSelector& selector, VirtualProgram* program) const;
|
/hardware/interfaces/broadcastradio/2.0/default/ |
D | VirtualProgram.cpp | 37 info.selector = selector; in operator ProgramInfo() 39 auto pType = getType(selector.primaryId); in operator ProgramInfo() 43 return utils::make_identifier(type, utils::getId(info.selector, type)); in operator ProgramInfo() 96 auto& l = lhs.selector; in operator <() 97 auto& r = rhs.selector; in operator <()
|
D | VirtualRadio.cpp | 67 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) const { in getProgram() argument 70 if (utils::tunesTo(selector, program.selector)) { in getProgram()
|
D | TunerSession.cpp | 58 static ProgramInfo makeDummyProgramInfo(const ProgramSelector& selector) { in makeDummyProgramInfo() argument 60 info.selector = selector; in makeDummyProgramInfo() 62 IdentifierType::AMFM_FREQUENCY, utils::getId(selector, IdentifierType::AMFM_FREQUENCY)); in makeDummyProgramInfo() 73 mCurrentProgram = virtualProgram.selector; in tuneInternalLocked() 149 if (tunesTo(current, found->selector)) found++; in scan() 160 auto tuneTo = found->selector; in scan() 240 return utils::satisfies(filter, program.selector); in startProgramListUpdates()
|
D | VirtualProgram.h | 34 ProgramSelector selector; member
|
D | VirtualRadio.h | 44 bool getProgram(const ProgramSelector& selector, VirtualProgram& program) const;
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | VirtualProgram.cpp | 52 utils::getLegacyChannel(selector, &info10.channel, &info10.subChannel); in getProgramInfo() 53 info11.selector = selector; in getProgramInfo() 56 info10.digital = utils::isDigital(selector); in getProgramInfo() 78 auto& l = lhs.selector; in operator <() 79 auto& r = rhs.selector; in operator <()
|
D | VirtualRadio.cpp | 61 bool VirtualRadio::getProgram(const ProgramSelector& selector, VirtualProgram& programOut) { in getProgram() argument 64 if (utils::tunesTo(selector, program.selector)) { in getProgram()
|
D | Tuner.cpp | 138 static ProgramInfo makeDummyProgramInfo(const ProgramSelector& selector) { in makeDummyProgramInfo() argument 142 utils::getLegacyChannel(selector, &info10.channel, &info10.subChannel); in makeDummyProgramInfo() 143 info11.selector = selector; in makeDummyProgramInfo() 160 mCurrentProgram = virtualProgram.selector; in tuneInternalLocked() 171 mCallback1_1->tuneComplete_1_1(Result::OK, mCurrentProgramInfo.selector); in tuneInternalLocked() 206 if (utils::tunesTo(current, found->selector)) found++; in scan() 217 auto tuneTo = found->selector; in scan()
|
D | VirtualProgram.h | 35 V1_1::ProgramSelector selector; member
|
/hardware/interfaces/broadcastradio/aidl/default/test/ |
D | DefaultBroadcastRadioHalTest.cpp | 109 EXPECT_EQ(infoCb1.selector, sel); in verifyUpdatedProgramInfo() 111 EXPECT_EQ(infoCb2.selector, sel); in verifyUpdatedProgramInfo() 113 EXPECT_EQ(infoCb3.selector, sel); in verifyUpdatedProgramInfo() 116 EXPECT_EQ(infoCb1.selector, sel); in verifyUpdatedProgramInfo() 222 EXPECT_NE(supportedTypeSet.find(program.selector.primaryId.type), supportedTypeSet.end()); in TEST_F() 255 EXPECT_EQ(infoCb.selector, kFmSel1); in TEST_F() 484 EXPECT_EQ(utils::getBand(utils::getAmFmFrequency(it->selector)), utils::FrequencyBand::FM); in TEST_F() 499 EXPECT_TRUE(utils::hasId(it->selector, IdentifierType::AMFM_FREQUENCY_KHZ)); in TEST_F() 500 EXPECT_EQ(utils::getBand(utils::getAmFmFrequency(it->selector)), utils::FrequencyBand::FM); in TEST_F() 512 EXPECT_FALSE(utils::hasId(it->selector, IdentifierType::HD_STATION_ID_EXT)); in TEST_F() [all …]
|
D | MockBroadcastRadioCallback.cpp | 32 const ProgramSelector& selector) { in onTuneFailed() argument 33 LOG(DEBUG) << "onTuneFailed with result with " << selector.toString().c_str(); in onTuneFailed()
|
/hardware/interfaces/broadcastradio/aidl/vts/src/ |
D | VtsHalBroadcastradioAidlTargetTest.cpp | 150 ScopedAStatus onTuneFailed(Result result, const ProgramSelector& selector) override; 196 vector<int64_t> ids = bcutils::getAllIds(arg.selector, id.type); 205 ScopedAStatus TunerCallbackImpl::onTuneFailed(Result result, const ProgramSelector& selector) { in onTuneFailed() argument 206 LOG(DEBUG) << "Tune failed for selector" << selector.toString(); in onTuneFailed() 213 for (const auto& id : info.selector) { in onCurrentProgramInfoChanged() 700 vector<int64_t> freqs = bcutils::getAllIds(infoCb.selector, IdentifierType::AMFM_FREQUENCY_KHZ); in TEST_P() 725 if (programInfo.selector.primaryId.type != IdentifierType::HD_STATION_ID_EXT) { in TEST_P() 728 hdSel = programInfo.selector; in TEST_P() 752 EXPECT_EQ(infoCb.selector.primaryId, hdSel.primaryId); in TEST_P() 788 if (!utils::hasId(programInfo.selector, IdentifierType::DAB_FREQUENCY_KHZ)) { in TEST_P() [all …]
|
/hardware/interfaces/broadcastradio/aidl/aidl_api/android.hardware.broadcastradio/1/android/hardware/broadcastradio/ |
D | Announcement.aidl | 37 android.hardware.broadcastradio.ProgramSelector selector;
|
D | ProgramInfo.aidl | 37 android.hardware.broadcastradio.ProgramSelector selector;
|
/hardware/interfaces/broadcastradio/aidl/aidl_api/android.hardware.broadcastradio/current/android/hardware/broadcastradio/ |
D | Announcement.aidl | 37 android.hardware.broadcastradio.ProgramSelector selector;
|
D | ProgramInfo.aidl | 37 android.hardware.broadcastradio.ProgramSelector selector;
|
/hardware/interfaces/broadcastradio/aidl/android/hardware/broadcastradio/ |
D | Announcement.aidl | 32 ProgramSelector selector;
|
D | ProgramInfo.aidl | 96 ProgramSelector selector;
|
/hardware/interfaces/broadcastradio/aidl/aidl_api/android.hardware.broadcastradio/2/android/hardware/broadcastradio/ |
D | Announcement.aidl | 37 android.hardware.broadcastradio.ProgramSelector selector;
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_color_unquantize.cpp | 798 int selector = ((v6 >> 7) & 1) | ((v7 >> 6) & 2); in hdr_alpha_unpack() local 801 if (selector == 3) in hdr_alpha_unpack() 808 v6 |= (v7 << (selector + 1)) & 0x780; in hdr_alpha_unpack() 809 v7 &= (0x3f >> selector); in hdr_alpha_unpack() 810 v7 ^= 32 >> selector; in hdr_alpha_unpack() 811 v7 -= 32 >> selector; in hdr_alpha_unpack() 812 v6 <<= (4 - selector); in hdr_alpha_unpack() 813 v7 <<= (4 - selector); in hdr_alpha_unpack()
|