Searched refs:hwclock (Results 1 - 10 of 10) sorted by relevance

/external/autotest/client/site_tests/platform_TLSDate/src/
H A Dtest.conf5 should-sync-hwclock no
/external/autotest/client/tests/hwclock/
H A Dhwclock.py5 class hwclock(test.test): class in inherits:test.test
10 Set hwclock back to a date in 1980 and verify if the changes took
13 logging.info('Setting hwclock to 2/2/80 03:04:00')
14 utils.system('/sbin/hwclock --set --date "2/2/80 03:04:00"')
15 date = utils.system_output('LC_ALL=C /sbin/hwclock')
17 raise error.TestFail("Failed to set hwclock back to the eighties. "
18 "Output of hwclock is '%s'" % date)
26 utils.system('/sbin/hwclock --systohc --noadjfile --utc')
/external/tlsdate/etc/
H A Dtlsdated.conf13 should-sync-hwclock yes
/external/tlsdate/src/
H A Dtlsdate-setter.c159 platform->rtc_write(&state->hwclock, &tv))
H A Dtlsdate.h175 struct rtc_handle hwclock; member in struct:state
H A Dtlsdated.c91 printf (" -w don't set hwclock\n");
355 else if (!strcmp (e->key, "should-sync-hwclock"))
501 platform->rtc_open(&state.hwclock))
503 pinfo ("can't open hwclock fd");
519 /* release the hwclock now that the time-setter is running. */
522 platform->rtc_close (&state.hwclock);
/external/toybox/
H A DAndroid.mk96 toys/other/hwclock.c \
278 hwclock \
/external/toybox/generated/
H A Dglobals.h172 // toys/other/hwclock.c
1323 struct hwclock_data hwclock; member in union:global_union
H A Dnewtoys.h96 USE_HWCLOCK(NEWTOY(hwclock, ">0(fast)f(rtc):u(utc)l(localtime)t(systz)s(hctosys)r(show)w(systohc)[-ul][!rtsw]", TOYFLAG_USR|TOYFLAG_BIN))
H A Dflags.h1015 // hwclock >0(fast)f(rtc):u(utc)l(localtime)t(systz)s(hctosys)r(show)w(systohc)[-ul][!rtsw] >0(fast)f(rtc):u(utc)l(localtime)t(systz)s(hctosys)r(show)w(systohc)[-ul][!rtsw]
3895 #define TT this.hwclock

Completed in 276 milliseconds