/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 50 /*package*/ ArrayMap<IBinder, Callback> mCallbacks 51 = new ArrayMap<IBinder, Callback>(); 56 private final class Callback implements IBinder.DeathRecipient { class in RemoteCallbackList 60 Callback(E callback, Object cookie) { in Callback() method in RemoteCallbackList.Callback 114 Callback cb = new Callback(callback, cookie); in register() 143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() 163 Callback cb = mCallbacks.valueAt(cbi); in kill() 271 return ((Callback)mActiveBroadcast[index]).mCallback; in getBroadcastItem() 281 return ((Callback)mActiveBroadcast[index]).mCookie; in getBroadcastCookie()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardMonitor.java | 23 private final ArrayList<Callback> mCallbacks = new ArrayList<Callback>(); 28 public void addCallback(Callback callback) { in addCallback() 32 public void removeCallback(Callback callback) { in removeCallback() 48 for (Callback callback : mCallbacks) { in notifyKeyguardState() 53 public interface Callback { interface in KeyguardMonitor
|
D | ZenModeControllerImpl.java | 52 private final ArrayList<Callback> mCallbacks = new ArrayList<Callback>(); 89 public void addCallback(Callback callback) { in addCallback() 94 public void removeCallback(Callback callback) { in removeCallback() 173 for (Callback cb : mCallbacks) { in fireNextAlarmChanged() 179 for (Callback cb : mCallbacks) { in fireEffectsSuppressorChanged() 185 for (Callback cb : mCallbacks) { in fireZenChanged() 191 for (Callback cb : mCallbacks) { in fireZenAvailableChanged() 197 for (Callback cb : mCallbacks) { in fireConditionsChanged() 205 for (Callback cb : mCallbacks) { in fireExitConditionChanged()
|
D | HotspotController.java | 20 void addCallback(Callback callback); in addCallback() 21 void removeCallback(Callback callback); in removeCallback() 27 public interface Callback { interface
|
D | CastController.java | 22 void addCallback(Callback callback); in addCallback() 23 void removeCallback(Callback callback); in removeCallback() 30 public interface Callback { interface
|
D | ZenModeController.java | 23 void addCallback(Callback callback); in addCallback() 24 void removeCallback(Callback callback); in removeCallback() 35 public static class Callback { class
|
D | BluetoothController.java | 22 void addStateChangedCallback(Callback callback); in addStateChangedCallback() 23 void removeStateChangedCallback(Callback callback); in removeStateChangedCallback() 35 public interface Callback { interface
|
/frameworks/base/telecomm/java/android/telecom/ |
D | RemoteConference.java | 38 public abstract static class Callback { class in RemoteConference 55 private final Set<Callback> mCallbacks = new CopyOnWriteArraySet<>(); 83 for (Callback c : mCallbacks) { in setDestroyed() 101 for (Callback c : mCallbacks) { in setState() 112 for (Callback c : mCallbacks) { in addConnection() 123 for (Callback c : mCallbacks) { in removeConnection() 133 for (Callback c : mCallbacks) { in setConnectionCapabilities() 143 for (Callback c : mCallbacks) { in setConferenceableConnections() 153 for (Callback c : mCallbacks) { in setDisconnected() 249 public final void registerCallback(Callback callback) { in registerCallback() [all …]
|
D | RemoteConnection.java | 46 public static abstract class Callback { class in RemoteConnection 394 private final Set<Callback> mCallbacks = Collections.newSetFromMap( 395 new ConcurrentHashMap<Callback, Boolean>(8, 0.9f, 1)); 471 public void registerCallback(Callback callback) { in registerCallback() 480 public void unregisterCallback(Callback callback) { in unregisterCallback() 806 for (Callback c: mCallbacks) { in setState() 820 for (Callback c : mCallbacks) { in setDisconnected() 832 for (Callback c : mCallbacks) { in setRingbackRequested() 843 for (Callback c : mCallbacks) { in setConnectionCapabilities() 860 for (Callback c : mCallbacks) { in setDestroyed() [all …]
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 52 private final Map<Callback, CallbackRecord> mCallbacks; 56 mCallbacks = new ArrayMap<Callback, CallbackRecord>(); in MediaProjection() 75 public void registerCallback(Callback callback, Handler handler) { in registerCallback() 91 public void unregisterCallback(Callback callback) { in unregisterCallback() 103 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() 136 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() 174 public static abstract class Callback { class in MediaProjection 195 private final Callback mCallback; 198 public CallbackRecord(Callback callback, Handler handler) { in CallbackRecord()
|
D | MediaProjectionManager.java | 61 private Map<Callback, CallbackDelegate> mCallbacks; 136 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) { in addCallback() 153 public void removeCallback(@NonNull Callback callback) { in removeCallback() 168 public static abstract class Callback { class in MediaProjectionManager 175 private Callback mCallback; 178 public CallbackDelegate(Callback callback, Handler handler) { in CallbackDelegate()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceHolder.java | 69 public interface Callback { interface 110 public interface Callback2 extends Callback { 130 public void addCallback(Callback callback); in addCallback() 137 public void removeCallback(Callback callback); in removeCallback()
|
D | WindowCallbackWrapper.java | 29 public class WindowCallbackWrapper implements Window.Callback { 30 private Window.Callback mWrapped; 32 public WindowCallbackWrapper(Window.Callback wrapped) { in WindowCallbackWrapper() 130 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback) { in onWindowStartingActionMode()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseSurfaceHolder.java | 34 public final ArrayList<SurfaceHolder.Callback> mCallbacks 35 = new ArrayList<SurfaceHolder.Callback>(); 36 SurfaceHolder.Callback[] mGottenCallbacks; 74 public void addCallback(Callback callback) { in addCallback() 84 public void removeCallback(Callback callback) { in removeCallback() 90 public SurfaceHolder.Callback[] getCallbacks() { in getCallbacks() 99 mGottenCallbacks = new SurfaceHolder.Callback[N]; in getCallbacks()
|
/frameworks/native/services/surfaceflinger/ |
D | DispSync.h | 61 class Callback: public virtual RefBase { 63 virtual ~Callback() {}; in ~Callback() 117 status_t addEventListener(nsecs_t phase, const sp<Callback>& callback); 122 status_t removeEventListener(const sp<Callback>& callback);
|
D | EventThread.h | 45 class Callback: public virtual RefBase { 47 virtual ~Callback() {} in ~Callback() 53 virtual void setCallback(const sp<Callback>& callback) = 0; 56 class EventThread : public Thread, private VSyncSource::Callback {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeHost.java | 25 void addCallback(@NonNull Callback callback); in addCallback() 26 void removeCallback(@NonNull Callback callback); in removeCallback() 33 public interface Callback { interface
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SegmentedButtons.java | 37 private Callback mCallback; 47 public void setCallback(Callback callback) { in setCallback() 82 Interaction.register(b, new Interaction.Callback() { in addButton() 117 public interface Callback extends Interaction.Callback { interface in SegmentedButtons
|
/frameworks/base/media/java/android/media/ |
D | VolumeProvider.java | 52 private Callback mCallback; 137 public void setCallback(Callback callback) { in setCallback() 145 public static abstract class Callback { class in VolumeProvider
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | MainRecognitionService.java | 37 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening() 42 protected void onCancel(Callback listener) { in onCancel() 47 protected void onStopListening(Callback listener) { in onStopListening()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/media/routing/ |
D | MediaRouterJellybeanMr1.java | 33 public static Object createCallback(Callback callback) { in createCallback() 34 return new CallbackProxy<Callback>(callback); in createCallback() 47 public static interface Callback extends MediaRouterJellybean.Callback { interface in MediaRouterJellybeanMr1 164 static class CallbackProxy<T extends Callback>
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
D | MediaRouterJellybeanMr1.java | 33 public static Object createCallback(Callback callback) { in createCallback() 34 return new CallbackProxy<Callback>(callback); in createCallback() 47 public static interface Callback extends MediaRouterJellybean.Callback { interface in MediaRouterJellybeanMr1 164 static class CallbackProxy<T extends Callback>
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorToolbar.java | 47 void setWindowCallback(Window.Callback cb); in setWindowCallback() 71 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu() 102 void setMenuCallbacks(MenuPresenter.Callback presenterCallback, in setMenuCallbacks() 103 MenuBuilder.Callback menuBuilderCallback); in setMenuCallbacks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | LocationTile.java | 35 private final Callback mCallback = new Callback(); 98 private final class Callback implements LocationSettingsChangeCallback, class in LocationTile 99 KeyguardMonitor.Callback {
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 65 private Callback mCurrentCallback = null; 110 mCurrentCallback = new Callback(listener); in dispatchStartListening() 194 protected abstract void onStartListening(Intent recognizerIntent, Callback listener); in onStartListening() 199 protected abstract void onCancel(Callback listener); in onCancel() 206 protected abstract void onStopListening(Callback listener); in onStopListening() 228 public class Callback { class in RecognitionService 231 private Callback(IRecognitionListener listener) { in Callback() method in RecognitionService.Callback
|