/frameworks/native/services/sensorservice/ |
D | SensorList.cpp | 71 Vector<Sensor> sensors; in getUserSensors() local 73 [&sensors] (const Entry& e) -> bool { in getUserSensors() 75 sensors.add(e.si->getSensor()); in getUserSensors() 79 return sensors; in getUserSensors() 84 Vector<Sensor> sensors; in getUserDebugSensors() local 86 [&sensors] (const Entry& e) -> bool { in getUserDebugSensors() 88 sensors.add(e.si->getSensor()); in getUserDebugSensors() 92 return sensors; in getUserDebugSensors() 97 Vector<Sensor> sensors; in getDynamicSensors() local 99 [&sensors] (const Entry& e) -> bool { in getDynamicSensors() [all …]
|
D | SensorDevice.h | 108 sp<android::hardware::sensors::V1_0::ISensors> mSensors; 181 using Event = hardware::sensors::V1_0::Event; 182 using SensorInfo = hardware::sensors::V1_0::SensorInfo;
|
D | SensorDevice.cpp | 31 using namespace android::hardware::sensors::V1_0; 32 using namespace android::hardware::sensors::V1_0::implementation; 465 static_cast<hardware::sensors::V1_0::OperationMode>(mode)))); in setMode() 620 ::android::hardware::sensors::V1_0::implementation::convertToSensorEvent( in convertToSensorEvent()
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 90 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument 96 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener() 98 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; in registerListener() 100 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 102 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 104 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; in registerListener() 109 SensorListener listener, int sensors, int rate) { in registerLegacyListener() argument 112 if ((sensors & legacyType) != 0) { in registerLegacyListener() 145 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument 150 listener, sensors); in unregisterListener() [all …]
|
D | SensorManager.java | 558 public boolean registerListener(SensorListener listener, int sensors) { in registerListener() argument 559 return registerListener(listener, sensors, SENSOR_DELAY_NORMAL); in registerListener() 586 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument 587 return getLegacySensorManager().registerListener(listener, sensors, rate); in registerListener() 619 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument 620 getLegacySensorManager().unregisterListener(listener, sensors); in unregisterListener() 1029 List<Sensor> sensors = getSensorList(Sensor.TYPE_DYNAMIC_SENSOR_META); in isDynamicSensorDiscoverySupported() local 1030 return sensors.size() > 0; in isDynamicSensorDiscoverySupported()
|
/frameworks/native/services/sensorservice/hidl/ |
D | utils.cpp | 29 using ::android::hardware::sensors::V1_0::SensorInfo; 39 dst.type = static_cast<::android::hardware::sensors::V1_0::SensorType>( in convertSensor() 77 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { in convertEvent() 78 ::android::hardware::sensors::V1_0::Event dst; in convertEvent() 79 ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent( in convertEvent()
|
D | utils.h | 30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src); 33 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent &event);
|
D | Android.bp | 20 "android.hardware.sensors@1.0", 24 "android.hardware.sensors@1.0-convert",
|
D | SensorManager.cpp | 39 using ::android::hardware::sensors::V1_0::SensorInfo; 40 using ::android::hardware::sensors::V1_0::SensorsEventFormatOffset;
|
D | DirectReportChannel.h | 33 using ::android::hardware::sensors::V1_0::RateLevel;
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
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 on the event queue so that sensor
|
D | README | 3 android.frameworks.sensorservice@1.0 is a package that mimics the sensors API in 12 - retrieve sensors 71 - enable selected sensors (adapts ASensorEventQueue_registerSensor) 72 - disable selected sensors (adapts ASensorEventQueue_disableSensor)
|
D | IDirectReportChannel.hal | 19 import android.hardware.sensors@1.0::RateLevel; 49 * multiple different sensors of the same type in a
|
D | Android.bp | 76 "android.hardware.sensors@1.0", 84 "android.hardware.sensors@1.0",
|
D | IEventQueueCallback.hal | 19 import android.hardware.sensors@1.0::Event;
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 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; in TEST_F() 176 using ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent; in parseEvents() 205 using ::android::hardware::sensors::V1_0::implementation::convertFromRateLevel; in TEST_F()
|
D | Android.bp | 27 "android.hardware.sensors@1.0", 31 "android.hardware.sensors@1.0-convert",
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | Android.bp | 29 "android.hardware.sensors@1.0", 32 "android.hardware.sensors@1.0-convert",
|
D | ASensorEventQueue.cpp | 26 using android::hardware::sensors::V1_0::SensorInfo; 113 android::hardware::sensors::V1_0::implementation::convertToSensorEvent( in onEvent()
|
D | ASensorManager.h | 58 using SensorInfo = android::hardware::sensors::V1_0::SensorInfo;
|
D | ASensorEventQueue.h | 32 using Event = android::hardware::sensors::V1_0::Event;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; in writeUid() local 120 sensors = uid.getSensorStats(); in writeUid() 121 N = sensors.size(); in writeUid() 123 int sensorId = sensors.keyAt(i); in writeUid() 128 sensors.valueAt(i).getSensorTime()); in writeUid() 131 sensors.valueAt(i).getSensorTime()); in writeUid()
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
D | SensorManager.h | 37 using ::android::hardware::sensors::V1_0::SensorType;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 19 package androidx.media.filterpacks.sensors;
|
/frameworks/native/libs/sensor/ |
D | Android.bp | 31 // android/sensors.h uses nested anonymous unions and anonymous structs
|