Create a timerfd JNI class
The timerfd delivers timer expiration notifications via a file descriptor, which can be used to implement delayed callbacks. Create a JNI class to interface with the timerfd system calls. Bug: 366373064 Test: m Change-Id: I0ae7a4cf618838e614b2fa4523b55a4d0e8f74e2
This commit is contained in:
parent
511faf74e9
commit
eb73d4ddda
1 changed files with 127 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ cc_library_shared {
|
|||
static_libs: [
|
||||
"libnet_utils_device_common_bpfjni",
|
||||
"libnet_utils_device_common_bpfutils",
|
||||
"libnet_utils_device_common_timerfdjni",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
|
|
|
|||
Loading…
Reference in a new issue