Home
last modified time | relevance | path

Searched refs:ProximityActiveListener (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/sensors/
DSensorService.java19 import static com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
40 private final ArrayMap<ProximityActiveListener, ProximityListenerProxy> mProximityListeners =
49 private static native long startSensorServiceNative(ProximityActiveListener listener); in startSensorServiceNative()
89 @NonNull ProximityActiveListener listener) { in addProximityActiveListener()
105 public void removeProximityActiveListener(@NonNull ProximityActiveListener listener) { in removeProximityActiveListener()
120 private static class ProximityListenerProxy implements ProximityActiveListener {
122 private final ProximityActiveListener mListener;
124 ProximityListenerProxy(Executor executor, ProximityActiveListener listener) { in ProximityListenerProxy()
135 private class ProximityListenerDelegate implements ProximityActiveListener {
DSensorManagerInternal.java37 @NonNull ProximityActiveListener listener); in addProximityActiveListener()
43 public abstract void removeProximityActiveListener(@NonNull ProximityActiveListener listener); in removeProximityActiveListener()
48 public interface ProximityActiveListener { interface in SensorManagerInternal
/frameworks/native/services/sensorservice/
DSensorService.h92 class ProximityActiveListener : public virtual RefBase {
107 void notifyProximityStateLocked(const std::vector<sp<ProximityActiveListener>>& listeners);
121 status_t addProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
122 status_t removeProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
501 std::vector<sp<ProximityActiveListener>> mProximityActiveListeners;
DSensorService.cpp1629 const std::vector<sp<ProximityActiveListener>>& listeners) { in notifyProximityStateLocked()
1642 status_t SensorService::addProximityActiveListener(const sp<ProximityActiveListener>& callback) { in addProximityActiveListener()
1657 std::vector<sp<ProximityActiveListener>> listener(1, callback); in addProximityActiveListener()
1663 const sp<ProximityActiveListener>& callback) { in removeProximityActiveListener()
/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp48 class ProximityActiveListenerDelegate : public SensorService::ProximityActiveListener {
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java79 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
1343 ArgumentCaptor<ProximityActiveListener> ProximityCaptor = in testProximitySensorVoting()
1344 ArgumentCaptor.forClass(ProximityActiveListener.class); in testProximitySensorVoting()
1347 ProximityActiveListener proximityListener = ProximityCaptor.getValue(); in testProximitySensorVoting()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java62 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
2131 private static final class SensorObserver implements ProximityActiveListener,
/frameworks/base/services/
Dart-profile37760 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V
37766 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V
37767 …enerProxy(Z)V+]Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;Lcom/andr…
55581 Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;