Searched refs:FM_IDENTIFIER (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | ProgramSelectorTest.java | 35 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier( field in ProgramSelectorTest 52 assertWithMessage("Identifier type").that(FM_IDENTIFIER.getType()) in getType_forIdentifier() 69 .that(FM_IDENTIFIER.isCategoryType()).isFalse(); in isCategoryType_withNonCategoryTypeForIdentifier() 75 .that(FM_IDENTIFIER.getValue()).isEqualTo(FM_FREQUENCY); in getValue_forIdentifier() 81 .that(FM_IDENTIFIER).isNotEqualTo(DAB_DMB_SID_EXT_IDENTIFIER_1); in equals_withDifferentTypesForIdentifiers_returnsFalse() 96 .that(FM_IDENTIFIER).isEqualTo(fmIdentifierSame); in equals_withSameKeyAndValueForIdentifiers_returnsTrue() 102 .that(FM_IDENTIFIER.describeContents()).isEqualTo(0); in describeContents_forIdentifier() 117 FM_IDENTIFIER.writeToParcel(parcel, /* flags= */ 0); in writeToParcel_forIdentifier() 123 .that(identifierFromParcel).isEqualTo(FM_IDENTIFIER); in writeToParcel_forIdentifier() 152 assertWithMessage("Program Id").that(programId).isEqualTo(FM_IDENTIFIER); in getPrimaryId() [all …]
|
D | ProgramListTest.java | 68 private static final ProgramSelector.Identifier FM_IDENTIFIER = field in ProgramListTest 103 createProgramSelector(ProgramSelector.PROGRAM_TYPE_FM, FM_IDENTIFIER)); 113 FM_IDENTIFIER, DAB_DMB_SID_EXT_IDENTIFIER); 368 verify(mListCallbackMocks[0], CALLBACK_TIMEOUT).onItemChanged(FM_IDENTIFIER); in onProgramListUpdated_withNewIdsAdded_invokesCallbacks() 378 UniqueProgramIdentifier fmUniqueId = new UniqueProgramIdentifier(FM_IDENTIFIER); in onProgramListUpdated_withFmIdsRemoved_invokesCallbacks() 388 verify(mListCallbackMocks[0], CALLBACK_TIMEOUT).onItemRemoved(FM_IDENTIFIER); in onProgramListUpdated_withFmIdsRemoved_invokesCallbacks() 457 verify(mListCallbackMocks[0], CALLBACK_TIMEOUT).onItemRemoved(FM_IDENTIFIER); in onProgramListUpdated_withPurgeChunk() 489 verify(listCallbackMock, CALLBACK_TIMEOUT).onItemChanged(FM_IDENTIFIER); in onItemChanged_forListCallbackRegisteredWithExecutor_invokesWhenIdAdded() 505 verify(listCallbackMock, CALLBACK_TIMEOUT).onItemRemoved(FM_IDENTIFIER); in onItemRemoved_forListCallbackRegisteredWithExecutor_invokesWhenIdRemoved() 518 verify(mListCallbackMocks[index], CALLBACK_TIMEOUT).onItemChanged(FM_IDENTIFIER); in onProgramListUpdated_withMultipleListCallBacks() [all …]
|
D | UniqueProgramIdentifierTest.java | 30 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier( field in UniqueProgramIdentifierTest 113 new ProgramSelector(ProgramSelector.PROGRAM_TYPE_FM, FM_IDENTIFIER, in getCriticalSecondaryIds_forFmUniqueProgramIdentifier() 169 UniqueProgramIdentifier fmUniqueIdentifier = new UniqueProgramIdentifier(FM_IDENTIFIER); in equals_withDifferentPrimaryIdsForUniqueProgramIdentifier_returnsFalse() 205 UniqueProgramIdentifier fmUniqueIdentifier = new UniqueProgramIdentifier(FM_IDENTIFIER); in describeContents_forUniqueProgramIdentifier()
|
D | RadioAnnouncementTest.java | 31 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier( field in RadioAnnouncementTest 34 ProgramSelector.PROGRAM_TYPE_FM, FM_IDENTIFIER, /* secondaryIds= */ null,
|
D | TunerAdapterTest.java | 62 private static final ProgramSelector.Identifier FM_IDENTIFIER = field in TunerAdapterTest 66 new ProgramSelector(ProgramSelector.PROGRAM_TYPE_FM, FM_IDENTIFIER, 915 return new RadioManager.ProgramInfo(FM_SELECTOR, FM_IDENTIFIER, FM_IDENTIFIER, in createFmProgramInfo()
|