Searched refs:ProximityActiveListener (Results 1 – 8 of 8) sorted by relevance
19 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 {
37 @NonNull ProximityActiveListener listener); in addProximityActiveListener()43 public abstract void removeProximityActiveListener(@NonNull ProximityActiveListener listener); in removeProximityActiveListener()48 public interface ProximityActiveListener { interface in SensorManagerInternal
92 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;
1629 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()
48 class ProximityActiveListenerDelegate : public SensorService::ProximityActiveListener {
79 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()
62 import com.android.server.sensors.SensorManagerInternal.ProximityActiveListener;2131 private static final class SensorObserver implements ProximityActiveListener,
37760 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V37766 …il/concurrent/Executor;Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;)V37767 …enerProxy(Z)V+]Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;Lcom/andr…55581 Lcom/android/server/sensors/SensorManagerInternal$ProximityActiveListener;