/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSensorManagerTest.java | 63 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in registerListener() local 64 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL); in registerListener() 95 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldSendSensorEventToSingleRegisteredListener() local 96 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL); in shouldSendSensorEventToSingleRegisteredListener() 110 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldSendSensorEventToMultipleRegisteredListeners() local 111 sensorManager.registerListener(listener1, sensor, SensorManager.SENSOR_DELAY_NORMAL); in shouldSendSensorEventToMultipleRegisteredListeners() 112 sensorManager.registerListener(listener2, sensor, SensorManager.SENSOR_DELAY_NORMAL); in shouldSendSensorEventToMultipleRegisteredListeners() 125 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldNotSendSensorEventIfNoRegisteredListeners() local 156 Sensor sensor = ShadowSensor.newInstance(Sensor.TYPE_ACCELEROMETER); in getSensor_shouldBeConfigurable() local 157 shadowOf(sensorManager).addSensor(sensor); in getSensor_shouldBeConfigurable() [all …]
|
D | ShadowSensorTest.java | 18 Sensor sensor = ShadowSensor.newInstance(Sensor.TYPE_ACCELEROMETER); in getType() local 19 assertThat(sensor.getType()).isEqualTo(Sensor.TYPE_ACCELEROMETER); in getType() 25 Sensor sensor = ShadowSensor.newInstance(Sensor.TYPE_ACCELEROMETER); in getStringType() local 26 assertThat(sensor.getStringType()).isEqualTo(Sensor.STRING_TYPE_ACCELEROMETER); in getStringType()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSensorManager.java | 42 public void addSensor(int sensorType, Sensor sensor) { in addSensor() argument 43 sensorMap.put(sensorType, sensor); in addSensor() 47 public void addSensor(Sensor sensor) { in addSensor() argument 48 sensorMap.put(sensor.getType(), sensor); in addSensor() local 59 SensorEventListener listener, Sensor sensor, int rate, Handler handler) { in registerListener() argument 60 return registerListener(listener, sensor, rate); in registerListener() 64 protected boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { in registerListener() argument 75 protected void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener() argument
|
D | ShadowSensor.java | 19 Sensor sensor = Shadow.newInstanceOf(Sensor.class); in newInstance() local 21 Shadow.directlyOn(sensor, Sensor.class, "setType", ClassParameter.from(int.class, type)); in newInstance() 23 ReflectionHelpers.setField(Sensor.class, sensor, "mType", type); in newInstance() 25 return sensor; in newInstance()
|
/external/perfetto/test/trace_processor/ |
D | android_log_msgs.out | 24 "@ 1507.130: [VSC] Request sensor 65537, sample_duration 14 ms, report_duration 64 ms",1 25 "@ 1507.131: [VSC] Stopping sensor events for sensor 131074",1 28 "@ 1508.133: [VSC] Stopping sensor events for sensor 65537",1 29 "@ 1508.134: [VSC] Request sensor 65544, sample_duration 42 ms, report_duration 42 ms",1
|
/external/autotest/client/site_tests/hardware_Thermal/ |
D | control | 7 PURPOSE = 'Ensure the temp sensor is working.' 8 CRITERIA = 'Fails if the temp sensor is not in reasonable range.' 15 This is a hardware test for temp sensor. The test uses mosys to read temp 16 sensor value and check it's in reasonable range.
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SensorManagerFacade.java | 152 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ALL)) { in startSensingTimed() 153 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed() 158 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ACCELEROMETER)) { in startSensingTimed() 159 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed() 164 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_MAGNETIC_FIELD)) { in startSensingTimed() 165 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed() 170 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_LIGHT)) { in startSensingTimed() 171 mSensorManager.registerListener(mSensorListener, sensor, in startSensingTimed() 289 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 306 switch (event.sensor.getType()) { in onSensorChanged()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/thermal/tsens_threshold_hit/ |
D | format | 10 field:unsigned int sensor; offset:12; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/tsens_threshold_hit/ |
D | format | 10 field:unsigned int sensor; offset:16; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/thermal/tsens_threshold_clear/ |
D | format | 10 field:unsigned int sensor; offset:12; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/tsens_threshold_clear/ |
D | format | 10 field:unsigned int sensor; offset:16; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/tsens_read/ |
D | format | 10 field:unsigned int sensor; offset:16; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/thermal/tsens_read/ |
D | format | 10 field:unsigned int sensor; offset:12; size:4; signed:0; 12 print fmt: "temp=%lu sensor=tsens_tz_sensor%u", REC->temp, REC->sensor
|
/external/autotest/client/site_tests/hardware_LightSensor/ |
D | control | 9 Fails if the light sensor kernel module is not loaded, or its sys files 19 This tests the interface provided by the light sensor kernel module for 21 light-to-digital converters (ie, light sensor chips).
|
/external/u-boot/arch/arm/dts/ |
D | rk3288-thermal.dtsi | 14 /* sensor ID */ 23 /* sensor ID */ 63 /* sensor ID */
|
D | bcm2835.dtsi | 31 /* enable thermal sensor with the correct compatible property set */
|
D | omap3-cpu-thermal.dtsi | 18 /* sensor ID */
|
/external/u-boot/doc/device-tree-bindings/thermal/ |
D | rockchip-thermal.txt | 15 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. 32 #thermal-sensor-cells = <1>; 44 /* sensor ID */
|
D | ti_soc_thermal.txt | 4 and a temperature sensor feature that are gathered in the band 5 gap voltage and temperature sensor (VBGAPTS) module. The band
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCProximitySensor.java | 92 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 94 AppRTCUtils.assertIsTrue(sensor.getType() == Sensor.TYPE_PROXIMITY); in onAccuracyChanged() 103 AppRTCUtils.assertIsTrue(event.sensor.getType() == Sensor.TYPE_PROXIMITY); in onSensorChanged()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | OrientationSensorExampleActivity.java | 170 for (Sensor sensor : sensorMgr.getSensorList(Sensor.TYPE_ORIENTATION)) { in onCreate() 171 if (sensor.getType() == Sensor.TYPE_ORIENTATION) { in onCreate() 172 orSensor = sensor; in onCreate() 246 public void onAccuracyChanged(Sensor sensor, int i) { in onAccuracyChanged() argument
|
/external/u-boot/drivers/thermal/ |
D | Kconfig | 12 bool "Temperature sensor driver for Freescale i.MX SoCs" 21 bool "Temperature sensor driver for TI dra7xx SOCs"
|
/external/libxcam/modules/isp/ |
D | isp_config_translator.cpp | 40 IspConfigTranslator::IspConfigTranslator (SmartPtr<SensorDescriptor> &sensor) in IspConfigTranslator() argument 41 : _sensor (sensor) in IspConfigTranslator()
|
/external/walt/docs/usage/ |
D | WALT_usage.md | 141 …* Position WALT with the screen sensor looking at the screen (the light sensor recessed into the l… 143 …. The orange LED on the Teensy will also blink every time the bottom light sensor detects a change. 184 …llides with the glass. The copper tip is grounded and triggers the touch sensor. The stylus spring… 238 … beam hits the WALT optical sensor looking sideways. A green LED (marked D3) will light up wheneve… 241 …* The green counter in the top right corner counts how many times the laser sensor changed state. …
|
/external/libxcam/tests/ |
D | test-xcamsrc-camera.sh | 3 gst-launch-1.0 xcamsrc sensor-id=3 capture-mode=1 io-mode=4 ! video/x-raw, format=NV12, width=1920,…
|