Searched refs:dataOutput (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/robotests/src/com/android/server/backup/ |
D | PerformBackupTaskTest.java | 293 (oldState, dataOutput, newState) -> { in testRunTask_callsTransportPerformBackupWithAgentData() 294 writeData(dataOutput, "key1", "foo".getBytes()); in testRunTask_callsTransportPerformBackupWithAgentData() 295 writeData(dataOutput, "key2", "bar".getBytes()); in testRunTask_callsTransportPerformBackupWithAgentData() 368 (oldState, dataOutput, newState) -> { in testRunTask_whenProhibitedKey_failsAgent() 370 writeData(dataOutput, prohibitedChar + "key", "foo".getBytes()); in testRunTask_whenProhibitedKey_failsAgent() 597 return dataOutput -> dataOutput.getTransportFlags() == flags; in dataOutputWithTransportFlags() 600 private static void writeData(BackupDataOutput dataOutput, String key, byte[] data) in writeData() argument 602 dataOutput.writeEntityHeader(key, data.length); in writeData() 603 dataOutput.writeEntityData(data, data.length); in writeData() 615 BackupDataOutput dataOutput, in onBackup() argument
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 221 DataOutputStream dataOutput = new DataOutputStream( in writeNewMd5Checksum() local 224 dataOutput.writeInt(STATE_VERSION); in writeNewMd5Checksum() 225 dataOutput.write(md5Checksum); in writeNewMd5Checksum()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 469 DataOutputStream dataOutput = new DataOutputStream( in writeNewChecksums() local 472 dataOutput.writeInt(STATE_VERSION); in writeNewChecksums() 474 dataOutput.writeLong(checksums[i]); in writeNewChecksums() 476 dataOutput.close(); in writeNewChecksums()
|