/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
DataCollector.java | 21 import android.hardware.Sensor; 43 * Tracks touch, sensor and phone events when the lockscreen is on. If the phone is unlocked 228 public void onAccuracyChanged(Sensor sensor, int accuracy) { 241 * extensive sensor data, which is is not normally included with rejected touch reports.
|
/external/replicaisland/src/com/replica/replicaisland/ |
AndouKun.java | 28 import android.hardware.Sensor; 322 Sensor orientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); 723 public void onAccuracyChanged(Sensor sensor, int accuracy) { 731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsService.java | 39 import android.hardware.Sensor; 199 public Sensor sensor; field in class:ItsService.MySensorEvent 205 // For capturing motion sensor traces. 207 private Sensor mAccelSensor = null; 208 private Sensor mMagSensor = null; 209 private Sensor mGyroSensor = null; 246 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 247 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 248 mGyroSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE) [all...] |
/device/google/contexthub/sensorhal/ |
Android.mk | 16 # Nanohub sensor HAL usage instructions: 20 # # Enable the nanohub sensor HAL 23 # # Nanohub sensor list source file 26 # # Sensor HAL name override (optional)
|
/device/google/cuttlefish_common/guest/hals/camera/ |
Android.mk | 87 fake-pipeline2/Sensor.cpp \
|
EmulatedFakeCamera2.h | 35 #include "fake-pipeline2/Sensor.h" 40 * a simple simulation of a scene, sensor, and image processing pipeline. 410 sp<Sensor> mSensor;
|
/device/generic/goldfish/camera/ |
EmulatedFakeCamera2.h | 28 #include "fake-pipeline2/Sensor.h" 38 * a simple simulation of a scene, sensor, and image processing pipeline. 420 sp<Sensor> mSensor;
|
Exif.cpp | 35 #include "fake-pipeline2/Sensor.h" 466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; 487 entry.data.i32[0] : Sensor::kSensitivityRange[0];
|
/device/google/contexthub/firmware/os/core/ |
nanohub_chre.c | 263 struct Sensor *s = sensorFindByHandle(sensorHandle); 283 struct Sensor *s = sensorFindByHandle(sensorHandle); 333 struct Sensor *s = sensorFindByHandle(sensorHandle); 378 struct Sensor *s = sensorFindByHandle(sensorHandle);
|
/frameworks/base/services/core/java/com/android/server/display/ |
BrightnessTracker.java | 29 import android.hardware.Sensor; 83 * associated information such as light sensor readings. 95 // Time over which we keep lux sensor readings. 323 // No sensor data so ignore this. 332 // Convert sensor timestamp in elapsed time nanos to current time millis. 724 Slog.v(TAG, "Sensor event " + event); 738 // the first sensor reading was valid for. 768 public void onAccuracyChanged(Sensor sensor, int accuracy) { [all...] |
DisplayPowerController.java | 33 import android.hardware.Sensor; 62 * Handles the proximity sensor, light sensor, and animations between states 113 // Proximity sensor debounce delay in milliseconds for positive or negative transitions. 144 // The sensor manager. 159 // The proximity sensor, or null if not available or needed. 160 private Sensor mProximitySensor; 189 // True if should use light sensor to automatically determine doze screen brightness. 216 // True if a request has been made to wait for the proximity sensor to go negative. 246 // True if the device should wait for negative proximity sensor befor [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 53 import android.hardware.Sensor; 156 private Sensor mSensor; 279 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); 281 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); [all...] |
/external/scapy/scapy/contrib/ |
ppi_geotag.py | 388 #Sensor Fields 424 class Sensor(HCSIPacket): 425 name = "PPI Sensor" 461 addPPIType(PPI_SENSOR, Sensor)
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
BatteryStatsSensorTest.java | 26 * Test BatteryStatsImpl Sensor Timers. 76 // Plugged-in (battery=off, sensor=off) 81 // Start sensor (battery=off, sensor=on) 93 // Stop sensor (battery=off, sensor=off) 112 // Unplugged (battery=on, sensor=off) 116 // Start sensor (battery=on, sensor=on) 128 // Stop sensor (battery=on, sensor=off 398 BatteryStats.Uid.Sensor sensor = uid.getSensorStats().get(SENSOR_ID); local 453 BatteryStats.Uid.Sensor sensor = bi.getUidStats().get(UID).getSensorStats().get(SENSOR_ID); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
HealthStatsBatteryStatsWriter.java | 53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; 126 if (sensorId == BatteryStats.Uid.Sensor.GPS) {
|
/frameworks/base/core/proto/android/os/ |
batterystats.proto | 768 message Sensor { 776 repeated Sensor sensors = 21; [all...] |
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 39 import android.hardware.Sensor;
|
/external/walt/pywalt/pywalt/ |
walt.py | 415 print('Sensor log file : ' + sensor_file_name)
|
/compatibility/cdd/7_hardware-compatibility/ |
7_3_sensors.md | 3 If device implementations include a particular sensor type that has a 17 * [C-0-3] MUST behave reasonably for all other sensor APIs (for example, by 19 listeners, not calling sensor listeners when the corresponding sensors are not 22 If device implementations include a particular sensor type that has a 25 * [C-1-1] MUST [report all sensor measurements]( 28 sensor type as defined in the Android SDK documentation. 29 * [C-1-2] MUST report sensor data with a maximum latency of 100 milliseconds 30 + 2 * sample_time for the case of a sensor streamed with a minimum required 33 * [C-1-3] MUST report the first sensor sample within 400 milliseconds + 2 * 34 sample_time of the sensor being activated. It is acceptable for this sample t [all...] |
7_9_virtual-reality.md | 74 https://developer.android.com/reference/android/hardware/Sensor.html#isDirectChannelTypeSupported%28int%29") 75 for all of the following default sensor types: 86 `android.hardware.sensor.hifi_sensors` feature and MUST meet the gyroscope,
|
/frameworks/base/services/core/java/com/android/server/ |
DeviceIdleController.java | 32 import android.hardware.Sensor; 126 private Sensor mMotionSensor; 447 public void onAccuracyChanged(Sensor sensor, int accuracy) {} 451 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { 466 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { 646 * motion sensor to determine if the device is being left alone. We don't do this 648 * the motion sensor whenever the screen is off. [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
BatteryStatsIncidentTest.java | 440 for (UidProto.Sensor s : u.getSensorsList()) {
|
/frameworks/native/services/sensorservice/ |
SensorEventConnection.cpp | 20 #include <sensor/SensorEventQueue.h> 234 int32_t sensor_handle = buffer[i].sensor; 236 ALOGD_IF(DEBUG_CONNECTIONS, "flush complete event sensor==%d ", 237 buffer[i].meta_data.sensor); 238 // Setting sensor_handle to the correct sensor to ensure the sensor events per 239 // connection are filtered correctly. buffer[i].sensor is zero for meta_data 241 sensor_handle = buffer[i].meta_data.sensor; 245 // Check if this connection has registered for this sensor. If not continue to the 253 // Check if there is a pending flush_complete event for this sensor on this connection 677 const Sensor& sensor = si->getSensor(); local [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 87 * A constant indicating a sensor timer. 89 public static final int SENSOR = 3; 217 * - Background timers and counters for: Sensor, BluetoothScan, WifiScan, Jobs, Syncs. 651 * Returns a mapping containing sensor statistics. 653 * @return a Map from Integer sensor ids to Uid.Sensor objects. 655 public abstract SparseArray<? extends Sensor> getSensorStats(); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 8281 Uid.Sensor sensor = mSensorStats.valueAt(ise); local 8584 Uid.Sensor sensor = new Sensor(mBsi, this, sensorNumber); local [all...] |