Lines Matching defs:bytes
1449 static void populateScanResult(ScanResult result, byte bytes[], String dbg) {
1451 if (bytes == null) return;
1453 for (int i = 0; i < bytes.length - 1; ) {
1454 int type = bytes[i] & 0xFF;
1455 int len = bytes[i + 1] & 0xFF;
1456 if (i + len + 2 > bytes.length) {
1462 if (DBG) Log.i(TAG, dbg + "bytes[" + i + "] = [" + type + ", " + len + "]" + ", " +
1476 int type = bytes[index] & 0xFF;
1477 int len = bytes[index + 1] & 0xFF;
1481 elem.bytes = new byte[len];
1483 elem.bytes[j] = bytes[index + j + 2];
1490 secondChanelOffset = bytes[inforStart + 1] & 0x3;
1492 channelMode = bytes[inforStart];
1493 centerFreqIndex1 = bytes[inforStart + 1];
1494 centerFreqIndex2 = bytes[inforStart + 2];
1502 if ((bytes[inforStart + tempIndex] & ((byte)0x1 << offset)) != 0) {
1558 synchronized static void onFullScanResult(int id, ScanResult result, byte bytes[]) {
1560 "num = " + bytes.length);
1565 populateScanResult(result, bytes, " onFullScanResult ");
2302 populateScanResult(results[i], results[i].bytes, "onPnoNetworkFound ");