[MS36] Remove unused getNetwork[Total|Uid]Bytes
Since the usages are all removed, clean up the unused code accordingly. Test: TH Bug: 204830222 Change-Id: Ia6863a7098632580b411bd79550754e511ea2543
This commit is contained in:
@@ -1690,26 +1690,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private class NetworkStatsManagerInternalImpl extends NetworkStatsManagerInternal {
|
private class NetworkStatsManagerInternalImpl extends NetworkStatsManagerInternal {
|
||||||
@Override
|
|
||||||
public long getNetworkTotalBytes(NetworkTemplate template, long start, long end) {
|
|
||||||
Trace.traceBegin(TRACE_TAG_NETWORK, "getNetworkTotalBytes");
|
|
||||||
try {
|
|
||||||
return NetworkStatsService.this.getNetworkTotalBytes(template, start, end);
|
|
||||||
} finally {
|
|
||||||
Trace.traceEnd(TRACE_TAG_NETWORK);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public NetworkStats getNetworkUidBytes(NetworkTemplate template, long start, long end) {
|
|
||||||
Trace.traceBegin(TRACE_TAG_NETWORK, "getNetworkUidBytes");
|
|
||||||
try {
|
|
||||||
return NetworkStatsService.this.getNetworkUidBytes(template, start, end);
|
|
||||||
} finally {
|
|
||||||
Trace.traceEnd(TRACE_TAG_NETWORK);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setUidForeground(int uid, boolean uidForeground) {
|
public void setUidForeground(int uid, boolean uidForeground) {
|
||||||
NetworkStatsService.this.setUidForeground(uid, uidForeground);
|
NetworkStatsService.this.setUidForeground(uid, uidForeground);
|
||||||
|
|||||||
Reference in New Issue
Block a user