Home
last modified time | relevance | path

Searched refs:mElements (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java167 private TreeMap<Long, Pinnable<E>> mElements; field in ConcurrentSharedRingBuffer
189 mElements = new TreeMap<Long, Pinnable<E>>(); in ConcurrentSharedRingBuffer()
237 existingElement = mElements.get(newKey); in swapLeast()
256 mElements.put(newKey, p); in swapLeast()
304 mElements.remove(toSwapEntry.first); in swapLeast()
315 mElements.put(newKey, toSwap); in swapLeast()
342 if (mElements.isEmpty()) { in tryPin()
346 entry = mElements.get(key); in tryPin()
384 Pinnable<E> element = mElements.get(key); in release()
428 if (mElements.isEmpty()) { in tryPinGreatest()
[all …]
/packages/services/Car/service/src/com/android/car/util/
DSlidingWindow.java31 private final ArrayDeque<T> mElements; field in SlidingWindow
37 mElements = new ArrayDeque<>(mMaxSize); in SlidingWindow()
42 if (mElements.size() == mMaxSize) { in add()
43 mElements.removeFirst(); in add()
45 mElements.addLast(sample); in add()
55 return mElements.iterator(); in iterator()
60 return mElements.stream(); in stream()
65 return mElements.size(); in size()
/packages/modules/AppSearch/safeparcel-processor/src/android/app/appsearch/safeparcel/
DSafeParcelProcessor.java88 Elements mElements; field in SafeParcelProcessor
159 PackageElement parcelablePackage = mElements.getPackageOf(parcelableClass); in ParcelableClass()
197 mElements = processingEnv.getElementUtils(); in init()
202 mStringType = mElements.getTypeElement("java.lang.String").asType(); in init()
203 mListType = mElements.getTypeElement("java.util.List").asType(); in init()
204 mArrayListType = mElements.getTypeElement("java.util.ArrayList").asType(); in init()
205 mSetType = mElements.getTypeElement("java.util.Set").asType(); in init()
206 mHashSetType = mElements.getTypeElement("java.util.HashSet").asType(); in init()
207 mBigIntegerType = mElements.getTypeElement("java.math.BigInteger").asType(); in init()
208 mBigDecimalType = mElements.getTypeElement("java.math.BigDecimal").asType(); in init()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DAnqpEvent.java54 private final Map<Constants.ANQPElementType, ANQPElement> mElements; field in AnqpEvent
58 mElements = elements; in AnqpEvent()
72 return mElements; in getElements()
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DDiagnosticEventBuilder.java43 private final SparseArray<T> mElements = new SparseArray<>(); field in DiagnosticEventBuilder.DefaultedArray
62 mElements.put(index, element); in set()
68 return mElements.get(index, mDefaultValue); in get()
76 mElements.clear(); in clear()