Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/sensors/
H A 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 {
H A DSensorManagerInternal.java37 @NonNull ProximityActiveListener listener); in addProximityActiveListener()
43 public abstract void removeProximityActiveListener(@NonNull ProximityActiveListener listener); in removeProximityActiveListener()
48 public interface ProximityActiveListener { interface in SensorManagerInternal
/aosp12/frameworks/native/services/sensorservice/
H A DSensorService.h92 class ProximityActiveListener : public virtual RefBase {
108 const std::vector<sp<ProximityActiveListener>>& listeners);
122 status_t addProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
123 status_t removeProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
505 std::vector<sp<ProximityActiveListener>> mProximityActiveListeners;
H A DSensorService.cpp1622 const std::vector<sp<ProximityActiveListener>>& listeners) { in notifyProximityStateLocked()
1634 status_t SensorService::addProximityActiveListener(const sp<ProximityActiveListener>& callback) { in addProximityActiveListener()
1649 std::vector<sp<ProximityActiveListener>> listener(1, callback); in addProximityActiveListener()
1655 const sp<ProximityActiveListener>& callback) { in removeProximityActiveListener()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_sensor_SensorService.cpp48 class ProximityActiveListenerDelegate : public SensorService::ProximityActiveListener {
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DDisplayModeDirectorTest.java87 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
1375 ArgumentCaptor<ProximityActiveListener> ProximityCaptor = in testProximitySensorVoting()
1376 ArgumentCaptor.forClass(ProximityActiveListener.class); in testProximitySensorVoting()
1379 ProximityActiveListener proximityListener = ProximityCaptor.getValue(); in testProximitySensorVoting()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayModeDirector.java70 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
2175 private static final class SensorObserver implements ProximityActiveListener,
/aosp12/frameworks/base/services/
H A 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;