OSDN Git Service

Add time rtc ioctl tests
authorMark Salyzyn <salyzyn@google.com>
Thu, 14 Jan 2016 15:28:21 +0000 (07:28 -0800)
committerMark Salyzyn <salyzyn@google.com>
Thu, 14 Jan 2016 15:30:22 +0000 (07:30 -0800)
commitf1ec6990593a8db655746f415619e1da7093a168
tree3dca774b7b33745ae0636357ba925e69705f8715
parent59c72161d70447232ee646d2cb9b756d76db91f3
Add time rtc ioctl tests

- test read validity
- test year setting from 1970 to 2037 (2015+ critical)
- test year rollover operation (68 seconds to run test)

Bug: 26346842
Change-Id: I225ca2a25c291b9d05d75f5f39de2c6c753fcba1
tests/timetest/Android.mk
tests/timetest/rtc_test.cpp [new file with mode: 0644]