Home
last modified time | relevance | path

Searched refs:mArrayList (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java25 private ArrayList<byte[]> mArrayList; field in ByteArrayRingBuffer
38 mArrayList = new ArrayList<byte[]>(); in ByteArrayRingBuffer()
58 mArrayList.add(newData); in appendBuffer()
69 return mArrayList.get(i); in getBuffer()
77 return mArrayList.size(); in getNumBuffers()
92 while (i < mArrayList.size() && newBytesUsed > sizeBytes) { in pruneToSize()
93 newBytesUsed -= mArrayList.get(i).length; in pruneToSize()
96 mArrayList.subList(0, i).clear(); in pruneToSize()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java466 private ArrayList<E> mArrayList; field in WifiDiagnostics.LimitedCircularArray
469 mArrayList = new ArrayList<E>(max); in LimitedCircularArray()
474 if (mArrayList.size() >= mMax) in addLast()
475 mArrayList.remove(0); in addLast()
476 mArrayList.add(e); in addLast()
480 return mArrayList.size(); in size()
484 return mArrayList.get(i); in get()