/frameworks/base/core/java/android/hardware/radio/ |
D | Announcement.java | 35 public final class Announcement implements Parcelable { class 78 void onListUpdated(Collection<Announcement> activeAnnouncements); in onListUpdated() 86 public Announcement(@NonNull ProgramSelector selector, @Type int type, in Announcement() method in Announcement 93 private Announcement(@NonNull Parcel in) { in Announcement() method in Announcement 111 public static final @android.annotation.NonNull Parcelable.Creator<Announcement> CREATOR = 112 new Parcelable.Creator<Announcement>() { 113 public Announcement createFromParcel(Parcel in) { 114 return new Announcement(in); 117 public Announcement[] newArray(int size) { 118 return new Announcement[size];
|
D | IAnnouncementListener.aidl | 19 import android.hardware.radio.Announcement; 23 void onListUpdated(in List<Announcement> activeAnnouncements); in onListUpdated()
|
D | Announcement.aidl | 20 parcelable Announcement;
|
D | RadioManager.java | 1939 private final Map<Announcement.OnListUpdatedListener, ICloseHandle> mAnnouncementListeners = 1950 @NonNull Announcement.OnListUpdatedListener listener) { in addAnnouncementListener() 1964 @NonNull Announcement.OnListUpdatedListener listener) { in addAnnouncementListener() 1969 public void onListUpdated(List<Announcement> activeAnnouncements) { in addAnnouncementListener() 1994 public void removeAnnouncementListener(@NonNull Announcement.OnListUpdatedListener listener) { in removeAnnouncementListener()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | RadioAnnouncementTest.java | 36 private static final int TRAFFIC_ANNOUNCEMENT_TYPE = Announcement.TYPE_TRAFFIC; 38 private static final Announcement TEST_ANNOUNCEMENT = 39 new Announcement(FM_PROGRAM_SELECTOR, TRAFFIC_ANNOUNCEMENT_TYPE, VENDOR_INFO); 44 new Announcement(/* selector= */ null, TRAFFIC_ANNOUNCEMENT_TYPE, VENDOR_INFO); in constructor_withNullSelector_fails() 54 new Announcement(FM_PROGRAM_SELECTOR, TRAFFIC_ANNOUNCEMENT_TYPE, in constructor_withNullVendorInfo_fails() 96 Announcement[] announcements = Announcement.CREATOR.newArray(sizeExpected); in newArray_forAnnouncementCreator() 108 Announcement announcementFromParcel = Announcement.CREATOR.createFromParcel(parcel); in writeToParcel_forAnnouncement()
|
D | RadioManagerTest.java | 150 private static final int EVENT_ANNOUNCEMENT_TYPE = Announcement.TYPE_EVENT; 151 private static final List<Announcement> TEST_ANNOUNCEMENT_LIST = Arrays.asList( 152 new Announcement(DAB_SELECTOR, EVENT_ANNOUNCEMENT_TYPE, 168 private Announcement.OnListUpdatedListener mEventListener;
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 21 import android.hardware.radio.Announcement; 60 public @NonNull List<Announcement> currentList = new ArrayList<>(); 62 public void onListUpdated(List<Announcement> active) { in onListUpdated() 92 List<Announcement> combined = new ArrayList<>(); in onListUpdated()
|
D | Convert.java | 23 import android.hardware.broadcastradio.V2_0.Announcement; 426 public static @NonNull android.hardware.radio.Announcement announcementFromHal( in announcementFromHal() 427 @NonNull Announcement hwAnnouncement) { in announcementFromHal() 428 return new android.hardware.radio.Announcement( in announcementFromHal()
|
D | RadioModule.java | 24 import android.hardware.broadcastradio.V2_0.Announcement; 414 public void onListUpdated(ArrayList<Announcement> hwAnnouncements) in addAnnouncementListener()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregatorHidlTest.java | 30 import android.hardware.radio.Announcement; 55 private static final int[] TEST_ENABLED_TYPES = new int[]{Announcement.TYPE_TRAFFIC}; 70 private Announcement[] mAnnouncementMocks; 118 ArgumentCaptor<List<Announcement>> announcementsCaptor = in onListUpdated_withMultipleModuleWatchers() 205 mAnnouncementMocks = new Announcement[moduleNumber]; in watchModules() 210 mAnnouncementMocks[index] = mock(Announcement.class); in watchModules()
|
D | RadioModuleHidlTest.java | 33 import android.hardware.radio.Announcement; 54 private static final int TEST_ENABLED_TYPE = Announcement.TYPE_EVENT; 130 android.hardware.broadcastradio.V2_0.Announcement halAnnouncement = in onListUpdate_forAnnouncementListener() 135 new ArrayList<android.hardware.broadcastradio.V2_0.Announcement>( in onListUpdate_forAnnouncementListener()
|
D | TestUtils.java | 156 static android.hardware.broadcastradio.V2_0.Announcement makeAnnouncement(int type, in makeAnnouncement() 158 android.hardware.broadcastradio.V2_0.Announcement halAnnouncement = in makeAnnouncement() 159 new android.hardware.broadcastradio.V2_0.Announcement(); in makeAnnouncement()
|
D | ConvertTest.java | 31 import android.hardware.radio.Announcement; 70 private static final int TEST_ENABLED_TYPE = Announcement.TYPE_EMERGENCY; 75 private static final Announcement ANNOUNCEMENT =
|
D | BroadcastRadioServiceHidlTest.java | 31 import android.hardware.radio.Announcement; 60 private static final int[] TEST_ENABLED_TYPES = new int[]{Announcement.TYPE_TRAFFIC};
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregatorTest.java | 30 import android.hardware.radio.Announcement; 54 private static final int[] TEST_ENABLED_TYPES = new int[]{Announcement.TYPE_TRAFFIC}; 69 private Announcement[] mAnnouncementMocks; 116 ArgumentCaptor<List<Announcement>> announcementsCaptor = in onListUpdated_withMultipleModuleWatchers() 203 mAnnouncementMocks = new Announcement[moduleNumber]; in watchModules() 208 mAnnouncementMocks[index] = mock(Announcement.class); in watchModules()
|
D | RadioModuleTest.java | 30 import android.hardware.radio.Announcement; 52 private static final int TEST_ENABLED_TYPE = Announcement.TYPE_EVENT; 139 android.hardware.broadcastradio.Announcement halAnnouncement = in onListUpdate_forAnnouncementListener() 144 new android.hardware.broadcastradio.Announcement[]{halAnnouncement}); in onListUpdate_forAnnouncementListener()
|
D | AidlTestUtils.java | 181 static android.hardware.broadcastradio.Announcement makeAnnouncement(int type, in makeAnnouncement() 183 android.hardware.broadcastradio.Announcement halAnnouncement = in makeAnnouncement() 184 new android.hardware.broadcastradio.Announcement(); in makeAnnouncement()
|
D | BroadcastRadioServiceImplTest.java | 32 import android.hardware.radio.Announcement; 61 private static final int[] TEST_ENABLED_TYPES = new int[]{Announcement.TYPE_TRAFFIC};
|
D | ConversionUtilsTest.java | 36 import android.hardware.radio.Announcement; 158 private static final int TEST_ENABLED_TYPE = Announcement.TYPE_EMERGENCY; 163 private static final Announcement ANNOUNCEMENT =
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregator.java | 20 import android.hardware.radio.Announcement; 73 public List<Announcement> mCurrentList = new ArrayList<>(); 75 public void onListUpdated(List<Announcement> active) { in onListUpdated() 126 List<Announcement> combined = new ArrayList<>(mModuleWatchers.size()); in onListUpdated()
|
D | RadioModule.java | 23 import android.hardware.broadcastradio.Announcement; 482 public void onListUpdated(Announcement[] hwAnnouncements) in addAnnouncementListener() 484 List<android.hardware.radio.Announcement> announcements = in addAnnouncementListener()
|
D | ConversionUtils.java | 25 import android.hardware.broadcastradio.Announcement; 730 public static android.hardware.radio.Announcement announcementFromHalAnnouncement( in announcementFromHalAnnouncement() 731 Announcement hwAnnouncement) { in announcementFromHalAnnouncement() 732 return new android.hardware.radio.Announcement( in announcementFromHalAnnouncement()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
D | IRadioServiceAidlImplTest.java | 31 import android.hardware.radio.Announcement; 54 private static final int[] ENABLE_TYPES = new int[]{Announcement.TYPE_TRAFFIC};
|
D | IRadioServiceHidlImplTest.java | 32 import android.hardware.radio.Announcement; 55 private static final int[] ENABLE_TYPES = new int[]{Announcement.TYPE_TRAFFIC};
|
/frameworks/base/core/api/ |
D | system-current.txt | 6265 public final class Announcement implements android.os.Parcelable { 6271 …ull public static final android.os.Parcelable.Creator<android.hardware.radio.Announcement> CREATOR; 6282 public static interface Announcement.OnListUpdatedListener { 6283 method public void onListUpdated(java.util.Collection<android.hardware.radio.Announcement>); 6387 …ull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedLi… 6388 …ull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedLi… 6391 …ublic void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedLi…
|