Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/sensors/
DSensorService.java19 import static com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
42 private final ArrayMap<ProximityActiveListener, ProximityListenerProxy> mProximityListeners =
53 private static native long startSensorServiceNative(ProximityActiveListener listener); in startSensorServiceNative()
133 @NonNull ProximityActiveListener listener) { in addProximityActiveListener()
149 public void removeProximityActiveListener(@NonNull ProximityActiveListener listener) { in removeProximityActiveListener()
164 private static class ProximityListenerProxy implements ProximityActiveListener {
166 private final ProximityActiveListener mListener;
168 ProximityListenerProxy(Executor executor, ProximityActiveListener listener) { in ProximityListenerProxy()
179 private class ProximityListenerDelegate implements ProximityActiveListener {
DSensorManagerInternal.java39 @NonNull ProximityActiveListener listener); in addProximityActiveListener()
45 public abstract void removeProximityActiveListener(@NonNull ProximityActiveListener listener); in removeProximityActiveListener()
88 public interface ProximityActiveListener { interface in SensorManagerInternal
/frameworks/native/services/sensorservice/
DSensorService.h149 class ProximityActiveListener : public virtual RefBase {
178 const std::vector<sp<ProximityActiveListener>>& listeners);
192 status_t addProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
193 status_t removeProximityActiveListener(const sp<ProximityActiveListener>& callback) ANDROID_API;
603 std::vector<sp<ProximityActiveListener>> mProximityActiveListeners;
DSensorService.cpp1953 const std::vector<sp<ProximityActiveListener>>& listeners) { in notifyProximityStateLocked()
1965 status_t SensorService::addProximityActiveListener(const sp<ProximityActiveListener>& callback) { in addProximityActiveListener()
1980 std::vector<sp<ProximityActiveListener>> listener(1, callback); in addProximityActiveListener()
1986 const sp<ProximityActiveListener>& callback) { in removeProximityActiveListener()
/frameworks/base/services/core/java/com/android/server/display/mode/
DProximitySensorObserver.java33 SensorManagerInternal.ProximityActiveListener,
/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp67 class ProximityActiveListenerDelegate : public SensorService::ProximityActiveListener {
/frameworks/base/services/
Dproguard.flags79 …smodification class com.android.server.sensors.SensorManagerInternal$ProximityActiveListener { *; }
Dart-wear-profile1266 Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;
22701 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V
22708 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java100 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;
2613 ArgumentCaptor<ProximityActiveListener> ProximityCaptor = in testProximitySensorVoting()
2614 ArgumentCaptor.forClass(ProximityActiveListener.class); in testProximitySensorVoting()
2617 ProximityActiveListener proximityListener = ProximityCaptor.getValue(); in testProximitySensorVoting()