Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/radio/
DProgramList.java53 private final List<ListCallback> mListCallbacks = new ArrayList<>();
72 public abstract static class ListCallback { class in ProgramList
103 @NonNull ListCallback callback) { in registerListCallback()
104 registerListCallback(new ListCallback() { in registerListCallback()
118 public void registerListCallback(@NonNull ListCallback callback) { in registerListCallback()
128 public void unregisterListCallback(@NonNull ListCallback callback) { in unregisterListCallback()
198 List<ProgramList.ListCallback> listCallbacksCopied; in apply()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DProgramListTest.java137 private ProgramList.ListCallback[] mListCallbackMocks;
484 ProgramList.ListCallback listCallbackMock = mock(ProgramList.ListCallback.class); in onItemChanged_forListCallbackRegisteredWithExecutor_invokesWhenIdAdded()
499 ProgramList.ListCallback listCallbackMock = mock(ProgramList.ListCallback.class); in onItemRemoved_forListCallbackRegisteredWithExecutor_invokesWhenIdRemoved()
702 mListCallbackMocks = new ProgramList.ListCallback[numCallbacks]; in registerListCallbacks()
704 mListCallbackMocks[index] = mock(ProgramList.ListCallback.class); in registerListCallbacks()
/frameworks/base/core/api/
Dsystem-current.txt6292 …(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback);
6293 … method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
6296 …ethod public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
6310 public abstract static class ProgramList.ListCallback {
6311 ctor public ProgramList.ListCallback();