+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
* Moved wakelock-related code to osi/src/wakelock.c The API is in osi/include/wakelock.h * Use wakelock_set_os_callouts() to specify native kernel or callout-based wakelock. On Android, wakelock_set_os_callouts() is called to set the bt_os_callouts_t callbacks into the Java layer. * Renamed alarm_set_wake_lock_paths() to wakelock_set_paths() Also, added Bluetooth Wakelock Statistics to the bugreport. Sample output: $ adb shell dumpsys bluetooth_manager ... Bluetooth Wakelock Statistics: Wakelock is acquired : false Wakelock acquired/released count : 5 / 5 Wakelock acquired/released errors : 0 / 0 Wakelock last acquired time (ms) : 1524 Wakelock acquired time min/max/avg (ms) : 1511 / 8104 / 3167 Wakelock total acquired time (ms) : 15836 Bluetooth total run time (ms) : 44123 Bug: 26645431 Change-Id: I42bfb7db5b016719faea39e47ebc77c3ad02467b