Lines Matching defs:AndroidContextHub
17 #include "androidcontexthub.h"
130 AndroidContextHub::~AndroidContextHub() {
143 void AndroidContextHub::TerminateHandler() {
147 bool AndroidContextHub::Initialize() {
189 void AndroidContextHub::SetLoggingEnabled(bool logging_enabled) {
195 ContextHub::TransportResult AndroidContextHub::WriteEvent(
217 ContextHub::TransportResult AndroidContextHub::ReadEvent(
259 bool AndroidContextHub::FlashSensorHub(const std::vector<uint8_t>& bytes) {
265 bool AndroidContextHub::LoadCalibration() {
284 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t data) {
289 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
296 bool AndroidContextHub::SetCalibration(SensorType sensor_type, float data) {
301 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
308 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t x,
313 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
320 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t x,
325 const char *key = AndroidContextHub::SensorTypeToCalibrationKey(sensor_type);
332 bool AndroidContextHub::SaveCalibration() {
341 ContextHub::TransportResult AndroidContextHub::ReadEventFromFd(
369 int AndroidContextHub::ResetPollFds(struct pollfd *pfds, size_t count) {
383 const char *AndroidContextHub::SensorTypeToCalibrationKey(SensorType sensor_type) {