Home
last modified time | relevance | path

Searched refs:constr (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DTestUtils.java70 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
71 constr.setAccessible(true); in createSensor()
72 Sensor sensor = constr.newInstance(); in createSensor()
79 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
80 constr.setAccessible(true); in createSensor()
81 Sensor sensor = constr.newInstance(); in createSensor()
DBrightnessTrackerTest.java918 Constructor<SensorEvent> constr = in createSensorEvent() local
920 constr.setAccessible(true); in createSensorEvent()
921 event = constr.newInstance(1); in createSensorEvent()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeSensorManager.java209 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
210 constr.setAccessible(true); in createSensor()
211 Sensor sensor = constr.newInstance(); in createSensor()
280 Constructor<SensorEvent> constr = in createSensorEvent() local
282 constr.setAccessible(true); in createSensorEvent()
283 event = constr.newInstance(valuesSize); in createSensorEvent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DFaceDownDetectorTest.java275 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
276 constr.setAccessible(true); in createSensor()
277 Sensor sensor = constr.newInstance(); in createSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java625 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
626 constr.setAccessible(true); in createSensor()
627 Sensor sensor = constr.newInstance(); in createSensor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java1476 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() local
1477 constr.setAccessible(true); in createSensor()
1478 Sensor sensor = constr.newInstance(); in createSensor()