• Home
  • Raw
  • Download

Lines Matching refs:sensors

30 using ::aidl::android::hardware::sensors::ISensors;
31 using ::aidl::android::hardware::sensors::ISensorsCallback;
34 using ::android::hardware::sensors::V2_1::implementation::convertToOldEvent;
40 namespace sensors { namespace
44 resultToAStatus(::android::hardware::sensors::V1_0::Result result) { in resultToAStatus()
46 case ::android::hardware::sensors::V1_0::Result::OK: in resultToAStatus()
48 case ::android::hardware::sensors::V1_0::Result::PERMISSION_DENIED: in resultToAStatus()
50 case ::android::hardware::sensors::V1_0::Result::NO_MEMORY: in resultToAStatus()
52 case ::android::hardware::sensors::V1_0::Result::BAD_VALUE: in resultToAStatus()
54 case ::android::hardware::sensors::V1_0::Result::INVALID_OPERATION: in resultToAStatus()
61 static ::android::hardware::sensors::V1_0::RateLevel convertRateLevel( in convertRateLevel()
65 return ::android::hardware::sensors::V1_0::RateLevel::STOP; in convertRateLevel()
67 return ::android::hardware::sensors::V1_0::RateLevel::NORMAL; in convertRateLevel()
69 return ::android::hardware::sensors::V1_0::RateLevel::FAST; in convertRateLevel()
71 return ::android::hardware::sensors::V1_0::RateLevel::VERY_FAST; in convertRateLevel()
77 static ::android::hardware::sensors::V1_0::OperationMode convertOperationMode( in convertOperationMode()
81 return ::android::hardware::sensors::V1_0::OperationMode::NORMAL; in convertOperationMode()
83 return ::android::hardware::sensors::V1_0::OperationMode::DATA_INJECTION; in convertOperationMode()
89 static ::android::hardware::sensors::V1_0::SharedMemType convertSharedMemType( in convertSharedMemType()
93 return ::android::hardware::sensors::V1_0::SharedMemType::ASHMEM; in convertSharedMemType()
95 return ::android::hardware::sensors::V1_0::SharedMemType::GRALLOC; in convertSharedMemType()
101 static ::android::hardware::sensors::V1_0::SharedMemFormat convertSharedMemFormat( in convertSharedMemFormat()
105 return ::android::hardware::sensors::V1_0::SharedMemFormat::SENSORS_EVENT; in convertSharedMemFormat()
111 static ::android::hardware::sensors::V1_0::SharedMemInfo convertSharedMemInfo( in convertSharedMemInfo()
113 ::android::hardware::sensors::V1_0::SharedMemInfo v1SharedMemInfo; in convertSharedMemInfo()
141 [&status, _aidl_return](::android::hardware::sensors::V1_0::Result result, in configDirectReport()
155 std::vector<::aidl::android::hardware::sensors::SensorInfo> *_aidl_return) { in getSensorsList()
163 const MQDescriptor<::aidl::android::hardware::sensors::Event, in initialize()
167 ::android::sp<::android::hardware::sensors::V2_1::implementation:: in initialize()
172 ::aidl::android::hardware::sensors::Event, SynchronizedReadWrite>>( in initialize()
174 std::unique_ptr<::android::hardware::sensors::V2_1::implementation:: in initialize()
182 std::unique_ptr<::android::hardware::sensors::V2_1::implementation:: in initialize()
192 const ::aidl::android::hardware::sensors::Event &in_event) { in injectSensorData()
193 ::android::hardware::sensors::V2_1::Event hidlEvent; in injectSensorData()
204 ::android::hardware::sensors::V1_0::SharedMemInfo sharedMemInfo = in registerDirectChannel()
209 [&status, _aidl_return](::android::hardware::sensors::V1_0::Result result, in registerDirectChannel()
222 ::aidl::android::hardware::sensors::ISensors::OperationMode in_mode) { in setOperationMode()