OSDN Git Service

Sholes mobile iface comes/goes - handle the reset
authorRobert Greenwalt <robdroid@android.com>
Thu, 15 Apr 2010 00:31:20 +0000 (17:31 -0700)
committerRobert Greenwalt <robdroid@android.com>
Thu, 15 Apr 2010 00:31:20 +0000 (17:31 -0700)
commit8c7e609b530d5dcb34e02788958a84a99501c332
treee2c625e7001d72df1c830afe773c3b6c2a30610a
parentd3d445b1dca98728a37b5163e018ba890fd9cc50
Sholes mobile iface comes/goes - handle the reset

The byte counter for the iface goes to zero when it comes back.  Catch that and
do the complex math to correct.

Also add a log entry telling us our desired throttle index.

Lastly, reset the sec/msec part of our reset time so that one calc will == another and not
be off by little bits.

bug:25494925
Change-Id: I99525b72a76316a8e601ceb457ca202fae040bae
services/java/com/android/server/ThrottleService.java