/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | ProgramInfoCache.java | 21 import android.hardware.radio.ProgramList; 57 private final ProgramList.Filter mFilter; 59 ProgramInfoCache(@Nullable ProgramList.Filter filter) { in ProgramInfoCache() 65 ProgramInfoCache(@Nullable ProgramList.Filter filter, boolean complete, in ProgramInfoCache() 102 public @Nullable ProgramList.Filter getFilter() { in getFilter() 121 @NonNull List<ProgramList.Chunk> filterAndUpdateFrom(@NonNull ProgramInfoCache other, in filterAndUpdateFrom() 128 @NonNull List<ProgramList.Chunk> filterAndUpdateFromInternal(@NonNull ProgramInfoCache other, in filterAndUpdateFromInternal() 164 @Nullable List<ProgramList.Chunk> filterAndApplyChunk(@NonNull ProgramList.Chunk chunk) { in filterAndApplyChunk() 170 @Nullable List<ProgramList.Chunk> filterAndApplyChunkInternal(@NonNull ProgramList.Chunk chunk, in filterAndApplyChunkInternal() 233 private static @NonNull List<ProgramList.Chunk> buildChunks(boolean purge, boolean complete, in buildChunks() [all …]
|
D | TunerSession.java | 26 import android.hardware.radio.ProgramList; 189 public void startProgramListUpdates(ProgramList.Filter filter) throws RemoteException { in startProgramListUpdates() 193 filter = new ProgramList.Filter(new HashSet<Integer>(), in startProgramListUpdates() 205 ProgramList.Filter getProgramListFilter() { in getProgramListFilter() 211 void onMergedProgramListUpdateFromHal(ProgramList.Chunk mergedChunk) { in onMergedProgramListUpdateFromHal() 212 List<ProgramList.Chunk> clientUpdateChunks = null; in onMergedProgramListUpdateFromHal() 223 List<ProgramList.Chunk> clientUpdateChunks = null; in updateProgramInfoFromHalCache() 233 private void dispatchClientUpdateChunks(@Nullable List<ProgramList.Chunk> chunks) { in dispatchClientUpdateChunks() 237 for (ProgramList.Chunk chunk : chunks) { in dispatchClientUpdateChunks()
|
D | RadioModule.java | 78 private android.hardware.radio.ProgramList.Filter mUnionOfAidlProgramFilters = null; 102 android.hardware.radio.ProgramList.Chunk chunk = 212 private @Nullable android.hardware.radio.ProgramList.Filter 220 android.hardware.radio.ProgramList.Filter filter = in buildUnionOfTunerSessionFiltersLocked() 253 return idTypes == null ? null : new android.hardware.radio.ProgramList.Filter(idTypes, ids, in buildUnionOfTunerSessionFiltersLocked() 264 android.hardware.radio.ProgramList.Filter newFilter = in onTunerSessionProgramListFilterChangedLocked()
|
D | Convert.java | 35 import android.hardware.radio.ProgramList; 387 static @NonNull ProgramFilter programFilterToHal(@Nullable ProgramList.Filter filter) { in programFilterToHal() 388 if (filter == null) filter = new ProgramList.Filter(); in programFilterToHal() 401 static @NonNull ProgramList.Chunk programListChunkFromHal(@NonNull ProgramListChunk chunk) { in programListChunkFromHal() 408 return new ProgramList.Chunk(chunk.purge, chunk.complete, modified, removed); in programListChunkFromHal()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ProgramInfoCacheTest.java | 21 import android.hardware.radio.ProgramList; 104 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testEmptyFilter() 116 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(filterTypes, in testFilterByType() 127 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterByIdentifier() 135 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterExcludeCategories() 144 List<ProgramList.Chunk> chunks = in testPurgeUpdateChunks() 181 List<ProgramList.Chunk> chunks = cache.filterAndUpdateFromInternal(halCache, false, 5, 1); in testDeltaUpdateChunksModificationsIncluded() 193 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testDeltaUpdateChunksModificationsExcluded() 217 List<ProgramList.Chunk> chunks = cache.filterAndUpdateFromInternal(halCache, false, 5, 1); in testDeltaUpdateChunksModificationsExcluded() 229 private static void verifyChunkListFlags(List<ProgramList.Chunk> chunks, boolean expectPurge, in verifyChunkListFlags() [all …]
|
D | StartProgramListUpdatesFanoutTest.java | 33 import android.hardware.radio.ProgramList; 116 ProgramList.Filter aidlFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFanout() 156 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering() 158 ProgramList.Filter categoryFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering() 160 ProgramList.Filter typeFilterWithoutModifications = new ProgramList.Filter( in testFiltering() 163 ProgramList.Filter typeFilterWithModifications = new ProgramList.Filter( in testFiltering() 217 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testClientClosing() 220 ProgramList.Filter typeFilter = new ProgramList.Filter( in testClientClosing() 318 ProgramList.Chunk expectedChunk = new ProgramList.Chunk(purge, true, modifiedSet, in verifyAidlClientReceivedChunk()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | TunerCallback.java | 23 import android.hardware.radio.ProgramList; 50 private final AtomicReference<ProgramList.Filter> mProgramListFilter = new AtomicReference<>(); 91 void startProgramListUpdates(@Nullable ProgramList.Filter filter) { in startProgramListUpdates() 92 if (filter == null) filter = new ProgramList.Filter(); in startProgramListUpdates() 158 ProgramList.Filter filter = mProgramListFilter.get(); in sendProgramListUpdate() 169 ProgramList.Chunk chunk = new ProgramList.Chunk(true, true, modifiedSet, null); in sendProgramListUpdate() 174 public void onProgramListUpdated(ProgramList.Chunk chunk) { in onProgramListUpdated()
|
D | Tuner.java | 24 import android.hardware.radio.ProgramList; 257 public void startProgramListUpdates(ProgramList.Filter filter) { in startProgramListUpdates()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | ProgramList.aidl | 20 parcelable ProgramList.Filter; 23 parcelable ProgramList.Chunk;
|
D | TunerAdapter.java | 41 private ProgramList mLegacyListProxy; 243 mLegacyListProxy = new ProgramList(); in getProgramList() 249 mTuner.startProgramListUpdates(new ProgramList.Filter(vendorFilter)); in getProgramList() 262 public @Nullable ProgramList getDynamicProgramList(@Nullable ProgramList.Filter filter) { in getDynamicProgramList() 270 ProgramList list = new ProgramList(); in getDynamicProgramList()
|
D | ITunerCallback.aidl | 19 import android.hardware.radio.ProgramList; 36 void onProgramListUpdated(in ProgramList.Chunk chunk); in onProgramListUpdated()
|
D | TunerCallbackAdapter.java | 39 @Nullable ProgramList mProgramList; 62 void setProgramListObserver(@Nullable ProgramList programList, in setProgramListObserver() 63 @NonNull ProgramList.OnCloseListener closeListener) { in setProgramListObserver() 213 public void onProgramListUpdated(ProgramList.Chunk chunk) { in onProgramListUpdated()
|
D | ITuner.aidl | 20 import android.hardware.radio.ProgramList; 75 void startProgramListUpdates(in ProgramList.Filter filter); in startProgramListUpdates()
|
D | RadioTuner.java | 308 public @Nullable ProgramList getDynamicProgramList(@Nullable ProgramList.Filter filter) { in getDynamicProgramList()
|
D | ProgramList.java | 41 public final class ProgramList implements AutoCloseable { class 53 ProgramList() {} in ProgramList() method in ProgramList
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 3165 public final class ProgramList implements java.lang.AutoCloseable { 3166 …NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListe… 3167 …method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteLis… 3170 …(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback); 3171 … method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); 3172 …method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnComplete… 3174 …method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback… 3177 public static final class ProgramList.Filter implements android.os.Parcelable { 3178 …ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<a… 3185 …blic static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR; [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 3217 public final class ProgramList implements java.lang.AutoCloseable { 3218 …NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListe… 3219 …method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteLis… 3222 …(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback); 3223 … method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); 3224 …method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnComplete… 3226 …method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback… 3229 public static final class ProgramList.Filter implements android.os.Parcelable { 3230 …ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<a… 3237 …blic static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR; [all …]
|