/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() 84 sensors.add(e.si->getSensor()); in getUserSensors() 96 if (!e.si->getSensor().isDynamicSensor() in getUserDebugSensors() 98 sensors.add(e.si->getSensor()); in getUserDebugSensors() 110 if (!e.isForDebug && e.si->getSensor().isDynamicSensor() in getDynamicSensors() 112 sensors.add(e.si->getSensor()); in getDynamicSensors() 125 sensors.add(e.si->getSensor()); in getVirtualSensors() [all …]
|
D | SensorEventConnection.cpp | 165 !mService->canAccessSensor(si->getSensor(), "Add to SensorEventConnection: ", in addSensor() 206 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors() 249 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked() 570 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked() 698 const Sensor& s = si->getSensor(); in enableDisable() 738 const Sensor& s = si->getSensor(); in setEventRate() 871 sensor_event.type = si->getSensor().getType(); in handleEvent() 919 const Sensor& sensor = si->getSensor(); in computeMaxCacheSizeLocked()
|
D | SensorService.cpp | 360 const int handle = s->getSensor().getHandle(); in onFirstRef() 540 const int handle = s->getSensor().getHandle(); in registerSensor() 541 const int type = s->getSensor().getType(); in registerSensor() 631 if (privileged || s->getSensor().getRequiredPermission().empty()) { in dump() 637 result.appendFormat("%s: ", s->getSensor().getName().c_str()); in dump() 761 i.second->setFormat(privileged || s->getSensor().getRequiredPermission().empty() ? in dumpProtoLocked() 765 std::string(s->getSensor().getName().c_str())); in dumpProtoLocked() 1054 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked() 1435 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent() 1573 addSensorIfAccessible(opPackageName, e.si->getSensor(), accessibleSensorList); in getRuntimeSensorList() [all …]
|
D | SensorInterface.h | 44 virtual const Sensor& getSensor() const = 0; 67 virtual const Sensor& getSensor() const override { return mSensor; } in getSensor() function
|
D | LinearAccelerationSensor.cpp | 34 const Sensor &gsensor = mGravitySensor.getSensor(); in LinearAccelerationSensor()
|
D | SensorDirectConnection.cpp | 159 const Sensor& s = si->getSensor(); in configureChannel() 231 const Sensor& s = si->getSensor(); in capRates()
|
D | SensorList.h | 112 forEachEntry([&f] (const Entry& e) -> bool { return f(e.si->getSensor());}); in forEachSensor()
|
/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 | 65 .setSensor(mFakeProximitySensor.getSensor()) in setUp() 66 .setThresholdValue(mFakeProximitySensor.getSensor().getMaximumRange()) in setUp() 321 .setSensor(sensor.getSensor()) in testHysteresis()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 130 new Optional[]{Optional.of(mSensor.getSensor())}, in setUp() 320 Optional.of(mSensor.getSensor()) /* closed */, in testSensorsSupportPostures_closed() 321 Optional.of(mSensorInner.getSensor()) /* half-opened */, in testSensorsSupportPostures_closed() 322 Optional.of(mSensorInner.getSensor()) /* opened */, in testSensorsSupportPostures_closed() 359 Optional.of(mSensor.getSensor()) /* closed */, in testSensorsSupportPostures_open() 360 Optional.of(mSensorInner.getSensor()) /* half-opened */, in testSensorsSupportPostures_open() 361 Optional.of(mSensorInner.getSensor()) /* opened */, in testSensorsSupportPostures_open() 402 Optional.of(mSensor.getSensor()) /* closed */, in testSensorsSupportPostures_swapPostures() 403 Optional.of(mSensorInner.getSensor()) /* half-opened */, in testSensorsSupportPostures_swapPostures() 404 Optional.of(mSensorInner.getSensor()) /* opened */, in testSensorsSupportPostures_swapPostures()
|
D | DozeTriggersTest.java | 135 mTapSensor = mSensors.getFakeTapSensor().getSensor(); in setupDozeTriggers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/ |
D | SensorTest.java | 150 final Sensor sensor = getSensor(); in onBinderDied_noErrorOnNullClient() 169 final Sensor sensor = getSensor(); in onBinderDied_cancelNonInterruptableClient() 191 private Sensor getSensor() { in getSensor() method in SensorTest
|
/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/utils/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 251 sendSensorEvent(far ? getSensor().getMaximumRange() : 0); in sendProximityResult() 265 public Sensor getSensor() { in getSensor() method in FakeSensorManager.FakeGenericSensor
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | SensorTest.java | 162 final Sensor sensor = getSensor(); in onBinderDied_cancelNonInterruptableClient() 184 private Sensor getSensor() { in getSensor() method in SensorTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | IndividualSensorPrivacyControllerImpl.java | 61 params.getSensor(), params.getToggleType(), params.isEnabled()); in init()
|
/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/core/java/android/hardware/ |
D | SensorPrivacyManager.java | 306 public @Sensors.Sensor int getSensor() { in getSensor() method in SensorPrivacyManager.OnSensorPrivacyChangedListener.SensorPrivacyChangedParams 528 if (params.getSensor() == sensor) { in addSensorPrivacyListener()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DeviceStateProviderImpl.java | 405 List<SensorCondition> sensorConditions = conditions.getSensor(); in setStateConditions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSensors.java | 825 .append(event.getSensor()).append(',') in triggerEventToString()
|
/frameworks/base/core/api/ |
D | system-current.txt | 4870 method public int getSensor();
|