Searched refs:setSensorField (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 215 setSensorField(sensor, "mStringType", stringType); in createSensor() 217 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 218 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 219 setSensorField(sensor, "mVersion", 1); in createSensor() 220 setSensorField(sensor, "mHandle", -1); in createSensor() 221 setSensorField(sensor, "mMaxRange", 10); in createSensor() 222 setSensorField(sensor, "mResolution", 1); in createSensor() 223 setSensorField(sensor, "mPower", 1); in createSensor() 224 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 225 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 1481 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 1482 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 1483 setSensorField(sensor, "mVersion", 1); in createSensor() 1484 setSensorField(sensor, "mHandle", -1); in createSensor() 1485 setSensorField(sensor, "mMaxRange", 10); in createSensor() 1486 setSensorField(sensor, "mResolution", 1); in createSensor() 1487 setSensorField(sensor, "mPower", 1); in createSensor() 1488 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 1489 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() 1490 setSensorField(sensor, "mFlags", 0); in createSensor() [all …]
|