Home
last modified time | relevance | path

Searched refs:haveEqualIds (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp56 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/
DUtils.cpp99 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()
/hardware/interfaces/broadcastradio/common/utilsaidl/src/
DUtils.cpp42 bool haveEqualIds(const ProgramSelector& a, const ProgramSelector& b, const IdentifierType& type) { in haveEqualIds() function
127 if (haveEqualIds(a, b, IdentifierType::HD_STATION_ID_EXT)) return true; in tunesTo()
128 if (haveEqualIds(a, b, IdentifierType::RDS_PI)) return true; in tunesTo()
132 return haveEqualIds(a, b, IdentifierType::AMFM_FREQUENCY_KHZ) || in tunesTo()
137 if (!haveEqualIds(a, b, IdentifierType::DAB_SID_EXT)) { in tunesTo()
141 !haveEqualIds(a, b, IdentifierType::DAB_ENSEMBLE)) { in tunesTo()
145 !haveEqualIds(a, b, IdentifierType::DAB_FREQUENCY_KHZ)) { in tunesTo()
150 return haveEqualIds(a, b, IdentifierType::DRMO_SERVICE_ID); in tunesTo()
152 return haveEqualIds(a, b, IdentifierType::SXM_SERVICE_ID); in tunesTo()