OSDN Git Service

TIF: Use System.nanoTime() to measure execution durations in sessions
authorJae Seo <jaeseo@google.com>
Sat, 21 Nov 2015 01:00:26 +0000 (17:00 -0800)
committerJae Seo <jaeseo@google.com>
Sat, 21 Nov 2015 01:00:26 +0000 (17:00 -0800)
commitc94c05182227bb53d02c81ddbedfb4c70d0b134a
tree3f8cf62b817176bed9c920be5a6e4d251ed93962
parent7e13a4830664fb68420ece2f51ddf9b83f18e584
TIF: Use System.nanoTime() to measure execution durations in sessions

When the wall clock is adjusted to the broadcast time, the duration
measurement in ITvInputSessionWrapper may go wrong. To avoid this, use
System.nanoTime() that doesn't depend on the wall clock.

Bug: 25370822
Change-Id: I2ddb968b5e146500429b82979fe48262bf335993
media/java/android/media/tv/ITvInputSessionWrapper.java