Searched defs:sensorIndex (Results 1 - 4 of 4) sorted by relevance
/device/google/contexthub/sensorhal/ |
H A D | activity.h | 51 virtual void OnActivityEvent(int sensorIndex, uint8_t eventIndex, 64 int sensorIndex; member in struct:android::ActivityContext::ActivityEvent
|
H A D | activity.cpp | 134 static int GetActivityHandleFromSensorIndex(int sensorIndex) { argument 135 int normalizedSensorIndex = sensorIndex - COMMS_SENSOR_ACTIVITY_FIRST; 142 static int GetActivityTypeFromSensorIndex(int sensorIndex) { argument 143 int normalizedSensorIndex = sensorIndex - COMMS_SENSOR_ACTIVITY_FIRST; 181 halEvent.activity = GetActivityHandleFromSensorIndex(event.sensorIndex); 184 if (event.sensorIndex == COMMS_SENSOR_ACTIVITY_TILTING) { 198 halEvent.event_type = GetActivityTypeFromSensorIndex(event.sensorIndex); 240 void ActivityContext::OnActivityEvent(int sensorIndex, uint8_t eventIndex, argument 242 ALOGD("OnActivityEvent sensorIndex = %d, eventIndex = %" PRIu8 243 ", whenNs = %" PRIu64, sensorIndex, eventInde [all...] |
H A D | hubconnection.cpp | 108 static bool isActivitySensor(int sensorIndex) { argument 109 return sensorIndex >= COMMS_SENSOR_ACTIVITY_FIRST 110 && sensorIndex <= COMMS_SENSOR_ACTIVITY_LAST;
|
/device/google/contexthub/util/sensortest/ |
H A D | sensortest.cpp | 96 int sensorIndex; local 113 if ((sensorIndex = findSensorTypeInSensorList(atoi(argv[currArgumentIndex+1]))) < 0) { 123 .listIndex = sensorIndex, 131 .listIndex = sensorIndex, 146 if ((sensorIndex = findSensorTypeInSensorList(atoi(argv[currArgumentIndex+1]))) < 0) { 156 .listIndex = sensorIndex, 164 .listIndex = sensorIndex,
|
Completed in 114 milliseconds