OSDN Git Service

Add non-repeating timer wrapper for alarm
authorZach Johnson <zachoverflow@google.com>
Mon, 8 Sep 2014 22:20:22 +0000 (15:20 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:33 +0000 (16:51 -0700)
commitbb9b7170d8dba6a41b828fb2a349b8edd418dcfa
treef39ad62a5ebaf92c676bee5881ced16542f5dd6e
parentbf8193bc81cc077e3acd245cacbe8e3789c4b9ff
Add non-repeating timer wrapper for alarm

Refactor the hci layer to use it.

The timer wrapper allows you to specify the duration, etc at construction time
rather than at start time, making some usage patterns of alarm more convenient.
hci/src/hci_layer.c
osi/Android.mk
osi/include/non_repeating_timer.h [new file with mode: 0644]
osi/src/non_repeating_timer.c [new file with mode: 0644]