e31290e1c2eebf70c5ab22091a9520c7a001161e |
|
12-Apr-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: add utility to check printability When logging data, it's useful to know whether or not the data is plain ASCII. (If so, we can print the data raw. Otherwise, we need to base64 encode the data.) To meet this need: add a utility method to check if a byte buffer contains (only) printable ASCII. BUG=27554392 TEST=unit tests Change-Id: If818bc378c6f146e7517f6ae4bb36b4b5bb8db48
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/StringUtil.java
|