Lines Matching defs:AndroidContextHub
17 #include "androidcontexthub.h"
150 AndroidContextHub::~AndroidContextHub() {
163 void AndroidContextHub::TerminateHandler() {
167 bool AndroidContextHub::Initialize() {
209 void AndroidContextHub::SetLoggingEnabled(bool logging_enabled) {
215 ContextHub::TransportResult AndroidContextHub::WriteEvent(
237 ContextHub::TransportResult AndroidContextHub::ReadEvent(
279 bool AndroidContextHub::FlashSensorHub(const std::vector<uint8_t>& bytes) {
285 bool AndroidContextHub::LoadCalibration() {
304 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t data) {
309 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
316 bool AndroidContextHub::SetCalibration(SensorType sensor_type, float data) {
321 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
328 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t x,
333 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
340 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t x,
345 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
352 bool AndroidContextHub::SaveCalibration() {
361 ContextHub::TransportResult AndroidContextHub::ReadEventFromFd(
389 int AndroidContextHub::ResetPollFds(struct pollfd *pfds, size_t count) {
403 const char *AndroidContextHub::SensorTypeToCalibrationKey(SensorType sensor_type) {