summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-02-26 12:22:13 -0800
committerGreg Hackmann <ghackmann@google.com>2015-01-13 12:16:56 -0800
commit0eb5826830592695f4a5b4d1dba18e0ca991163e (patch)
treee99cf4f2ed5efd25c966384acc6495e2d586e547 /rs/java/android/renderscript/Script.java
parent66b4d48469c74f7dd889f3f685b436fcb957bf16 (diff)
Find wall clock RTC through sysfs
Devices may have multiple RTCs. By default the kernel uses rtc0 to store the system time, but devices may override this (or even specify that none of them should be used for system time). Userspace can indirectly find the designated RTC through sysfs. During AlarmManagerService initialization, enumerate through all rtc class devices to locate the device with attribute hctosys=1. This is only done on devices without /dev/alarm, which has its own in-kernel mechanism to pick the RTC. Change-Id: Ife2b342c3590133ed316ddaf1799cbc1bfa6e6d9 Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions