Home
last modified time | relevance | path

Searched refs:SENSOR (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DEllipseOverlapDetectorTest.kt40 whenEver(underTest.calculateSensorPoints(SENSOR)) in <lambda>()
41 .thenReturn(listOf(Point(SENSOR.centerX(), SENSOR.centerY()))) in <lambda>()
53 val actual = underTest.isGoodOverlap(touchData, SENSOR) in <lambda>()
72 innerXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()), in <lambda>()
73 innerYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY()), in <lambda>()
74 outerXs = listOf(SENSOR.left - 1, SENSOR.right + 1), in <lambda>()
75 outerYs = listOf(SENSOR.top - 1, SENSOR.bottom + 1), in <lambda>()
81 innerXs = listOf(SENSOR.left, SENSOR.right), in <lambda>()
82 innerYs = listOf(SENSOR.top, SENSOR.bottom), in <lambda>()
83 outerXs = listOf(SENSOR.left - 1, SENSOR.right + 1), in <lambda>()
[all …]
DBoundingBoxOverlapDetectorTest.kt36 val actual = underTest.isGoodOverlap(touchData, SENSOR) in <lambda>()
49 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()), in <lambda>()
50 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY()) in <lambda>()
53 invalidXs = listOf(SENSOR.left - 1, SENSOR.right + 1), in <lambda>()
54 invalidYs = listOf(SENSOR.top - 1, SENSOR.bottom + 1), in <lambda>()
55 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()), in <lambda>()
56 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY()) in <lambda>()
84 private val SENSOR = Rect(100 /* left */, 200 /* top */, 300 /* right */, 500 /* bottom */) constant
DNormalizedTouchDataTest.kt19 val actual = touchData.isWithinSensor(SENSOR) in <lambda>()
32 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()), in <lambda>()
33 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY()) in <lambda>()
36 invalidXs = listOf(SENSOR.left - 1, SENSOR.right + 1), in <lambda>()
37 invalidYs = listOf(SENSOR.top - 1, SENSOR.bottom + 1), in <lambda>()
38 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()), in <lambda>()
39 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY()) in <lambda>()
67 private val SENSOR = Rect(100 /* left */, 200 /* top */, 300 /* right */, 500 /* bottom */) constant
/frameworks/base/services/core/java/com/android/server/lights/
DLogicalLight.java50 public static final int BRIGHTNESS_MODE_SENSOR = Brightness.SENSOR;
/frameworks/native/libs/ui/include/ui/fuzzer/
DFuzzableDataspaces.h71 ui::Dataspace::SENSOR,
/frameworks/native/services/surfaceflinger/tests/
DCommonTypes_test.cpp183 static_assert(static_cast<uint32_t>(AidlDataspace::SENSOR) ==
184 static_cast<uint32_t>(HidlDataspace::SENSOR));
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp60 brightness != static_cast<jint>(Brightness::SENSOR) && in validate()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsStopwatchTimerTest.java38 null, BatteryStats.SENSOR, null, timeBase); in testCount()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.h39 SENSOR, enumerator
DEntry.cpp276 : EventEntry(id, Type::SENSOR, eventTime, policyFlags), in SensorEntry()
DInputDispatcher.cpp452 case EventEntry::Type::SENSOR: in isUserActivityEvent()
885 case EventEntry::Type::SENSOR: { in dispatchOnceInnerLocked()
1041 case EventEntry::Type::SENSOR: in enqueueInboundEventLocked()
1054 if (entry->type != EventEntry::Type::SENSOR) { in addRecentEventLocked()
1167 case EventEntry::Type::SENSOR: { in dropInboundEventLocked()
1626 if (entry->type == EventEntry::Type::SENSOR) { in flushSensor()
1831 case EventEntry::Type::SENSOR: in getTargetDisplayId()
3108 case EventEntry::Type::SENSOR: { in enqueueDispatchEntryLocked()
3348 case EventEntry::Type::SENSOR: { in startDispatchCycleLocked()
3668 case EventEntry::Type::SENSOR: { in synthesizeCancelationEventsForConnectionLocked()
[all …]
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp87 proto->write(SensorProto::SENSOR, i.first); in dump()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp335 if (deviceClasses.test(InputDeviceClass::SENSOR)) { in getAbsAxisUsage()
343 return InputDeviceClass::SENSOR; in getAbsAxisUsage()
441 if (classes.test(InputDeviceClass::SENSOR)) { in configureFd()
2127 device->classes |= InputDeviceClass::SENSOR; in openDeviceLocked()
2158 InputDeviceClass::SENSOR)) { in openDeviceLocked()
DInputDevice.cpp219 if (classes.test(InputDeviceClass::SENSOR)) { in addEventHubDevice()
DInputReader.cpp222 if (mEventHub->getDeviceClasses(eventHubId).test(InputDeviceClass::SENSOR)) { in addDeviceLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp137 .test(InputDeviceClass::SENSOR))) { in configure()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DPersistedState.java359 dumpStream.write("sensor", SensorPrivacySensorProto.SENSOR, sensor); in dump()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp58 static_assert(static_cast<common::Source>(AINPUT_SOURCE_SENSOR) == common::Source::SENSOR); in getSource()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h130 SENSOR = 0x00002000, enumerator
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1695 InputDeviceClass::KEYBOARD | InputDeviceClass::SENSOR, in TEST_F()
3234 void SetUp() override { InputMapperTest::SetUp(DEVICE_CLASSES | InputDeviceClass::SENSOR); } in SetUp()
/frameworks/base/core/java/android/os/
DBatteryStats.java114 public static final int SENSOR = 3; field in BatteryStats
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12200 t = new DualTimer(mBsi.mClock, this, BatteryStats.SENSOR, timers, in getSensorTimerLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35349 Landroid/os/BatteryStats;->SENSOR:I