diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-06-12 13:41:17 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-06-17 11:18:53 +0900 |
commit | 8c6c2c3c929acad783b9a56b8d9efa597d0ae609 (patch) | |
tree | de082b0ae0e84c7aa46ed149911a9371216273e0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 97df96d8ebabd437db6a7691b8260bd51cf7f8d5 (diff) |
IpPrefix improvements.
1. Allow IpPrefixes to be created from strings. In order to do
this, factor out the code from LinkAddress which already does
this to a small utility class in NetworkUtils.
2. Truncate prefixes on creation, fixing a TODO.
3. Add a toString method.
4. Write a unit test.
While I'm at it, make RouteInfoTest pass again, and convert it
to use IpPrefix instead of LinkAddress.
Change-Id: I5f68f8af8f4aedb25afaee00e05369f01e82a70b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions