Searched refs:sigevent (Results 1 – 4 of 4) sorted by relevance
/system/bt/osi/test/ |
D | AlarmTestHarness.cpp | 46 struct sigevent sigevent; in SetUp() local 47 memset(&sigevent, 0, sizeof(sigevent)); in SetUp() 48 sigevent.sigev_notify = SIGEV_THREAD; in SetUp() 49 sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback; in SetUp() 50 sigevent.sigev_value.sival_ptr = NULL; in SetUp() 51 timer_create(CLOCK_BOOTTIME, &sigevent, &timer); in SetUp()
|
/system/bt/test/suite/support/ |
D | hal.c | 90 struct sigevent sigevent; in set_wake_alarm() local 91 memset(&sigevent, 0, sizeof(sigevent)); in set_wake_alarm() 92 sigevent.sigev_notify = SIGEV_THREAD; in set_wake_alarm() 93 sigevent.sigev_notify_function = (void (*)(union sigval))cb; in set_wake_alarm() 94 sigevent.sigev_value.sival_ptr = data; in set_wake_alarm() 95 timer_create(CLOCK_MONOTONIC, &sigevent, timer); in set_wake_alarm()
|
/system/bt/osi/src/ |
D | alarm.c | 222 struct sigevent sigevent; in lazy_initialize() local 223 memset(&sigevent, 0, sizeof(sigevent)); in lazy_initialize() 224 sigevent.sigev_notify = SIGEV_THREAD; in lazy_initialize() 225 sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback; in lazy_initialize() 226 if (timer_create(CLOCK_ID, &sigevent, &timer) == -1) { in lazy_initialize()
|
/system/bt/test/bluedroidtest/ |
D | bluedroidtest.c | 510 struct sigevent sigevent; in set_wake_alarm() local 511 memset(&sigevent, 0, sizeof(sigevent)); in set_wake_alarm() 512 sigevent.sigev_notify = SIGEV_THREAD; in set_wake_alarm() 513 sigevent.sigev_notify_function = (void (*)(union sigval))cb; in set_wake_alarm() 514 sigevent.sigev_value.sival_ptr = data; in set_wake_alarm() 515 timer_create(CLOCK_MONOTONIC, &sigevent, &timer); in set_wake_alarm()
|