platform_hardware_libhardwa.../include
Kalesh Singh d8da2af1e5 RAII style wakelocks: Add tryGet() factory method.
Wakelock acquisition can fail if suspend service is not available.
Make this clear by returning an optional value that client must
check before entering wakelock critical sections.

Bug: b/179229598
Test: Boot test on Pixel 4 device
Change-Id: Ied00fa919c20d8a30f1c40ee34a91a2a7e240689
2021-02-23 10:06:19 -05:00
..
hardware_legacy Convert mask types from uint32_t to enum type 2020-11-24 03:42:39 +00:00
wakelock RAII style wakelocks: Add tryGet() factory method. 2021-02-23 10:06:19 -05:00