/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.h | 35 class Callback { 37 Callback() = default; 38 virtual ~Callback(); 42 Callback(Callback const&) = delete; 43 Callback& operator=(Callback const&) = delete; 57 virtual status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 59 virtual status_t removeEventListener(Callback* callback, nsecs_t* outLastCallback) = 0; 60 virtual status_t changePhaseOffset(Callback* callback, nsecs_t phase) = 0; 154 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 163 status_t removeEventListener(Callback* callback, nsecs_t* outLastCallbackTime) override; [all …]
|
D | DispSyncSource.cpp | 43 static_cast<DispSync::Callback*>(this), in setVSyncEnabled() 50 status_t err = mDispSync->removeEventListener(static_cast<DispSync::Callback*>(this), in setVSyncEnabled() 60 void DispSyncSource::setCallback(VSyncSource::Callback* callback) { in setCallback() 84 mDispSync->changePhaseOffset(static_cast<DispSync::Callback*>(this), mPhaseOffset); in setPhaseOffset() 91 VSyncSource::Callback* callback; in onDispSyncEvent()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | RemoteConference.java | 47 public abstract static class Callback { class in RemoteConference 137 private final Set<CallbackRecord<Callback>> mCallbackRecords = new CopyOnWriteArraySet<>(); 167 for (CallbackRecord<Callback> record : mCallbackRecords) { in setDestroyed() 169 final Callback callback = record.getCallback(); in setDestroyed() 192 for (CallbackRecord<Callback> record : mCallbackRecords) { in setState() 194 final Callback callback = record.getCallback(); in setState() 210 for (CallbackRecord<Callback> record : mCallbackRecords) { in addConnection() 212 final Callback callback = record.getCallback(); in addConnection() 228 for (CallbackRecord<Callback> record : mCallbackRecords) { in removeConnection() 230 final Callback callback = record.getCallback(); in removeConnection() [all …]
|
D | RemoteConnection.java | 53 public static abstract class Callback { class in RemoteConnection 286 public abstract static class Callback { class in RemoteConnection.VideoProvider 384 for (Callback l : mCallbacks) { 392 for (Callback l : mCallbacks) { 403 for (Callback l : mCallbacks) { 410 for (Callback l : mCallbacks) { 417 for (Callback l : mCallbacks) { 425 for (Callback l : mCallbacks) { 432 for (Callback l : mCallbacks) { 457 private final Set<Callback> mCallbacks = Collections.newSetFromMap( [all …]
|
D | Call.java | 1010 public static abstract class Callback { class in Call 1398 public static abstract class Listener extends Callback { } 1406 private final List<CallbackRecord<Callback>> mCallbackRecords = new CopyOnWriteArrayList<>(); 1922 public void registerCallback(Callback callback) { in registerCallback() 1932 public void registerCallback(Callback callback, Handler handler) { in registerCallback() 1936 mCallbackRecords.add(new CallbackRecord<Callback>(callback, handler)); in registerCallback() 1945 public void unregisterCallback(Callback callback) { in unregisterCallback() 1948 for (CallbackRecord<Callback> record : mCallbackRecords) { in unregisterCallback() 2201 for (CallbackRecord<Callback> record : mCallbackRecords) { in internalOnRttUpgradeRequest() 2203 final Callback callback = record.getCallback(); in internalOnRttUpgradeRequest() [all …]
|
/frameworks/base/location/java/android/location/ |
D | GnssNavigationMessageCallbackTransport.java | 28 extends LocalListenerHelper<GnssNavigationMessage.Callback> { 55 ListenerOperation<GnssNavigationMessage.Callback> operation = in onGnssNavigationMessageReceived() 56 new ListenerOperation<GnssNavigationMessage.Callback>() { in onGnssNavigationMessageReceived() 58 public void execute(GnssNavigationMessage.Callback callback) in onGnssNavigationMessageReceived() 68 ListenerOperation<GnssNavigationMessage.Callback> operation = in onStatusChanged() 69 new ListenerOperation<GnssNavigationMessage.Callback>() { in onStatusChanged() 71 public void execute(GnssNavigationMessage.Callback callback) in onStatusChanged()
|
D | GnssMeasurementCallbackTransport.java | 30 extends LocalListenerHelper<GnssMeasurementsEvent.Callback> { 73 ListenerOperation<GnssMeasurementsEvent.Callback> operation = in onGnssMeasurementsReceived() 74 new ListenerOperation<GnssMeasurementsEvent.Callback>() { in onGnssMeasurementsReceived() 76 public void execute(GnssMeasurementsEvent.Callback callback) in onGnssMeasurementsReceived() 86 ListenerOperation<GnssMeasurementsEvent.Callback> operation = in onStatusChanged() 87 new ListenerOperation<GnssMeasurementsEvent.Callback>() { in onStatusChanged() 89 public void execute(GnssMeasurementsEvent.Callback callback) in onStatusChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImplTest.java | 20 import com.android.systemui.statusbar.policy.CastController.Callback; 59 Callback mockCallback = mock(Callback.class); in testAddCallback() 67 Callback mockCallback = mock(Callback.class); in testRemoveCallback() 78 Callback mockCallback = mock(Callback.class); in testRemoveCallbackFromEmptyList() 90 Callback[] callbackList = new Callback[callbackCount]; in testAddCallbackRemoveCallback_concurrently() 94 callbackList[cbIndex] = mock(Callback.class); in testAddCallbackRemoveCallback_concurrently() 97 final Callback mCallback = callbackList[i / 2]; in testAddCallbackRemoveCallback_concurrently()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 148 any(KernelCpuUidUserSysTimeReader.Callback.class)); in testUpdateCpuTimeLocked() 153 any(KernelCpuUidFreqTimeReader.Callback.class)); in testUpdateCpuTimeLocked() 155 any(KernelCpuUidActiveTimeReader.Callback.class)); in testUpdateCpuTimeLocked() 157 any(KernelCpuUidClusterTimeReader.Callback.class)); in testUpdateCpuTimeLocked() 261 final KernelCpuUidUserSysTimeReader.Callback<long[]> callback = in testReadKernelUidCpuTimesLocked() 262 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked() 268 any(KernelCpuUidUserSysTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked() 296 final KernelCpuUidUserSysTimeReader.Callback<long[]> callback = in testReadKernelUidCpuTimesLocked() 297 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked() 303 any(KernelCpuUidUserSysTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked() [all …]
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 50 private final Map<Callback, CallbackRecord> mCallbacks; 54 mCallbacks = new ArrayMap<Callback, CallbackRecord>(); in MediaProjection() 73 public void registerCallback(Callback callback, Handler handler) { in registerCallback() 89 public void unregisterCallback(Callback callback) { in unregisterCallback() 101 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() 135 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() 163 public static abstract class Callback { class in MediaProjection 184 private final Callback mCallback; 187 public CallbackRecord(Callback callback, Handler handler) { in CallbackRecord()
|
D | MediaProjectionManager.java | 57 private Map<Callback, CallbackDelegate> mCallbacks; 137 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) { in addCallback() 154 public void removeCallback(@NonNull Callback callback) { in removeCallback() 169 public static abstract class Callback { class in MediaProjectionManager 176 private Callback mCallback; 179 public CallbackDelegate(Callback callback, Handler handler) { in CallbackDelegate()
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 58 /*package*/ ArrayMap<IBinder, Callback> mCallbacks 59 = new ArrayMap<IBinder, Callback>(); 65 private final class Callback implements IBinder.DeathRecipient { class in RemoteCallbackList 69 Callback(E callback, Object cookie) { in Callback() method in RemoteCallbackList.Callback 125 Callback cb = new Callback(callback, cookie); in register() 154 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() 174 Callback cb = mCallbacks.valueAt(cbi); in kill() 282 return ((Callback)mActiveBroadcast[index]).mCallback; in getBroadcastItem() 292 return ((Callback)mActiveBroadcast[index]).mCookie; in getBroadcastCookie()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | VolumeDialog.java | 17 import com.android.systemui.plugins.VolumeDialog.Callback; 26 @DependsOn(target = Callback.class) 31 void init(int windowType, Callback callback); in init() 35 public interface Callback { interface
|
/frameworks/opt/gamesdk/src/swappy/ |
D | ChoreographerThread.h | 37 using Callback = std::function<void()>; variable 40 Type type, JavaVM *vm, Callback onChoreographer); 47 ChoreographerThread(Callback onChoreographer); 53 Callback mCallback;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeKeyguardMonitor.java | 23 private final BaseLeakChecker<Callback> mCallbackController; 26 mCallbackController = new BaseLeakChecker<Callback>(test, "keyguard"); in FakeKeyguardMonitor() 30 public void addCallback(Callback callback) { in addCallback() 35 public void removeCallback(Callback callback) { in removeCallback()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanScanner.java | 49 public abstract static class Callback { class in LowpanScanner 60 private Callback mCallback = null; 72 public synchronized void setCallback(@Nullable Callback cb, @Nullable Handler handler) { in setCallback() 78 public void setCallback(@Nullable Callback cb) { in setCallback() 177 Callback callback; in startNetScan() 199 Callback callback; in startNetScan() 259 Callback callback = mCallback; in startEnergyScan() 285 Callback callback = mCallback; in startEnergyScan()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 102 struct Callback { struct 103 explicit Callback(const ACameraManager_AvailabilityCallbacks *callback) : in Callback() function 109 explicit Callback(const ACameraManager_ExtendedAvailabilityCallbacks *callback) : in Callback() function 115 bool operator == (const Callback& other) const { 121 bool operator != (const Callback& other) const { 124 bool operator < (const Callback& other) const { 133 bool operator > (const Callback& other) const { 141 std::set<Callback> mCallbacks; argument
|
/frameworks/base/core/java/android/companion/ |
D | CompanionDeviceManager.java | 76 public abstract static class Callback { class in CompanionDeviceManager 139 @NonNull Callback callback, in associate() 271 private Callback mCallback; 277 private CallbackProxy(AssociationRequest request, Callback callback, Handler handler) { in CallbackProxy() 286 lockAndPost(Callback::onDeviceFound, launcher.getIntentSender()); in onSuccess() 291 lockAndPost(Callback::onFailure, reason); in onFailure() 294 <T> void lockAndPost(BiConsumer<Callback, T> action, T payload) { in lockAndPost() argument 298 Callback callback = null; in lockAndPost()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 33 import com.android.systemui.statusbar.policy.HotspotController.Callback; 127 private final ManagedProfileController.Callback mProfileCallback = 128 new ManagedProfileController.Callback() { 157 private final HotspotController.Callback mHotspotCallback = new Callback() { 170 final NightDisplayListener.Callback mNightDisplayCallback = 171 new NightDisplayListener.Callback() { 196 final CastController.Callback mCastCallback = new CastController.Callback() {
|
D | ManagedProfileController.java | 17 import com.android.systemui.statusbar.phone.ManagedProfileController.Callback; 20 public interface ManagedProfileController extends CallbackController<Callback> { 28 public interface Callback { interface
|
/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/base/core/java/android/view/ |
D | SurfaceHolder.java | 69 public interface Callback { interface 110 public interface Callback2 extends Callback { 155 public void addCallback(Callback callback); in addCallback() 162 public void removeCallback(Callback callback); in removeCallback()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.h | 45 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 47 status_t removeEventListener(Callback* callback, nsecs_t* outLastCallback) override; 48 status_t changePhaseOffset(Callback* callback, nsecs_t phase) override; 56 Callback* callback = nullptr;
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
D | AssistRecognitionService.java | 28 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening() 32 protected void onCancel(Callback listener) { in onCancel() 36 protected void onStopListening(Callback listener) { in onStopListening()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsController.java | 32 interface Callback { interface 45 void addCallback(int[] opsCodes, Callback cb); in addCallback() 56 void removeCallback(int[] opsCodes, Callback cb); in removeCallback()
|