Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/frameworks/base/core/java/android/os/
DRemoteCallbackList.java50 /*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/
DKeyguardMonitor.java23 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
DZenModeControllerImpl.java52 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()
DHotspotController.java20 void addCallback(Callback callback); in addCallback()
21 void removeCallback(Callback callback); in removeCallback()
27 public interface Callback { interface
DCastController.java22 void addCallback(Callback callback); in addCallback()
23 void removeCallback(Callback callback); in removeCallback()
30 public interface Callback { interface
DZenModeController.java23 void addCallback(Callback callback); in addCallback()
24 void removeCallback(Callback callback); in removeCallback()
35 public static class Callback { class
DBluetoothController.java22 void addStateChangedCallback(Callback callback); in addStateChangedCallback()
23 void removeStateChangedCallback(Callback callback); in removeStateChangedCallback()
35 public interface Callback { interface
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java38 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 …]
DRemoteConnection.java46 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/
DMediaProjection.java52 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()
DMediaProjectionManager.java61 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/
DSurfaceHolder.java69 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()
DWindowCallbackWrapper.java29 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/
DBaseSurfaceHolder.java34 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/
DDispSync.h61 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);
DEventThread.h45 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/
DDozeHost.java25 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/
DSegmentedButtons.java37 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/
DVolumeProvider.java52 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/
DMainRecognitionService.java37 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/
DMediaRouterJellybeanMr1.java33 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/
DMediaRouterJellybeanMr1.java33 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/
DDecorToolbar.java47 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/
DLocationTile.java35 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/
DRecognitionService.java65 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

12345678910>>...14