/frameworks/native/services/sensorservice/ |
D | SensorList.cpp | 34 if (handle == si->getSensor().getHandle() && in add() 56 handle, [] (const Entry& e) -> String8 {return e.si->getSensor().getName();}, in getName() 62 handle, [] (const Entry& e) -> String8 {return e.si->getSensor().getStringType();}, in getStringType() 82 if (!e.isForDebug && !e.si->getSensor().isDynamicSensor()) { in getUserSensors() 83 sensors.add(e.si->getSensor()); in getUserSensors() 95 if (!e.si->getSensor().isDynamicSensor()) { in getUserDebugSensors() 96 sensors.add(e.si->getSensor()); in getUserDebugSensors() 108 if (!e.isForDebug && e.si->getSensor().isDynamicSensor()) { in getDynamicSensors() 109 sensors.add(e.si->getSensor()); in getDynamicSensors() 122 sensors.add(e.si->getSensor()); in getVirtualSensors()
|
D | SensorInterface.h | 44 virtual const Sensor& getSensor() const = 0; 70 virtual const Sensor& getSensor() const override { return mSensor; } in getSensor() function
|
D | SensorService.cpp | 347 int handle = s->getSensor().getHandle(); in registerSensor() 348 int type = s->getSensor().getType(); in registerSensor() 351 return s->getSensor(); in registerSensor() 472 if (privileged || s->getSensor().getRequiredPermission().isEmpty()) { in dump() 478 result.appendFormat("%s: ", s->getSensor().getName().string()); in dump() 590 i.second->setFormat(privileged || s->getSensor().getRequiredPermission().isEmpty() ? in dumpProtoLocked() 594 std::string(s->getSensor().getName().string())); in dumpProtoLocked() 891 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked() 1183 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent() 1693 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable() [all …]
|
D | SensorEventConnection.cpp | 166 !canAccessSensor(si->getSensor(), "Add to SensorEventConnection: ", mOpPackageName) || in addSensor() 206 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors() 249 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked() 566 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked() 694 const Sensor& s = si->getSensor(); in enableDisable() 734 const Sensor& s = si->getSensor(); in setEventRate() 862 sensor_event.type = si->getSensor().getType(); in handleEvent() 910 const Sensor& sensor = si->getSensor(); in computeMaxCacheSizeLocked()
|
D | LinearAccelerationSensor.cpp | 34 const Sensor &gsensor = mGravitySensor.getSensor(); in LinearAccelerationSensor()
|
D | SensorList.h | 113 forEachEntry([&f] (const Entry& e) -> bool { return f(e.si->getSensor());}); in forEachSensor()
|
D | SensorDirectConnection.cpp | 160 const Sensor& s = si->getSensor(); in configureChannel() 234 const Sensor& s = si->getSensor(); in capRates()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | AsyncSensorManagerTest.java | 63 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in registerListenerImpl() 74 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withNullSensor() 86 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withSensor() 87 mAsyncSensorManager.unregisterListener(mListener, mSensor.getSensor()); in unregisterListenerImpl_withSensor()
|
D | ThresholdSensorImplTest.java | 64 .setSensor(mFakeProximitySensor.getSensor()) in setUp() 65 .setThresholdValue(mFakeProximitySensor.getSensor().getMaximumRange()) in setUp() 320 .setSensor(sensor.getSensor()) in testHysteresis()
|
D | FakeSensorManager.java | 245 sendSensorEvent(far ? getSensor().getMaximumRange() : 0); in sendProximityResult() 259 public Sensor getSensor() { in getSensor() method in FakeSensorManager.FakeGenericSensor
|
/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/services/core/xsd/device-state-config/schema/ |
D | current.txt | 7 …le public java.util.List<com.android.server.policy.devicestate.config.SensorCondition> getSensor();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 105 mTapSensor = mSensors.getFakeTapSensor().getSensor(); in setupDozeTriggers()
|
D | DozeScreenBrightnessTest.java | 111 Optional.of(mSensor.getSensor()), mDozeHost, null /* handler */, in setUp()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DeviceStateProviderImpl.java | 218 List<SensorCondition> sensorConditions = conditions.getSensor(); in setStateConditions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSensors.java | 589 .append(event.getSensor()).append(',') in triggerEventToString()
|