Searched refs:setSensorField (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 209 setSensorField(sensor, "mStringType", stringType); in createSensor() 211 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 212 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 213 setSensorField(sensor, "mVersion", 1); in createSensor() 214 setSensorField(sensor, "mHandle", -1); in createSensor() 215 setSensorField(sensor, "mMaxRange", 10); in createSensor() 216 setSensorField(sensor, "mResolution", 1); in createSensor() 217 setSensorField(sensor, "mPower", 1); in createSensor() 218 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 219 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 813 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor() 814 setSensorField(sensor, "mVendor", "Mock Vendor"); in createSensor() 815 setSensorField(sensor, "mVersion", 1); in createSensor() 816 setSensorField(sensor, "mHandle", -1); in createSensor() 817 setSensorField(sensor, "mMaxRange", 10); in createSensor() 818 setSensorField(sensor, "mResolution", 1); in createSensor() 819 setSensorField(sensor, "mPower", 1); in createSensor() 820 setSensorField(sensor, "mMinDelay", 1000); in createSensor() 821 setSensorField(sensor, "mMaxDelay", 1000000000); in createSensor() 822 setSensorField(sensor, "mFlags", 0); in createSensor() [all …]
|