Skip to content
Commit 6c939314 authored by Junyu Lai's avatar Junyu Lai
Browse files

Return Entry from TrafficStats JNI

This is no-op refactoring which returns [tx|rx][Bytes|Packets]
to the service instead of passing type to JNI and return only
1 value.
This is needed for the follow-up changes to caching values in
a row in the service side.

This change also remove unused JNI methods.

Test: atest NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest
Bug: N/A
Change-Id: I3b6ac97e6a1bff49cffe6153ffc2618f37a9deb4
parent 5b96f865
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment