Home
last modified time | relevance | path

Searched refs:isAsciiPrintable (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DStringUtilTest.java43 assertTrue(StringUtil.isAsciiPrintable(null)); in nullArrayDoesNotCauseCrash()
49 assertTrue(StringUtil.isAsciiPrintable(new byte[]{})); in emptyArrayIsPrintable()
55 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'a'})); in arrayWithSinglePrintableByteIsPrintable()
64 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'a', 'b'})); in arrayWithMultiplePrintableBytesIsPrintable()
73 assertTrue(StringUtil.isAsciiPrintable(new byte[]{0x07})); // bell in printableControlCharactersAreConsideredPrintable()
74 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\f'})); // form feed in printableControlCharactersAreConsideredPrintable()
75 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\n'})); in printableControlCharactersAreConsideredPrintable()
76 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\t'})); in printableControlCharactersAreConsideredPrintable()
77 assertTrue(StringUtil.isAsciiPrintable(new byte[]{0x0b})); // vertical tab in printableControlCharactersAreConsideredPrintable()
83 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\n'})); in arrayWithNewlineIsPrintable()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DStringUtil.java29 public static boolean isAsciiPrintable(byte[] byteArray) { in isAsciiPrintable() method in StringUtil
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java451 if (StringUtil.isAsciiPrintable(mDriverStateDump)) { in toString()