Searched refs:haveEqualIds (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/broadcastradio/common/utils1x/ |
D | Utils.cpp | 56 static bool haveEqualIds(const ProgramSelector& a, const ProgramSelector& b, in haveEqualIds() function 75 if (haveEqualIds(a, b, IdentifierType::HD_STATION_ID_EXT)) return true; in tunesTo() 85 if (haveEqualIds(a, b, IdentifierType::RDS_PI)) return true; in tunesTo() 87 return haveEqualIds(a, b, IdentifierType::AMFM_FREQUENCY); in tunesTo() 89 return haveEqualIds(a, b, IdentifierType::DAB_SIDECC); in tunesTo() 91 return haveEqualIds(a, b, IdentifierType::DRMO_SERVICE_ID); in tunesTo() 94 return haveEqualIds(a, b, IdentifierType::SXM_SERVICE_ID); in tunesTo() 96 return haveEqualIds(a, b, IdentifierType::SXM_CHANNEL); in tunesTo()
|
/hardware/interfaces/broadcastradio/common/utils2x/ |
D | Utils.cpp | 99 static bool haveEqualIds(const ProgramSelector& a, const ProgramSelector& b, in haveEqualIds() function 121 if (haveEqualIds(a, b, IdentifierType::HD_STATION_ID_EXT)) return true; in tunesTo() 122 if (haveEqualIds(a, b, IdentifierType::RDS_PI)) return true; in tunesTo() 123 return getHdSubchannel(b) == 0 && haveEqualIds(a, b, IdentifierType::AMFM_FREQUENCY); in tunesTo() 125 return haveEqualIds(a, b, IdentifierType::DAB_SID_EXT); in tunesTo() 127 return haveEqualIds(a, b, IdentifierType::DRMO_SERVICE_ID); in tunesTo() 129 return haveEqualIds(a, b, IdentifierType::SXM_SERVICE_ID); in tunesTo()
|