Lines Matching refs:activity_handle
80 uint32_t activity_handle, in EnableActivityEventWrapper() argument
83 return gActivityContext->enableActivityEvent(activity_handle, event_type, in EnableActivityEventWrapper()
89 uint32_t activity_handle, in DisableActivityEventWrapper() argument
91 return gActivityContext->disableActivityEvent(activity_handle, event_type); in DisableActivityEventWrapper()
318 int GetActivitySensorForHandleAndType(uint32_t activity_handle, in GetActivitySensorForHandleAndType() argument
321 if (activity_handle >= ARRAY_SIZE(kActivityList)) { in GetActivitySensorForHandleAndType()
330 return kActivitySensorMap[activity_handle][event_type - 1]; in GetActivitySensorForHandleAndType()
333 int ActivityContext::enableActivityEvent(uint32_t activity_handle, in enableActivityEvent() argument
337 activity_handle, event_type, max_report_latency_ns); in enableActivityEvent()
339 int sensor_index = GetActivitySensorForHandleAndType(activity_handle, in enableActivityEvent()
343 ", event_type: %" PRIu32, activity_handle, event_type); in enableActivityEvent()
352 int ActivityContext::disableActivityEvent(uint32_t activity_handle, in disableActivityEvent() argument
357 int sensor_index = kActivitySensorMap[activity_handle][event_type - 1]; in disableActivityEvent()
362 ", event_type: %" PRIu32, activity_handle, event_type); in disableActivityEvent()