summaryrefslogtreecommitdiff
path: root/core/java/android/util/DataUnit.java
Commit message (Collapse)AuthorAgeFilesLines
* API council requested tweaks to DataUnit.Jeff Sharkey2018-03-261-0/+2
| | | | | | Test: none Bug: 71584606 Change-Id: Ic516dd7645e150586d7dd2e389e7663a32924ecc
* Add DataUnit to clarify SI-vs-IEC units.Jeff Sharkey2018-01-191-4/+7
| | | | | | | | Improve docs and propose it as public API. Test: builds, boots Bug: 70915728 Change-Id: I9b55601e9eb8c069eeccd5f8f5e64fb34e336fd2
* Add DataUnit to clarify SI-vs-IEC units.Jeff Sharkey2018-01-071-0/+41
Mirrors the design of TimeUnit and ChronoUnit which many developers are already familiar with, making it easy to pick up and use. Yes, this is an enum. Bug: 70915728 Test: bit FrameworksCoreTests:android.util.DataUnitTest Change-Id: Id0cfdac5c81ed89c3c9ece23c964acba4a4f8471