/frameworks/hardware/interfaces/sensorservice/1.0/ |
H A D | IEventQueueCallback.hal | 19 import android.hardware.sensors@1.0::Event;
|
H A D | IDirectReportChannel.hal | 19 import android.hardware.sensors@1.0::RateLevel; 49 * multiple different sensors of the same type in a
|
H A D | ISensorManager.hal | 23 import android.hardware.sensors@1.0::SensorInfo; 24 import android.hardware.sensors@1.0::SensorType; 27 * ISensorManager is an interface to manage sensors 30 * ISensorManager to access and list hardware sensors. 35 * Get the list of available sensors. 37 * @return list the list of available sensors, or empty on failure 60 * android.hardware.sensors@1.0::SensorsEventFormatOffset. 65 * 0x0008 int32_t type (see android.hardware.sensors@1.0::SensorType) 67 * 0x0010 int64_t timestamp (see android.hardware.sensors@1.0::Event) 110 * Subsequently, one can enable sensors o [all...] |
/frameworks/native/services/sensorservice/hidl/ |
H A D | utils.h | 21 #include <android/hardware/sensors/1.0/types.h> 30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src); 33 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent &event);
|
H A D | utils.cpp | 19 #include <sensors/convert.h> 29 using ::android::hardware::sensors::V1_0::SensorInfo; 39 dst.type = static_cast<::android::hardware::sensors::V1_0::SensorType>( 77 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { 78 ::android::hardware::sensors::V1_0::Event dst; 79 ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent(
|
H A D | DirectReportChannel.h | 33 using ::android::hardware::sensors::V1_0::RateLevel;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorList.cpp | 19 #include <hardware/sensors.h> 71 Vector<Sensor> sensors; local 73 [&sensors] (const Entry& e) -> bool { 75 sensors.add(e.si->getSensor()); 79 return sensors; 84 Vector<Sensor> sensors; local 86 [&sensors] (const Entry& e) -> bool { 88 sensors.add(e.si->getSensor()); 92 return sensors; 97 Vector<Sensor> sensors; local 110 Vector<Sensor> sensors; local [all...] |
H A D | SensorServiceUtils.cpp | 19 #include <hardware/sensors.h>
|
H A D | SensorDeviceUtils.cpp | 19 #include <android/hardware/sensors/1.0/ISensors.h> 26 using namespace android::hardware::sensors::V1_0;
|
H A D | RecentEventLogger.h | 23 #include <hardware/sensors.h>
|
H A D | SensorDevice.h | 34 #include "android/hardware/sensors/1.0/ISensors.h" 106 sp<hardware::sensors::V1_0::ISensors> mSensors; 181 using Event = hardware::sensors::V1_0::Event; 182 using SensorInfo = hardware::sensors::V1_0::SensorInfo;
|
H A D | CorrectedGyroSensor.cpp | 23 #include <hardware/sensors.h>
|
H A D | GravitySensor.cpp | 23 #include <hardware/sensors.h>
|
H A D | LinearAccelerationSensor.cpp | 23 #include <hardware/sensors.h>
|
H A D | OrientationSensor.cpp | 23 #include <hardware/sensors.h>
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 90 public boolean registerListener(SensorListener listener, int sensors, int rate) { argument 96 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; 98 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; 100 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; 102 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; 104 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; 109 SensorListener listener, int sensors, int rate) { 112 if ((sensors & legacyType) != 0) { 119 // are called reentrantly while sensors are being registered or unregistered. 145 public void unregisterListener(SensorListener listener, int sensors) { argument 108 registerLegacyListener(int legacyType, int type, SensorListener listener, int sensors, int rate) argument 161 unregisterLegacyListener(int legacyType, int type, SensorListener listener, int sensors) argument 244 hasOrientationSensor(int sensors) argument [all...] |
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
H A D | VtsHalSensorManagerV1_0TargetTest.cpp | 28 #include <android/hardware/sensors/1.0/types.h> 31 #include <sensors/convert.h> 35 using ::android::hardware::sensors::V1_0::Event; 36 using ::android::hardware::sensors::V1_0::RateLevel; 37 using ::android::hardware::sensors::V1_0::SensorFlagBits; 38 using ::android::hardware::sensors::V1_0::SensorFlagShift; 39 using ::android::hardware::sensors::V1_0::SensorType; 40 using ::android::hardware::sensors::V1_0::SensorsEventFormatOffset; 136 using ::android::hardware::sensors::V1_0::toString; 138 // Do something to the list of sensors [all...] |
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ASensorEventQueue.h | 26 #include <sensors/convert.h> 33 using Event = android::hardware::sensors::V1_0::Event;
|
H A D | ASensorEventQueue.cpp | 26 using android::hardware::sensors::V1_0::SensorInfo; 112 android::hardware::sensors::V1_0::implementation::convertToSensorEvent(
|
H A D | ASensorManager.h | 35 // Returns error or number of sensors returned. 59 using SensorInfo = android::hardware::sensors::V1_0::SensorInfo;
|
H A D | ASensorManager.cpp | 25 #include <sensors/convert.h> 27 using android::hardware::sensors::V1_0::SensorInfo; 31 using android::hardware::sensors::V1_0::SensorType;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | MotionSensor.java | 19 package androidx.media.filterpacks.sensors;
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
H A D | SensorManager.h | 38 using ::android::hardware::sensors::V1_0::SensorType;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; 120 sensors = uid.getSensorStats(); 121 N = sensors.size(); 123 int sensorId = sensors.keyAt(i); 124 // Battery Stats stores the GPS sensors with a bogus key in this API. Pull it out 128 sensors.valueAt(i).getSensorTime()); 131 sensors.valueAt(i).getSensorTime());
|
/frameworks/native/libs/sensor/include/sensor/ |
H A D | Sensor.h | 30 #include <hardware/sensors.h>
|