/frameworks/hardware/interfaces/sensorservice/aidl/vts/ |
D | VtsHalSensorManagerTargetTest.cpp | 40 using aidl::android::hardware::sensors::SensorInfo; 83 ndk::ScopedAStatus GetSensorList(std::vector<SensorInfo>* out_info, in GetSensorList() 84 const std::function<bool(SensorInfo)>& pred = nullptr) { in GetSensorList() 109 std::vector<SensorInfo> sensorList; in TEST_P() 115 std::vector<SensorInfo> sensorList; in TEST_P() 117 return info.flags & SensorInfo::SENSOR_FLAG_BITS_DIRECT_CHANNEL_ASHMEM; in TEST_P() 189 std::vector<SensorInfo> sensorList; in TEST_P() 194 SensorInfo info; in TEST_P() 207 std::vector<SensorInfo> sensorList; in TEST_P() 210 if (!(info.flags & SensorInfo::SENSOR_FLAG_BITS_DIRECT_CHANNEL_ASHMEM)) return false; in TEST_P() [all …]
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorManager.cpp | 34 using aidl::android::hardware::sensors::SensorInfo; 128 SensorInfo sensor; in getDefaultSensor() 356 return reinterpret_cast<const SensorInfo *>(sensor)->name.c_str(); in ASensor_getName() 361 return reinterpret_cast<const SensorInfo *>(sensor)->vendor.c_str(); in ASensor_getVendor() 367 reinterpret_cast<const SensorInfo *>(sensor)->type); in ASensor_getType() 372 return reinterpret_cast<const SensorInfo *>(sensor)->resolution; in ASensor_getResolution() 377 return reinterpret_cast<const SensorInfo*>(sensor)->minDelayUs; in ASensor_getMinDelay() 382 return reinterpret_cast<const SensorInfo *>(sensor)->fifoMaxEventCount; in ASensor_getFifoMaxEventCount() 387 return reinterpret_cast<const SensorInfo *>(sensor)->fifoReservedEventCount; in ASensor_getFifoReservedEventCount() 392 return reinterpret_cast<const SensorInfo *>(sensor)->typeAsString.c_str(); in ASensor_getStringType() [all …]
|
D | ASensorManager.h | 55 using SensorInfo = aidl::android::hardware::sensors::SensorInfo; member 67 std::vector<SensorInfo> mSensors;
|
D | ASensorEventQueue.cpp | 25 using aidl::android::hardware::sensors::SensorInfo; 46 mQueueImpl->enableSensor(reinterpret_cast<const SensorInfo*>(sensor)->sensorHandle, in registerSensor() 78 mQueueImpl->disableSensor(reinterpret_cast<const SensorInfo*>(sensor)->sensorHandle); in disableSensor()
|
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 7 import android.hardware.sensors.SensorInfo; 101 SensorInfo getDefaultSensor(in SensorType type); in getDefaultSensor() 110 SensorInfo[] getSensorList(); in getSensorList()
|
/frameworks/native/services/sensorservice/hidl/ |
D | utils.cpp | 29 using ::android::hardware::sensors::V1_0::SensorInfo; 31 SensorInfo convertSensor(const Sensor& src) { in convertSensor() 32 SensorInfo dst; in convertSensor()
|
D | utils.h | 30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src);
|
D | SensorManager.cpp | 41 using ::android::hardware::sensors::V1_0::SensorInfo; 77 hidl_vec<SensorInfo> ret; in getSensorList()
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor() 26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList()
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor() 26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList()
|
/frameworks/native/services/sensorservice/aidl/ |
D | SensorManager.cpp | 43 using ::aidl::android::hardware::sensors::SensorInfo; 141 SensorInfo convertSensor(Sensor src) { in convertSensor() 142 SensorInfo dst; in convertSensor() 164 SensorInfo* _aidl_return) { in getDefaultSensor() 174 ndk::ScopedAStatus SensorManagerAidl::getSensorList(std::vector<SensorInfo>* _aidl_return) { in getSensorList()
|
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/ |
D | SensorManagerAidl.h | 51 ::aidl::android::hardware::sensors::SensorInfo* _aidl_return) override; 53 std::vector<::aidl::android::hardware::sensors::SensorInfo>* _aidl_return) override;
|
/frameworks/native/services/sensorservice/ |
D | HidlSensorHalWrapper.cpp | 81 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; typedef 88 const hidl_vec<SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected_2_1() 90 for (const android::hardware::sensors::V2_1::SensorInfo& info : dynamicSensorsAdded) { in onDynamicSensorsConnected_2_1() 101 const hidl_vec<android::hardware::sensors::V1_0::SensorInfo>& dynamicSensorsAdded) in onDynamicSensorsConnected() 522 const hidl_vec<SensorInfo>& dynamicSensorsAdded, in convertToSensorEvents()
|
D | AidlSensorHalWrapper.cpp | 32 using ::aidl::android::hardware::sensors::SensorInfo; 70 const std::vector<SensorInfo> &sensorInfos) override { in onDynamicSensorsConnected() 72 for (const SensorInfo &sensorInfo : sensorInfos) { in onDynamicSensorsConnected() 215 std::vector<SensorInfo> list; in getSensorsList()
|
D | HidlSensorHalWrapper.h | 32 using android::hardware::sensors::V2_1::SensorInfo; 151 const hardware::hidl_vec<SensorInfo>& dynamicSensorsAdded,
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 47 using ::android::hardware::sensors::V1_0::SensorInfo; 109 android::base::Result<std::vector<SensorInfo>> GetSensorList( in GetSensorList() 110 const std::function<bool(SensorInfo)> &pred = nullptr) { in GetSensorList() 112 std::vector<SensorInfo> out_info; in GetSensorList()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | ISensorManager.hal | 23 import android.hardware.sensors@1.0::SensorInfo; 40 getSensorList() generates (vec<SensorInfo> list, Result result); 51 generates (SensorInfo sensor, Result result);
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.h | 41 struct SensorInfo { struct 62 std::unordered_map<int32_t, SensorInfo> sensorsByAbsCode; argument
|
D | FakeEventHub.cpp | 168 SensorInfo info; in addSensorAxis() 354 const SensorInfo& info = it->second; in mapSensor()
|