summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-02-14 22:29:11 -0700
committerJeff Sharkey <jsharkey@google.com>2018-02-16 22:11:35 +0000
commit9911a28adb3b1196fe912ff5b65b8d5cbc7321ec (patch)
tree69ee97b44a28739a2f864a6e469a25de981fb9fc /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0f888de06b3dcbb73a410578d48539ca970f4f3b (diff)
Better handling of NTP-based clocks.
Now that we have a nice Clock abstraction, we can use it to represent a clock backed by an NTP fix. (This makes testing logic much easier to write.) We now rely completely on NetworkTimeUpdateService to keep our NTP fix up to date, instead of trying to refresh in the middle of critical paths which could trigger random ANRs. Add internal FallbackClock to make it easier to handle missing NTP fixes. Add internal SimpleClock to let implementers focus on single millis() method. Test: bit FrameworksNetTests:com.android.server.net.NetworkStatsServiceTest Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest Bug: 69714690, 72320957 Change-Id: Ic32cdcbe093d08b73b0e4b23d6910b23ea8e1968 Exempt-From-Owner-Approval: approved in previous PS
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions