Searched refs:ProximitySensor (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 90 ProximitySensor::ProximitySensor(const sensor_t& sensor, SensorService& service) in ProximitySensor() function in android::ProximitySensor 94 status_t ProximitySensor::activate(void* ident, bool enabled) { in activate() 109 void ProximitySensor::willDisableAllSensors() { in willDisableAllSensors() 115 void ProximitySensor::didEnableAllSensors() { in didEnableAllSensors()
|
D | SensorInterface.h | 112 class ProximitySensor : public HardwareSensor { 114 explicit ProximitySensor(const sensor_t& sensor, SensorService& service);
|
D | SensorService.cpp | 207 registerSensor(new ProximitySensor(list[i], *this)); in onFirstRef()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | ProximityCheckTest.java | 52 private ProximitySensor.ProximityCheck mProximityCheck; 61 mProximityCheck = new ProximitySensor.ProximityCheck(mFakeProximitySensor, mFakeExecutor); in setUp() 70 mFakeProximitySensor.setLastEvent(new ProximitySensor.ThresholdSensorEvent(true, 0)); in testCheck() 106 mFakeProximitySensor.setLastEvent(new ProximitySensor.ThresholdSensorEvent(true, 0)); in testNotLoaded() 126 mFakeProximitySensor.setLastEvent(new ProximitySensor.ThresholdSensorEvent(true, 0)); in testProxDoesntCancelOthers()
|
D | ProximitySensorSingleTest.java | 46 private ProximitySensor mProximitySensor; 57 mProximitySensor = new ProximitySensor( in setUp() 218 public void onThresholdCrossed(ProximitySensor.ThresholdSensorEvent proximityEvent) { in testPreventRecursiveAlert()
|
D | FakeProximitySensor.java | 22 public class FakeProximitySensor extends ProximitySensor {
|
D | ProximitySensorDualTest.java | 44 private ProximitySensor mProximitySensor; 58 mProximitySensor = new ProximitySensor( in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | ProximitySensor.java | 57 public class ProximitySensor implements ThresholdSensor { class 110 public ProximitySensor( in ProximitySensor() method in ProximitySensor 335 private final ProximitySensor mSensor; 342 public ProximityCheck(ProximitySensor sensor, @Main DelayableExecutor delayableExecutor) { in ProximityCheck()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 54 import com.android.systemui.util.sensors.ProximitySensor; 81 private ProximitySensor.ProximityCheck mProximityCheck; 132 mProximitySensor.setLastEvent(new ProximitySensor.ThresholdSensorEvent(true, 1)); in testOnNotification_stillWorksAfterOneFailedProxCheck() 139 mProximitySensor.setLastEvent(new ProximitySensor.ThresholdSensorEvent(false, 2)); in testOnNotification_stillWorksAfterOneFailedProxCheck()
|
D | DozeSensorsTest.java | 51 import com.android.systemui.util.sensors.ProximitySensor; 87 private ProximitySensor mProximitySensor;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingCollectorImpl.java | 38 import com.android.systemui.util.sensors.ProximitySensor; 58 private final ProximitySensor mProximitySensor; 132 ProximitySensor proximitySensor, in FalsingCollectorImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 47 import com.android.systemui.util.sensors.ProximitySensor; 91 private final ProximitySensor.ProximityCheck mProxCheck; 178 ProximitySensor proximitySensor, ProximitySensor.ProximityCheck proxCheck, in DozeTriggers()
|
D | DozeSensors.java | 51 import com.android.systemui.util.sensors.ProximitySensor; 78 private final ProximitySensor mProximitySensor; 108 ProximitySensor proximitySensor, SecureSettings secureSettings, in DozeSensors()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingCollectorImplTest.java | 43 import com.android.systemui.util.sensors.ProximitySensor; 68 private ProximitySensor mProximitySensor;
|