Home
last modified time | relevance | path

Searched refs:ListenerInfo (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
DCallbackUtil.java48 static class ListenerInfo<T> { class in CallbackUtil
52 ListenerInfo(@NonNull T listener, @NonNull Executor exe) { in ListenerInfo() method in CallbackUtil.ListenerInfo
65 static <T> @Nullable ListenerInfo<T> getListenerInfo( in getListenerInfo()
66 @NonNull T listener, @Nullable ArrayList<ListenerInfo<T>> listeners) { in getListenerInfo()
70 for (ListenerInfo<T> info : listeners) { in getListenerInfo()
86 @Nullable ArrayList<ListenerInfo<T>> listeners) { in hasListener()
98 @Nullable ArrayList<ListenerInfo<T>> listeners) { in removeListener()
99 final ListenerInfo<T> infoToRemove = getListenerInfo(listener, listeners); in removeListener()
126 static <T, S> Pair<ArrayList<ListenerInfo<T>>, S> addListener(String methodName, in addListener()
129 @Nullable ArrayList<ListenerInfo<T>> listeners, in addListener()
[all …]
DAudioDeviceVolumeManager.java116 static class ListenerInfo { class in AudioDeviceVolumeManager
122 ListenerInfo(@NonNull OnAudioDeviceVolumeChangedListener listener, @NonNull Executor exe, in ListenerInfo() method in AudioDeviceVolumeManager.ListenerInfo
137 private @Nullable ArrayList<ListenerInfo> mDeviceVolumeListeners;
167 final ArrayList<ListenerInfo> volumeListeners; in dispatchDeviceVolumeChanged()
169 volumeListeners = (ArrayList<ListenerInfo>) mDeviceVolumeListeners.clone(); in dispatchDeviceVolumeChanged()
171 for (ListenerInfo listenerInfo : volumeListeners) { in dispatchDeviceVolumeChanged()
183 final ArrayList<ListenerInfo> volumeListeners; in dispatchDeviceVolumeAdjusted()
185 volumeListeners = (ArrayList<ListenerInfo>) mDeviceVolumeListeners.clone(); in dispatchDeviceVolumeAdjusted()
187 for (ListenerInfo listenerInfo : volumeListeners) { in dispatchDeviceVolumeAdjusted()
316 final ListenerInfo listenerInfo = new ListenerInfo( in baseSetDeviceAbsoluteMultiVolumeBehavior()
DSpatializer.java27 import android.media.CallbackUtil.ListenerInfo;
795 new ListenerInfo<OnHeadToSoundstagePoseUpdatedListener>(listener, executor); in setOnHeadToSoundstagePoseUpdatedListener()
929 new ListenerInfo<OnSpatializerOutputChangedListener>(listener, executor); in setOnSpatializerOutputChangedListener()
1041 private @Nullable ListenerInfo<OnHeadToSoundstagePoseUpdatedListener> mPoseListener;
1051 final ListenerInfo<OnHeadToSoundstagePoseUpdatedListener> listener; in dispatchPoseChanged()
1072 private @Nullable ListenerInfo<OnSpatializerOutputChangedListener> mOutputListener;
1082 final ListenerInfo<OnSpatializerOutputChangedListener> listener; in dispatchSpatializerOutputChanged()
DAudioManager.java59 import android.media.CallbackUtil.ListenerInfo;
6345 ListenerInfo<OnDevicesForAttributesChangedListener> mInfo;
6349 mInfo = new ListenerInfo<>(listener, executor); in IDevicesForAttributesCallbackStub()
9620 final Pair<ArrayList<ListenerInfo<MuteAwaitConnectionCallback>>, in registerMuteAwaitConnectionCallback()
9643 final Pair<ArrayList<ListenerInfo<MuteAwaitConnectionCallback>>, in unregisterMuteAwaitConnectionCallback()
10199 private @Nullable ArrayList<ListenerInfo<MuteAwaitConnectionCallback>>
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java52 private final ArrayMap<IBinder, ListenerInfo> mListeners = new ArrayMap<>();
124 mListeners.put(token, new ListenerInfo(token, pkg, true, in pin()
175 ListenerInfo l = mListeners.valueAt(i); in handleRecheckListeners()
210 private class ListenerInfo { class in PinnedSliceState
218 public ListenerInfo(IBinder token, String pkg, boolean hasPermission, in ListenerInfo() method in PinnedSliceState.ListenerInfo
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java292 private class ListenerInfo { class in ClipboardService
297 ListenerInfo(int uid, String packageName, String attributionTag) { in ListenerInfo() method in ClipboardService.ListenerInfo
767 new ListenerInfo(intendingUid, callingPackage, attributionTag)); in addPrimaryClipChangedListener()
1049 ListenerInfo li = (ListenerInfo) in sendClipChangedBroadcast()
/frameworks/base/core/java/android/view/
DView.java5054 static class ListenerInfo { class in View
5057 ListenerInfo() { in ListenerInfo() method in View.ListenerInfo
5163 ListenerInfo mListenerInfo;
7699 ListenerInfo getListenerInfo() {
7703 mListenerInfo = new ListenerInfo();
7741 ListenerInfo li = getListenerInfo();
7756 ListenerInfo li = mListenerInfo;
7774 ListenerInfo li = getListenerInfo();
7790 ListenerInfo li = mListenerInfo;
7803 ListenerInfo li = mListenerInfo;
[all …]
/frameworks/base/boot/
Dboot-image-profile.txt16923 HSPLandroid/view/View$1;-><init>(Landroid/view/View;Landroid/view/View$ListenerInfo;)V
16959 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmHandwritingArea(Landroid/view/View$ListenerInfo;)…
16960 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmKeepClearRects(Landroid/view/View$ListenerInfo;)L…
16961 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmPreferKeepClear(Landroid/view/View$ListenerInfo;)Z
16962 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmUnrestrictedKeepClearRects(Landroid/view/View$Lis…
16963 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fputmHandwritingArea(Landroid/view/View$ListenerInfo;L…
16964 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fputmPositionChangedUpdate(Landroid/view/View$Listener…
16965 HSPLandroid/view/View$ListenerInfo;-><init>()V
17162 HSPLandroid/view/View;->getListenerInfo()Landroid/view/View$ListenerInfo;
27453 Landroid/media/CallbackUtil$ListenerInfo;
[all …]
Dpreloaded-classes5065 android.media.CallbackUtil$ListenerInfo
9001 android.view.View$ListenerInfo
/frameworks/base/config/
Dboot-image-profile.txt16987 HSPLandroid/view/View$1;-><init>(Landroid/view/View;Landroid/view/View$ListenerInfo;)V
17023 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmHandwritingArea(Landroid/view/View$ListenerInfo;)…
17024 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmKeepClearRects(Landroid/view/View$ListenerInfo;)L…
17025 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmPreferKeepClear(Landroid/view/View$ListenerInfo;)Z
17026 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fgetmUnrestrictedKeepClearRects(Landroid/view/View$Lis…
17027 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fputmHandwritingArea(Landroid/view/View$ListenerInfo;L…
17028 HSPLandroid/view/View$ListenerInfo;->-$$Nest$fputmPositionChangedUpdate(Landroid/view/View$Listener…
17029 HSPLandroid/view/View$ListenerInfo;-><init>()V
17226 HSPLandroid/view/View;->getListenerInfo()Landroid/view/View$ListenerInfo;
37587 Landroid/media/CallbackUtil$ListenerInfo;
[all …]
Dpreloaded-classes5069 android.media.CallbackUtil$ListenerInfo
9032 android.view.View$ListenerInfo
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt62646 Landroid/view/View$ListenerInfo;->mOnApplyWindowInsetsListener:Landroid/view/View$OnApplyWindowInse…
62647 Landroid/view/View$ListenerInfo;->mOnAttachStateChangeListeners:Ljava/util/concurrent/CopyOnWriteAr…
62648 Landroid/view/View$ListenerInfo;->mOnCapturedPointerListener:Landroid/view/View$OnCapturedPointerLi…
62649 Landroid/view/View$ListenerInfo;->mOnContextClickListener:Landroid/view/View$OnContextClickListener;
62650 Landroid/view/View$ListenerInfo;->mOnLayoutChangeListeners:Ljava/util/ArrayList;
62651 Landroid/view/View$ListenerInfo;->mOnScrollChangeListener:Landroid/view/View$OnScrollChangeListener;
62652 Landroid/view/View$ListenerInfo;->mOnSystemUiVisibilityChangeListener:Landroid/view/View$OnSystemUi…
62653 Landroid/view/View$ListenerInfo;->mUnhandledKeyListeners:Ljava/util/ArrayList;