583dec84d95b69216b4f91dd31397dc5f32f4e95 |
|
26-Jan-2015 |
Lorenzo Colitti <lorenzo@google.com> |
am 3d992507: am 09dff843: Merge "Only try to fetch time from NTP if there is a network connection." into lmp-mr1-dev * commit '3d992507a09b4d32c1e961a99d77027db050f01b': Only try to fetch time from NTP if there is a network connection.
|
df59053588501178263e0e8de37f23717e649ffc |
|
22-Jan-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Only try to fetch time from NTP if there is a network connection. Bug: 19046107 Change-Id: Iff647ee33fe0eb9b530d7baad636d32b386e4fa7
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
0eda7dfcacd838da4a534230f62a121b826000d6 |
|
07-Jan-2015 |
Young-Ho Cha <ganadist@gmail.com> |
check ntpserver as empty string instead of null mServer cannot set null, because string from resource always returns non-null charsequence Change-Id: I8d6a6fdbc34267ee361e7bd20719887268161870 Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
e6e6197d7c2eb5c29224bcddb0131a302267f6de |
|
14-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Actually move to Global settings. Also add better ConnectivityService logging. Bug: 7157464 Change-Id: Ia235a7e62ed809240913c4782920c1410c7d597d
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
023c05a341b87d0899c89bf355b6ae27d138bb03 |
|
14-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Move to Global.NETSTATS and Global.NTP constants. Bug: 7157464 Change-Id: Ief10fd37940f62420f5684940994c9f93802e0be
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
104344e507610be42fb70c7deda3c422c543bfcb |
|
10-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Cached NTP time for system services. Uses NTP server and timeout from secure settings, or fallback to defaults in resources. Update various system services to use cached NTP time when fresh enough, or force updates as needed. Bug: 4517273 Change-Id: Ie1c4c4883836013d02ca0bbd850cf8949f93b34b
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
f055829f358f995efe3964706860f101a129f5e3 |
|
04-May-2011 |
Jeff Sharkey <jsharkey@android.com> |
Avoid throwing when forceRefresh() missing server. Bug: 4377651 Change-Id: Ia950a1e62d39ce9148827ebb4535f6441911b195
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|
b7342acebcb7e5dc7da0cda77fbddf50e7dfdd7c |
|
26-Apr-2011 |
Jeff Sharkey <jsharkey@android.com> |
Tests for ThrottleService, NTP into TrustedTime. Wrote initial suite of tests for ThrottleService, checking a variety of edge cases. Checks going over limits, updating policies, and reset after cycle elapses. Moved NTP code in ThrottleService into new TrustedTime interface, which makes it easier to understand, and allows tests to provide custom clocks. Change-Id: I0d62b8b3a169516a2ab2d33025f6fe30dc792be8
/frameworks/base/core/java/android/util/NtpTrustedTime.java
|