/frameworks/native/services/sensorservice/ |
D | SensorList.cpp | 32 if (handle == si->getSensor().getHandle() && in add() 54 handle, [] (const Entry& e) -> String8 {return e.si->getSensor().getName();}, in getName() 74 if (!e.isForDebug && !e.si->getSensor().isDynamicSensor()) { in getUserSensors() 75 sensors.add(e.si->getSensor()); in getUserSensors() 87 if (!e.si->getSensor().isDynamicSensor()) { in getUserDebugSensors() 88 sensors.add(e.si->getSensor()); in getUserDebugSensors() 100 if (!e.isForDebug && e.si->getSensor().isDynamicSensor()) { in getDynamicSensors() 101 sensors.add(e.si->getSensor()); in getDynamicSensors() 114 sensors.add(e.si->getSensor()); in getVirtualSensors()
|
D | SensorService.cpp | 310 int handle = s->getSensor().getHandle(); in registerSensor() 311 int type = s->getSensor().getType(); in registerSensor() 314 return s->getSensor(); in registerSensor() 430 if (privileged || s->getSensor().getRequiredPermission().isEmpty()) { in dump() 436 result.appendFormat("%s: ", s->getSensor().getName().string()); in dump() 685 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked() 973 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent() 1397 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable() 1422 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable() 1433 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable() [all …]
|
D | SensorInterface.h | 43 virtual const Sensor& getSensor() const = 0; 66 virtual const Sensor& getSensor() const override { return mSensor; } in getSensor() function
|
D | SensorEventConnection.cpp | 117 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor() 148 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors() 192 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked() 488 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked() 677 sensor_event.type = si->getSensor().getType(); in handleEvent() 725 const Sensor& sensor = si->getSensor(); in computeMaxCacheSizeLocked()
|
D | LinearAccelerationSensor.cpp | 34 const Sensor &gsensor = mGravitySensor.getSensor(); in LinearAccelerationSensor()
|
D | SensorList.h | 110 forEachEntry([&f] (const Entry& e) -> bool { return f(e.si->getSensor());}); in forEachSensor()
|
D | SensorDirectConnection.cpp | 112 const Sensor& s = si->getSensor(); in configureChannel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | AsyncSensorManagerTest.java | 62 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in registerListenerImpl() 73 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withNullSensor() 85 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withSensor() 86 mAsyncSensorManager.unregisterListener(mListener, mSensor.getSensor()); in unregisterListenerImpl_withSensor()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | SensorManagerPlugin.java | 107 public Sensor getSensor() { in getSensor() method in SensorManagerPlugin.SensorEvent
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 241 sendSensorEvent(far ? getSensor().getMaximumRange() : 0); in sendProximityResult() 255 public Sensor getSensor() { in getSensor() method in FakeSensorManager.FakeGenericSensor
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 80 mTapSensor = mSensors.getFakeTapSensor().getSensor(); in setUp()
|
D | DozeScreenBrightnessTest.java | 73 mSensor.getSensor(), mHostFake, null /* handler */, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSensors.java | 577 .append(event.getSensor()).append(',') in triggerEventToString()
|