Home
last modified time | relevance | path

Searched refs:K (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/base/cmds/incident_helper/testdata/
Dprocrank.txt2 1119 2607640K 339564K 180278K 114216K 1584K 46K 0K 10K system_server
3 649 11016K 1448K 98K 48K 472K 342K 212K 75K /vendor/bin/qseecomd
5 1201993K 935300K 88164K 31069K 27612K 6826K TOTAL
7 ZRAM: 6828K physical used for 31076K in swap (524284K total swap)
8 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
Dprocrank_short.txt2 1119 2607640K 339564K 180278K 114216K system_server
3 649 11016K 1448K 98K 48K /vendor/bin/qseecomd
5 1201993K 935300K TOTAL
7 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DWeakIdentityHashMap.java30 public class WeakIdentityHashMap<K,V> {
32 private final HashMap<WeakReference<K>,V> mMap = new HashMap<>();
42 public void put(K key, V value) { in put()
47 public V get(K key) { in get()
57 public Set<Map.Entry<WeakReference<K>, V>> entrySet() { in entrySet()
71 private static class CmpWeakReference<K> extends WeakReference<K> {
74 public CmpWeakReference(K key) { in CmpWeakReference()
79 public CmpWeakReference(K key, ReferenceQueue<Object> refQueue) { in CmpWeakReference()
89 K k = get(); in equals()
/frameworks/base/core/java/android/util/
DLruCache.java64 public class LruCache<K, V> {
66 private final LinkedHashMap<K, V> map;
88 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache()
113 public final V get(K key) { in get()
167 public final V put(K key, V value) { in put()
199 K key; in trimToSize()
211 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize()
232 public final V remove(K key) { in remove()
267 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved()
284 protected V create(K key) { in create()
[all …]
DMapCollections.java32 abstract class MapCollections<K, V> {
74 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
90 public Map.Entry<K, V> next() { in next()
109 public K getKey() { in getKey()
114 return (K)colGetEntry(mIndex, 0); in getKey()
167 final class EntrySet implements Set<Map.Entry<K, V>> {
169 public boolean add(Map.Entry<K, V> object) { in add() argument
174 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() argument
176 for (Map.Entry<K, V> entry : collection) { in addAll()
217 public Iterator<Map.Entry<K, V>> iterator() { in iterator()
[all …]
DArrayMap.java54 public final class ArrayMap<K, V> implements Map<K, V> {
122 private MapCollections<K, V> mCollections;
353 public ArrayMap(ArrayMap<K, V> map) { in ArrayMap() argument
499 public K keyAt(int index) { in keyAt()
505 return (K)mArray[index << 1]; in keyAt()
569 public V put(K key, V value) { in put()
636 public void append(K key, V value) { in append()
701 public void putAll(ArrayMap<? extends K, ? extends V> array) { in putAll() argument
841 K key = keyAt(i); in equals()
919 private MapCollections<K, V> getCollection() { in getCollection()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DObjectCounter.java32 public class ObjectCounter<K> implements Iterable<Map.Entry<K, Integer>> {
33 private ArrayMap<K, Integer> mCounter;
56 public int getCount(K key) { in getCount()
63 public void increment(K key) { in increment()
70 public void add(K key, int count) { in add()
88 public Iterator<Map.Entry<K, Integer>> iterator() { in iterator()
114 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<K, T> converter) { in toProto() argument
118 for (Map.Entry<K, Integer> entry : this) { in toProto()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DArrayMapWithHistoryTest.java115 private static <K, V> void putAndCompareReturnValue(ArrayMapWithHistory<K, V> historyMap, in putAndCompareReturnValue() argument
116 ArrayMap<K, V> arrayMap, K key, V value) { in putAndCompareReturnValue() argument
120 private static class Entry<K, V> {
121 public final K key;
124 Entry(K key, V value) { in Entry()
130 private static <K, V> Entry<K, V> entry(K key, V value) { in entry()
135 private static <K, V> void compareGetAndSizeForKeys(ArrayMapWithHistory<K, V> historyMap, in compareGetAndSizeForKeys() argument
136 ArrayMap<K, V> arrayMap, Entry<K, V>... expectedEntries) { in compareGetAndSizeForKeys() argument
137 for (Entry<K, V> expectedEntry : expectedEntries) { in compareGetAndSizeForKeys()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java44 public class UnrefedPooledCache<K, V extends Poolable> implements PooledCache<K, V> {
46 private final LinkedHashMap<K, V> mCache;
49 private final LruCache<K, V> mNonPooledCache;
60 mCache = new LinkedHashMap<K, V>(0, 0.75f, true); in UnrefedPooledCache()
72 public V get(K key, boolean incrementRefCount) { in get()
88 public V put(K key, V value) { in put()
131 Map.Entry<K, V> eldestUnref = null; in poll()
132 for (Map.Entry<K, V> entry : mCache.entrySet()) { in poll()
191 for (Map.Entry<K, V> item : mCache.entrySet()) { in toDebugString()
201 for (Map.Entry<K, V> item : mNonPooledCache.snapshot().entrySet()) { in toDebugString()
[all …]
DPooledCache.java19 public interface PooledCache<K, V> {
21 V get(K key, boolean incrementRefCount); in get()
22 V put(K key, V value); in put()
/frameworks/base/test-runner/src/android/test/
DSimpleCache.java23 abstract class SimpleCache<K, V> {
24 private Map<K, V> map = new HashMap<K, V>();
26 protected abstract V load(K key); in load()
28 final V get(K key) { in get()
/frameworks/base/telephony/common/com/google/android/mms/util/
DAbstractCache.java25 public abstract class AbstractCache<K, V> {
32 private final HashMap<K, CacheEntry<V>> mCacheMap;
36 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache()
40 public boolean put(K key, V value) { in put()
68 public V get(K key) { in get()
87 public V purge(K key) { in purge()
/frameworks/rs/cpp/util/
DTypeHelpers.h249 template <typename K, typename V>
250 struct trait_trivial_ctor< key_value_pair_t<K, V> >
251 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; };
252 template <typename K, typename V>
253 struct trait_trivial_dtor< key_value_pair_t<K, V> >
254 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; };
255 template <typename K, typename V>
256 struct trait_trivial_copy< key_value_pair_t<K, V> >
257 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; };
258 template <typename K, typename V>
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
DLinkedHashMap_Delegate.java32 public static <K,V> Map.Entry<K,V> eldest(LinkedHashMap<K,V> map) { in eldest() argument
33 Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); in eldest()
/frameworks/rs/cpu_ref/
DrsCpuBLASDispatch.h40 const int N, const int K, const float *A, const int lda,
51 const int N, const int K, const float *A, const int lda,
73 const int N, const int K, const double *A, const int lda,
84 const int N, const int K, const double *A, const int lda,
106 const int N, const int K, const void *A, const int lda,
117 const int N, const int K, const void *A, const int lda,
139 const int N, const int K, const void *A, const int lda,
150 const int N, const int K, const void *A, const int lda,
165 const int N, const int K, const float alpha, const float *A,
194 const int N, const int K, const double alpha, const double *A,
[all …]
/frameworks/base/tests/LegacyRestoreTest/
Djbmr2-encrypted-settings-abcd.ab10 ���$t�)�&����Y�e�Y��� ?A>Q��ª_j��a<�E��K��g�;�e���c��:k�(�K*rFA�ȏ�"��wR���&�%�?\��}����z��…
13 …tክ�:[�]�r )��Ayާ�5;JM����<pJ�˓�����'�?H���k��N�<�7��Ww4�-XReTr�VZ��K<����'ɷ���;����…
14 �&d?�6g1g�K��^�?�(<Ȭ��F�R���2’]����?e�p��� EO���3 ����{n{��Sn$��� ��fcʲ1i�Bu�z�1z� � XG��E�K�…
15K ��;�Q2���+�b�w�-uy xj��^�qqy��>� ��`�x���⼖��0���I�0j��T�z�,aB�Zo���(7 �V5��.���$����…
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt112 private class OrderedMap<K, V>(private val map: MutableMap<K, V>) : MutableMap<K, V> by map { in <lambda>()
114 val orderedKeys = mutableListOf<K>() in <lambda>()
116 override fun put(key: K, value: V): V? { in <lambda>()
128 override fun remove(key: K): V? { in <lambda>()
/frameworks/rs/cpp/
DScriptIntrinsicBLAS.cpp52 int M, int N, int K, int incX, int incY, int KL, int KU, in setUpBLASCall() argument
67 call.K = K; in setUpBLASCall()
108 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Single() argument
112 M, N, K, incX, incY, KL, KU, alpha, beta, 0.0, 0.0, in nScriptIntrinsicBLAS_Single()
122 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Double() argument
126 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, alpha, beta, in nScriptIntrinsicBLAS_Double()
135 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Complex() argument
139 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0, in nScriptIntrinsicBLAS_Complex()
148 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Z() argument
152 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0, in nScriptIntrinsicBLAS_Z()
[all …]
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr2 …M���R�['���E`|X�<Mq�I�C��:8%�h��[(q]���V���<`<4]�� ��x��K˳�'+�{��{���KP<Zga4� ��^�?�y苁�s`…
6 ]�is��n�,�U����!������<x@0�E�ȍ:�_K�.LJ�:����<$9(6pT��s:����A�I�uNiS��vp<ۘ��R�����`…
21 ؠ<���W%�g-KLo�}�G�@J��bҗ�Z�<[›�'����?��K���B�j˞|���!�`<4���k��3�::�۩m�O�$�q��`+� <Y���"��…
35 …���k/0��"Y]�Qa�<x;0~��ie����U+�t���Ɓziy�Z�<G9�_|���K]\%I\�h6J��yP`��<N�����燌��b<̎�K"…
43 …b�:�\W�C���E�M�������<�y:��!�R�.UCR�p��.�2�}`����<�)��)�l��T�h���~\�(�_��<������K�…
97 �W�<h[t��(��J��UJ��?8K����|AՐ<�)aG���瘐 �K��� ��b��7�奒�_��<�qwH��0r݄zCmu�����w���AD�<#�`l…
124 ���i��0<�-&5Wq���9\{��5�����T���Z!�<0�>`&K��X�Z͐��K�b!!� EꙸtP<8�&K��w�J������P��
125 …I�������j$�W��j����'��Kޜ0<DvcA�w�UХrT̈́j�J��B��� 5p<��}J��i�~)�ՄA��xD0a�?����<�6)A�_���…
153 ���K(n�3����aV�T�`<dG�Z!��̾�1�Q*S��f�D�R�]@<�'����8����2���=��������<"dG�3�A��,�Z()N4��d…
154 …i�5:8)]�b�q��O<�d��w'��LZæ�u,k0f��9)�"�W4�<>$G��<��-��3`Ҭ'<��o�?�`볠<�$6�֒��$�K��L�'ܰ�
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSimpleCache.java25 class SimpleCache<K, V> extends LinkedHashMap<K, V> {
35 protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) { in removeEldestEntry() argument
/frameworks/base/media/jni/soundpool/
DStreamManager.h208 template <typename K, typename V>
223 K generateKey(V value, std::function<K(V)> getKforV, K oldKey = 0) {
229 const K atPosition = getKforV(v);
242 mNextKey = mNextKey == std::numeric_limits<K>::max() ? 1 : mNextKey + 1;
246 const K atPosition = getKforV(v);
259 std::atomic<V> &getValue(K key) { return mK2V[key & (mHashCapacity - 1)]; } in getValue()
260 const std::atomic_int32_t &getValue(K key) const { return mK2V[key & (mHashCapacity - 1)]; } in getValue()
266 K mNextKey GUARDED_BY(mHashLock) {}; in GUARDED_BY()
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java687 …public void STBMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, int K, Allocation A, Al… in STBMV() argument
689 if (K < 0) { in STBMV()
694 …mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_stbmv, TransA, 0, 0, Uplo, Diag, 0, N, K, 0, A.… in STBMV() local
718 …public void DTBMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, int K, Allocation A, Al… in DTBMV() argument
720 if (K < 0) { in DTBMV()
725 …mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dtbmv, TransA, 0, 0, Uplo, Diag, 0, N, K, 0, A.… in DTBMV() local
749 …public void CTBMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, int K, Allocation A, Al… in CTBMV() argument
751 if (K < 0) { in CTBMV()
756 …insicBLAS_Complex(getID(mRS), RsBlas_ctbmv, TransA, 0, 0, Uplo, Diag, 0, N, K, 0, 0, A.getID(mRS),… in CTBMV() local
780 …public void ZTBMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, int K, Allocation A, Al… in ZTBMV() argument
[all …]
/frameworks/base/tools/signedconfig/
Dverify_b64.sh13 K=${3}
14 echo Trying ${K}
15 …openssl dgst -sha256 -verify $(dirname $0)/${K} -signature <(echo ${S} | base64 -d) <(echo ${D} | …
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password13 …)���J��'O��MFa��������A���vI�>O�a��������R!�h$1œ*1�<zI�|��>��ű�K-� EO�F����17�p�0QlB…
14K��4�۵��)u�������[�u�E��N`z�t��،�P��% ��%sBTN;��~���n+ ᓌ����D���Wf�6�jL���n���parj�E��…
16 �i�8H���-M"�n�Df�*�}`Jo( �9�)�i��^[�E4��]Ѽ�Ҳ7Џ�Ӹ���F���*�m��K�w�C$ïJ���7�7R��i���fK����\�/…
25 H�K�����cyhPE�y"�
29 d�Wĥb$b�9Qt[,�F|˩g��hY��)K� ��Jz�yj�T� p4��f�QMR��;o�_b�{n�Xc�t)^v?�� >Ze��̈́��Yq[��Al=W��s…
34 …3�칉���{��8�է�����:_%4f[���MΞx;bM��0�"�|�M��0\Ur�|������t�T���_[�|K'��ȐøٮK����`%��rTtN�8@…
37 …��� ,{�##���z��Wɍ,d<H��T��/���G~�B��`����G��ۖ�m� � _�z����~e��C(��R�K�� ,���sj��-��T�?…
38 …Y�!���Tig(&X_6q�>��5�2��@e��rf��[cDL��C=q��PR�Gi{A���2N��P�x�$���K�qV��lg���vu���El��…
39 Thc� �w=�!#R��5��J�x��]�b.bh��D>��ӎ\�)(O3�����2�g}p�a�6�+�әnoY��vW��c`�pJ�VQ Qγ�Wba!'Ke!�…
41 hRU�`��T<�Vyv[��b26N,5��~G���SAP�gx7��ڎK��l�F�F=U0���E)`���Kƺ'��ڌ/����n�>ނ����g�cT�M����.33…
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DArrayMapWithHistory.java42 public final class ArrayMapWithHistory<K, V> {
49 private ArrayMap<K, ReferenceWithHistory<V>> mMap;
65 public V put(@Nullable K key, @Nullable V value) { in put()
110 public K keyAt(int index) { in keyAt()
164 public int getHistoryCountForKeyForTests(@Nullable K key) { in getHistoryCountForKeyForTests()

123456