Home
last modified time | relevance | path

Searched refs:dataInputStream (Results 1 – 3 of 3) sorted by relevance

/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberBackupAgent.java66 DataInputStream dataInputStream = in onBackup() local
70 state = readState(dataInputStream); in onBackup()
72 IoUtils.closeQuietly(dataInputStream); in onBackup()
99 private BackupState readState(DataInputStream dataInputStream) throws IOException { in readState() argument
101 if (dataInputStream.available() > 0) { in readState()
102 version = dataInputStream.readInt(); in readState()
105 while (dataInputStream.available() > 0) { in readState()
106 state.ids.add(dataInputStream.readInt()); in readState()
158 private String readString(DataInputStream dataInputStream) in readString() argument
160 if (dataInputStream.readBoolean()) { in readString()
[all …]
/packages/services/Car/car-lib/src/android/car/telemetry/
DCarTelemetryManager.java506 try (DataInputStream dataInputStream = new DataInputStream( in parseReports() argument
510 int size = dataInputStream.readInt(); in parseReports()
511 byte[] bundleBytes = dataInputStream.readNBytes(size); in parseReports()
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java967 DataInputStream dataInputStream = new DataInputStream(inputStream)) { in getDataWithFd()
972 final int expectedReportSize = dataInputStream.readInt(); in getDataWithFd()
986 while ((chunkLen = dataInputStream.read(chunk, 0, CHUNK_SIZE)) != -1) { in getDataWithFd()