diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-06-26 10:20:00 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-07-05 16:07:57 +0900 |
commit | 91c7ff95bd69d0514a5c4b440a73fb2ca4b03b85 (patch) | |
tree | 513e4ce12a07a07442b2757a1a20e3621831cf2e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b1eb85c9a8d314461f44a30d37604f7a0eb7315c (diff) |
ConnectivityServiceTest: eliminate remaining sleep()
ConnectivityServiceTest was still using sleep() in a few places although
these were unnecessary:
- in testSatisfiedThenLostNetworkRequestDoesNotTriggerOnAvailable(),
expectNoCallback() and expectAvailableCallback() already include
waitForIdleHandler calls that drain the message queues and make
sleep no-ops.
- in testTimedoutAfterUnregisterdNetworkRequest, the sleeps were
introduced before unregisterNetworkCallback was changed to have a
synchronous effect for callback unregistration, therefore the sleep
becomes simply non-sensical. To reflect this the name of the method
is also changed.
Bug: 62918393
Test: runtest frameworks-net
Change-Id: I7b701ecf5846a5e1890e86107b8d2544b419ce44
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions