commit | 265f8bfd99becca62c2bc0d1b2d0d8cc59ca77a9 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Tue Aug 20 13:00:49 2019 +0800 |
committer | Po-Chien Hsueh <pchsueh@google.com> | Fri Nov 22 15:11:36 2019 +0800 |
tree | ab478225a83254f2367f7ecf929ca6c0a2c62bd8 | |
parent | 27253f29ad997d8a1896e94e06cdc11cefe42dc4 [diff] |
Create a SparseInputstream SparseInputStream read from upstream and detects the data format. If the upstream is a valid sparse data, it will unsparse it on the fly. Otherwise, it just passthrough as is. Bug: 139510436 Test: \ java com.android.dynsystem.SparseInputStream system.img system.raw simg2img system.img system.raw.golden diff system.raw system.raw.golden Change-Id: Ibc5c130127a455392484467fe32d638be642afa8