Home
last modified time | relevance | path

Searched defs:HubConnection (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.h53 struct HubConnection : public Thread { struct
58 enum ProximitySensorType {
94 HubConnection(); argument
100 typedef uint32_t rate_q10_t; // q10 means lower 10 bits are for fractions
102 bool mWakelockHeld;
103 int32_t mWakeEventCount;
108 static inline uint64_t period_ns_to_frequency_q10(nsecs_t period_ns) { in period_ns_to_frequency_q10()
112 static inline nsecs_t frequency_q10_to_period_ns(uint64_t frequency_q10) { in frequency_q10_to_period_ns()
119 static inline uint64_t frequency_to_frequency_q10(float frequency) { in frequency_to_frequency_q10()
124 {
[all …]
Dhubconnection.cpp116 HubConnection::HubConnection() in HubConnection() function in android::HubConnection