/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 40 public class ConcurrentSharedRingBuffer<E> { 46 public static interface SwapTask<E> { 53 public E create(); in create() 62 public E swap(E oldElement); in swap() 72 public void update(E existingElement); in update() 89 public static interface Selector<E> { 94 public boolean select(E element); in select() 112 private static class Pinnable<E> { 113 private E mElement; 118 public Pinnable(E element) { in Pinnable() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractKeyboardBuilder.java | 30 abstract class AbstractKeyboardBuilder<E> { 32 private E[][] mRows; 35 abstract E defaultElement(); in defaultElement() 37 abstract E[] newArray(final int size); in newArray() 39 abstract E[][] newArrayOfArray(final int size); in newArrayOfArray() 54 AbstractKeyboardBuilder(final E[][] rows) { in AbstractKeyboardBuilder() 57 final E[] row = rows[rowIndex]; in AbstractKeyboardBuilder() 66 E[][] build() { in build() 84 E[] getRowAt(final int row) { in getRowAt() 98 void setRowAt(final int row, final E[] elements) { in setRowAt() [all …]
|
/packages/modules/NeuralNetworks/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 36 …NNTRACE_RT(NNTRACE_PHASE_PREPARATION, t1: t_m_w:E|T1 … 47 "funcA1); t2: t_m_w:E|T1 48 …... funcR1(...); t3: t_m_w:E|T1 … 70 ... t2: t_m_w:E|T1 71 …NNTRACE_COMP_SWITCH("funcC1"); t3: t_m_w:E|T1 … 84 …"funcR2); t2: t_m_w:E|T1 total… 85 ... funcC2(...); t3: t_m_w:E|T1 99 "funcR3); t2: t_m_w:E|T1 100 …... funcR4(...); t3: t_m_w:E|T1 … 117 ... device->getCapabilities() t3: t_m_w:E|T1 [all …]
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/packed/read/ |
D | BaseTypedPackedTable.java | 31 abstract class BaseTypedPackedTable<E extends Table.TableEntry<E>> implements Table<E> { 50 public E getEntryByIndex(int i) { in getEntryByIndex() 62 protected abstract E createEntry(PackedTableReader.Entry entry); in createEntry() 65 public E getEntry(int key) { in getEntry() 74 E wrapEntryOrNull(PackedTableReader.Entry entry) { in wrapEntryOrNull() 82 abstract class BasePackedTableEntry implements TableEntry<E> { 101 public E getPrevious() { in getPrevious() 107 public E getNext() { in getNext()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarVendorExtensionManager.java | 158 public <E> E getGlobalProperty(Class<E> propertyClass, int propId) { in getGlobalProperty() 172 public <E> E getProperty(Class<E> propertyClass, int propId, int area) { in getProperty() 186 public <E> void setGlobalProperty(Class<E> propertyClass, int propId, E value) { in setGlobalProperty() 202 public <E> void setProperty(Class<E> propertyClass, int propId, int area, E value) { in setProperty()
|
D | CarPropertyConfig.java | 438 private static <E> Parcelable.Creator<AreaConfig<E>> getCreator(final Class<E> clazz) { in getCreator() 439 return new Creator<AreaConfig<E>>() { in getCreator() 441 public AreaConfig<E> createFromParcel(Parcel source) { in getCreator() 446 public AreaConfig<E>[] newArray(int size) { in getCreator() 447 return (AreaConfig<E>[]) Array.newInstance(clazz, size); in getCreator()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Result.h | 48 template <typename T, typename E> 49 operator base::expected<T, E>() /* NOLINT(google-explicit-constructor) */ { 52 return base::unexpected<E>(E{std::move(mStream).str(), std::move(args)...}); 99 template <typename T, typename E> 100 bool nnTryHasValue(const base::expected<T, E>& o) { in nnTryHasValue() 104 template <typename T, typename E> 105 T nnTryGetValue(base::expected<T, E> o) { in nnTryGetValue() 109 template <typename T, typename E> 110 base::unexpected<E> nnTryGetError(base::expected<T, E> o) { in nnTryGetError()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntSparseArrayMap.java | 26 public class IntSparseArrayMap<E> extends SparseArray<E> implements Iterable<E> { 37 public IntSparseArrayMap<E> clone() { in clone() 38 return (IntSparseArrayMap<E>) super.clone(); in clone() 42 public Iterator<E> iterator() { in iterator() 46 @Thunk class ValueIterator implements Iterator<E> { 56 public E next() { in next()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | LruList.java | 30 public class LruList<E> { 32 private LinkedList<E> mLinkedList; 40 mLinkedList = new LinkedList<E>(); in LruList() 50 public void add(@NonNull E entry) { in add() 67 public void remove(@NonNull E entry) { in remove() 82 public @NonNull List<E> getEntries() { in getEntries() 83 return new ArrayList<E>(mLinkedList); in getEntries() 98 public int indexOf(E entry) { in indexOf()
|
D | MissingCounterTimerLockList.java | 33 public class MissingCounterTimerLockList<E> { 36 private final Map<E, LockListEntry> mEntries; 53 public void update(@NonNull Set<E> entrySet) { in update() 57 for (Map.Entry<E, LockListEntry> mapEntry : mEntries.entrySet()) { in update() 75 public void add(@NonNull E entry, long duration, long maxTimeoutDuration) { in add() 87 public boolean remove(@NonNull E entry) { in remove() 96 public boolean isLocked(@NonNull E entry) { in isLocked()
|
D | GeneralUtil.java | 32 public static final class Mutable<E> { 33 public E value; 39 public Mutable(E value) { in Mutable()
|
/packages/services/Car/service/src/com/android/car/ |
D | SparseArrayStream.java | 32 public static <E> IntStream keyStream(SparseArray<E> array) { in keyStream() 36 public static <E> Stream<E> valueStream(SparseArray<E> array) { in valueStream() 40 public static <E> Stream<Pair<Integer, E>> pairStream(SparseArray<E> array) { in pairStream()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseArray.java | 22 public class SparseArray<E> { 24 private final ArrayList<E> mValues; 44 public void put(final int key, final E value) { in put() 55 public E get(final int key) { in get() 59 public E get(final int key, final E valueIfKeyNotFound) { in get() 71 public int indexOfValue(final E value) { in indexOfValue() 79 public E valueAt(final int index) { in valueAt()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
D | PushBackIterator.java | 23 public final class PushBackIterator<E> implements Iterator<E> { 25 private final ArrayList<E> mPushBackStack = new ArrayList<>(); 27 private final Iterator<E> mIterator; 29 public PushBackIterator(Iterator<E> iterator) { in PushBackIterator() 39 public E next() { in next() 49 public void pushBack(E element) { in pushBack()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | CircularArray.java | 25 public class CircularArray<E> { 55 public void add(E object) { in add() 84 public E getFree() { in getFree() 88 return (E) mList[mNextWriter]; in getFree() 100 public E get(int index) { in get() 106 return (E) mList[wrappedIndex]; in get() 108 return (E) mList[index]; in get()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 3 …GooglePixelHDR+ 1.0.161899179z2017:07:27 18:50:38HH$|��E�'�3"�… 8 …�Q���'$�I`�6�� KV��+�#�'u,��\��%&1\��r}�''��)���SrѨ�'s~�`{�0��.o��E��k3 �Gmm��.�UZeN����… 14 …�z4m:����7<k֎�Bl���$/�Pe��0i����=���ϋ������+�ar�� f����Go�'�5���vb�E�%X_�k.�d�G�����n�… 15 …3h����ٴ*T����(�J�Hj�&�WJ�M+�Ln��tÅ���h�۱�t��G<��Bvþ���ӯhk��������WerG�E�pBħ3T�=9���6JMt… 19 …E��f����1qc�f����2�z�t�37��A�K�R�|��P�j<i��d�č%��&g��S���0��WaLB9�[%_��֦I��V2XOH�.�T_��v… 27 A�4�P]X߸͒x�6w#<[���Kט&gn|o��� ��ºϺ�4����Y����J@��B0-n�M�b˄�vu���>E�㖳a�p�}���oE���c… 30 …E[�����{�`��Xy*g2+ۿ���j�G.z��l��3DN�1�����o��xY/4R��_H�i����6&��Q�xQ��+V٢����DF�U_���W��6… 39 ���㉌������E�xj��V��&CT�B�J�z�(Z4)�u'�q(nNq¬�`[� 40 ql�zqV�a�rP�W���x#\N�r�S8�D��mX��E��1��)�F��9ZU�_���'���~��m�*Gc�c�$i�H�s���Ua�z�ׅ�C���y�…
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/testing/ |
D | TestSupport.java | 30 public static <E> List<E> listOf(E... values) { in listOf() 35 public static <E> Set<E> setOf(E... values) { in setOf()
|
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/ |
D | ViewCompatProcessor.java | 32 C extends GeneratedMessageLite<C, ?>, E extends GeneratedMessageLite<E, ?>> { 36 private final Parser<E> mEventParser; 39 ViewCompatProcessor(PrivateCommandSender commandSender, Parser<E> eventParser) { in ViewCompatProcessor() 44 private final E sessionEventFromBundle(Bundle eventArgs) throws InvalidProtocolBufferException { in sessionEventFromBundle() 70 E sessionEvent = sessionEventFromBundle(eventArgs); in handleEvent() 89 protected abstract void handleSessionEvent(String inputId, E sessionEvent); in handleSessionEvent()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 144 public static <E> ObjectHolder<E> newInstance() { in newInstance() 145 return new ObjectHolder<E>(); in newInstance() 148 public static <E> ObjectHolder<E> newInstance(E value) { in newInstance() 149 ObjectHolder<E> holder = new ObjectHolder<E>(); in newInstance()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | AsyncResultHolder.java | 29 public class AsyncResultHolder<E> { 33 private E mResult; 47 public void set(final E result) { in set() 64 public E get(final E defaultValue, final long timeOut) { in get()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBackgroundWorker.java | 53 public abstract class SliceBackgroundWorker<E> implements Closeable { 64 private List<E> mCachedResults; 144 public final List<E> getResults() { in getResults() 151 protected final void updateResults(List<E> results) { in updateResults() 168 protected boolean areListsTheSame(List<E> a, List<E> b) { in areListsTheSame()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | StoreUtils.java | 156 public static <E> E getObjectAttrFromPersistableBundle(PersistableBundle bundle, in getObjectAttrFromPersistableBundle() 157 String attrName, Function<PersistableBundle, E> converter) { in getObjectAttrFromPersistableBundle() 162 public static <E> E getStringAttrFromPersistableBundle(PersistableBundle bundle, in getStringAttrFromPersistableBundle() 163 String attrName, Function<String, E> converter) { in getStringAttrFromPersistableBundle()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 700 public <E> CarPropertyValue<E> getProperty(@NonNull Class<E> clazz, int propId, int areaId) { in getProperty() 709 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty() 773 public <E> CarPropertyValue<E> getProperty(int propId, int areaId) { in getProperty() 777 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty() 840 public <E> void setProperty(@NonNull Class<E> clazz, int propId, int areaId, @NonNull E val) { in setProperty()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CollectionUtils.java | 44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start, in arrayAsList() 51 final ArrayList<E> list = new ArrayList<>(end - start); in arrayAsList()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaLoaderUtils.java | 71 static <K extends Enum, E extends Enum> E getEnum( in getEnum() 72 JSONObject json, K key, Map<String, E> enumMap, E fallback) { in getEnum() 73 E result = enumMap.get(getString(json, key)); in getEnum()
|