Merge "Pivot network statistics to use DataInput/Output." am: 14b8536eb3 am: 67ae1d500b am: 2ac863a446

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44be7ea64d012f35d312ae3b039b0fd7e37e9d60
This commit is contained in:
Treehugger Robot
2021-01-08 11:49:37 +00:00
committed by Automerger Merge Worker

View File

@@ -64,7 +64,6 @@ import org.junit.runner.RunWith;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
@@ -124,7 +123,7 @@ public class NetworkStatsCollectionTest {
// now export into a unified format
final ByteArrayOutputStream bos = new ByteArrayOutputStream();
collection.write(new DataOutputStream(bos));
collection.write(bos);
// clear structure completely
collection.reset();
@@ -152,7 +151,7 @@ public class NetworkStatsCollectionTest {
// now export into a unified format
final ByteArrayOutputStream bos = new ByteArrayOutputStream();
collection.write(new DataOutputStream(bos));
collection.write(bos);
// clear structure completely
collection.reset();
@@ -180,7 +179,7 @@ public class NetworkStatsCollectionTest {
// now export into a unified format
final ByteArrayOutputStream bos = new ByteArrayOutputStream();
collection.write(new DataOutputStream(bos));
collection.write(bos);
// clear structure completely
collection.reset();