Searched defs:alarms (Results 1 - 2 of 2) sorted by relevance

/system/bt/osi/test/
H A Dalarm_test.cpp277 alarm_t *alarms[100]; local
282 alarms[i] = alarm_new(alarm_name.c_str());
286 alarm_set(alarms[i], 100, ordered_cb, INT_TO_PTR(i));
297 alarm_free(alarms[i]);
305 alarm_t *alarms[100]; local
315 alarms[i] = alarm_new(alarm_name.c_str());
319 alarm_set_on_queue(alarms[i], 100, ordered_cb, INT_TO_PTR(i), queue);
330 alarm_free(alarms[i]);
342 alarm_t *alarms[100]; local
353 alarms[
400 alarm_t *alarms[5]; local
[all...]
/system/bt/osi/src/
H A Dalarm.c107 // also protects the |alarms| list.
109 static list_t *alarms; variable
159 // Make sure we have a list we can insert alarms into.
160 if (!alarms && !lazy_initialize()) {
240 assert(alarms != NULL);
259 assert(alarms != NULL);
275 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm);
291 if ((alarms == NULL) || (alarm == NULL))
298 if (!alarms)
[all...]

Completed in 68 milliseconds