Searched refs:makeIdentifier (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/broadcastradio/common/utilsaidl/test/ |
D | BroadcastRadioUtilsCommonTest.cpp | 49 .id = utils::makeIdentifier(IdentifierType::INVALID, 0), in getIsValidIdentifierTestCases() 53 .id = utils::makeIdentifier(IdentifierType::DAB_FREQUENCY_KHZ, 10000000u), in getIsValidIdentifierTestCases() 57 .id = utils::makeIdentifier(IdentifierType::DAB_FREQUENCY_KHZ, 100000u), in getIsValidIdentifierTestCases() 61 .id = utils::makeIdentifier(IdentifierType::DAB_FREQUENCY_KHZ, 1000000u), in getIsValidIdentifierTestCases() 65 .id = utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, 10000000u), in getIsValidIdentifierTestCases() 69 .id = utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, 100u), in getIsValidIdentifierTestCases() 72 .id = utils::makeIdentifier( in getIsValidIdentifierTestCases() 77 .id = utils::makeIdentifier(IdentifierType::DRMO_FREQUENCY_KHZ, 10000000u), in getIsValidIdentifierTestCases() 81 .id = utils::makeIdentifier(IdentifierType::DRMO_FREQUENCY_KHZ, 100u), in getIsValidIdentifierTestCases() 84 .id = utils::makeIdentifier( in getIsValidIdentifierTestCases() [all …]
|
D | BroadcastRadioUtilsTest.cpp | 86 .primaryId = utils::makeIdentifier(IdentifierType::RDS_PI, kRdsValue), in TEST() 88 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, kFmFrequencyKHz), in TEST() 89 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, in TEST() 101 .primaryId = utils::makeIdentifier(IdentifierType::RDS_PI, kRdsValue), in TEST() 103 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, kFmFrequencyKHz), in TEST() 104 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, in TEST() 118 .primaryId = utils::makeIdentifier(IdentifierType::RDS_PI, kRdsValue), in TEST() 120 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, kFmFrequencyKHz), in TEST() 121 utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, in TEST() 132 ProgramSelector sel = {.primaryId = utils::makeIdentifier(IdentifierType::RDS_PI, kRdsValue)}; in TEST() [all …]
|
/hardware/interfaces/broadcastradio/aidl/vts/src/ |
D | VtsHalBroadcastradioAidlTargetTest.cpp | 49 using ::aidl::android::hardware::broadcastradio::utils::makeIdentifier; 81 ProgramIdentifier id = bcutils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, freq); in isValidAmFmFreq() 551 bcutils::makeIdentifier(IdentifierType::DAB_FREQUENCY_KHZ, entry.frequencyKhz); in TEST_P() 593 makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, 0), // invalid in TEST_P() 594 makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, 94900), // valid in TEST_P() 595 makeIdentifier(IdentifierType::RDS_PI, 0x10000), // invalid in TEST_P() 596 makeIdentifier(IdentifierType::RDS_PI, 0x1001), // valid in TEST_P() 597 makeIdentifier(IdentifierType::HD_STATION_ID_EXT, 0x100000000), // invalid in TEST_P() 598 makeIdentifier(IdentifierType::HD_STATION_ID_EXT, 0x10000001), // valid in TEST_P() 599 makeIdentifier(IdentifierType::DAB_SID_EXT, 0), // invalid in TEST_P() [all …]
|
/hardware/interfaces/broadcastradio/aidl/default/ |
D | VirtualProgram.cpp | 38 return utils::makeIdentifier(type, utils::getId(info.selector, type)); in operator ProgramInfo() 55 info.physicallyTunedTo = utils::makeIdentifier( in operator ProgramInfo()
|
D | BroadcastRadio.cpp | 121 info.logicallyTunedTo = utils::makeIdentifier( in makeSampleProgramInfo() 127 info.logicallyTunedTo = utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, in makeSampleProgramInfo() 133 info.physicallyTunedTo = utils::makeIdentifier( in makeSampleProgramInfo()
|
/hardware/interfaces/broadcastradio/common/utilsaidl/src/ |
D | Utils.cpp | 307 ProgramIdentifier makeIdentifier(IdentifierType type, int64_t value) { in makeIdentifier() function 313 sel.primaryId = makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, frequency); in makeSelectorAmfm() 319 sel.primaryId = makeIdentifier(IdentifierType::DAB_SID_EXT, sidExt); in makeSelectorDab() 326 sel.primaryId = makeIdentifier(IdentifierType::HD_STATION_ID_EXT, sidExt); in makeSelectorHd() 332 sel.primaryId = makeIdentifier(IdentifierType::DAB_SID_EXT, sidExt); in makeSelectorDab() 334 makeIdentifier(IdentifierType::DAB_ENSEMBLE, ensemble), in makeSelectorDab() 335 makeIdentifier(IdentifierType::DAB_FREQUENCY_KHZ, freq)}; in makeSelectorDab() 539 return makeIdentifier(IdentifierType::HD_STATION_NAME, val); in makeHdRadioStationName()
|
/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/ |
D | Utils.h | 138 ProgramIdentifier makeIdentifier(IdentifierType type, int64_t value);
|
/hardware/interfaces/broadcastradio/aidl/default/test/ |
D | DefaultBroadcastRadioHalTest.cpp | 281 ProgramSelector invalidSelector = {utils::makeIdentifier(IdentifierType::AMFM_FREQUENCY_KHZ, 0), in TEST_F()
|