Searched refs:setSensorField (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 194 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 195 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 196 setSensorField(sensor, "mVersion", 1); in createSensor() 197 setSensorField(sensor, "mHandle", -1); in createSensor() 198 setSensorField(sensor, "mMaxRange", 10); in createSensor() 199 setSensorField(sensor, "mResolution", 1); in createSensor() 200 setSensorField(sensor, "mPower", 1); in createSensor() 201 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 202 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() 203 setSensorField(sensor, "mFlags", 0); in createSensor() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 737 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 738 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 739 setSensorField(sensor, "mVersion", 1); in createSensor() 740 setSensorField(sensor, "mHandle", -1); in createSensor() 741 setSensorField(sensor, "mMaxRange", 10); in createSensor() 742 setSensorField(sensor, "mResolution", 1); in createSensor() 743 setSensorField(sensor, "mPower", 1); in createSensor() 744 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 745 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() 746 setSensorField(sensor, "mFlags", 0); in createSensor() [all …]
|