Searched refs:CallbackRegistry (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 37 CallbackRegistry<Integer, CallbackRegistryTest, Integer> registry; 57 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testAddListener() 58 new CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer>() { in testAddListener() 64 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddListener() 97 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testSimpleNotify() 98 new CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer>() { in testSimpleNotify() 107 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testSimpleNotify() 117 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testRemoveWhileNotifying() 118 new CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer>() { in testRemoveWhileNotifying() 129 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testRemoveWhileNotifying() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ImageTileSet.java | 30 import com.android.internal.util.CallbackRegistry; 31 import com.android.internal.util.CallbackRegistry.NotifierCallback; 49 private CallbackRegistry<OnContentChangedListener, ImageTileSet, Rect> mContentListeners; 69 mContentListeners = new CallbackRegistry<>( in addOnContentChangedListener()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 43 public class CallbackRegistry<C, T, A> implements Cloneable { class 78 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() method in CallbackRegistry 356 public synchronized CallbackRegistry<C, T, A> clone() { in clone() 357 CallbackRegistry<C, T, A> clone = null; in clone() 359 clone = (CallbackRegistry<C, T, A>) super.clone(); in clone()
|
D | ObservableServiceConnection.java | 29 import com.android.internal.util.CallbackRegistry.NotifierCallback; 128 private final CallbackRegistry<Callback<T>, ObservableServiceConnection<T>, T> 129 mCallbackRegistry = new CallbackRegistry<>(
|
/frameworks/base/ravenwood/texts/ |
D | ravenwood-annotation-allowed-classes.txt | 284 com.android.internal.util.CallbackRegistry
|