Home
last modified time | relevance | path

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

123456

/aosp14/frameworks/base/cmds/incident_helper/testdata/
H A 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
H A 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
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/collection/
H A DIndexedMap.kt21 typealias IndexedMap<K, V> = ArrayMap<K, V>
23 inline fun <K, V> IndexedMap<K, V>.allIndexed(predicate: (Int, K, V) -> Boolean): Boolean {
32 inline fun <K, V> IndexedMap<K, V>.anyIndexed(predicate: (Int, K, V) -> Boolean): Boolean {
41 inline fun <K, V> IndexedMap<K, V>.copy(copyValue: (V) -> V): IndexedMap<K, V> =
55 inline fun <K, V> IndexedMap<K, V>.forEachIndexed(action: (Int, K, V) -> Unit) {
61 inline fun <K, V> IndexedMap<K, V>.forEachKeyIndexed(action: (Int, K) -> Unit) {
67 inline fun <K, V> IndexedMap<K, V>.forEachReversedIndexed(action: (Int, K, V) -> Unit) {
79 inline fun <K, V> IndexedMap<K, V>.getOrPut(key: K, defaultValue: () -> V): V {
85 inline fun <K, V> IndexedMap<K, V>?.getWithDefault(key: K, defaultValue: V): V {
95 inline operator fun <K, V> IndexedMap<K, V>.minusAssign(key: K) {
[all …]
/aosp14/frameworks/base/core/java/android/util/
H A DSparseArrayMap.java34 public class SparseArrayMap<K, V> {
45 ArrayMap<K, V> data = mData.get(key); in add()
84 public V delete(int key, @NonNull K mapKey) { in delete()
85 ArrayMap<K, V> data = mData.get(key); in delete()
104 public V get(int key, @NonNull K mapKey) { in get()
105 ArrayMap<K, V> data = mData.get(key); in get()
119 ArrayMap<K, V> data = mData.get(key); in getOrDefault()
138 ArrayMap<K, V> data = mData.get(key); in indexOfKey()
152 public K keyAt(int keyIndex, int mapIndex) { in keyAt()
163 ArrayMap<K, V> data = mData.get(key); in numElementsForKey()
[all …]
H A DLruCache.java64 public class LruCache<K, V> {
66 private final LinkedHashMap<K, V> map;
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()
232 public final V remove(K key) { in remove()
284 protected V create(K key) { in create()
288 private int safeSizeOf(K key, V value) { in safeSizeOf()
303 protected int sizeOf(K key, V value) { in sizeOf()
373 public synchronized final Map<K, V> snapshot() { in snapshot()
[all …]
H A DMapCollections.java34 abstract class MapCollections<K, V> {
76 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
92 public Map.Entry<K, V> next() { in next()
111 public K getKey() { in getKey()
271 final class KeySet implements Set<K> {
274 public boolean add(K object) { in add()
304 public Iterator<K> iterator() { in iterator()
460 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) { in containsAllHelper() argument
470 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) { in removeAllHelper() argument
479 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) { in retainAllHelper() argument
[all …]
H A DArrayMap.java58 public final class ArrayMap<K, V> implements Map<K, V> {
126 private MapCollections<K, V> mCollections;
361 public ArrayMap(ArrayMap<K, V> map) { in ArrayMap() argument
507 public K keyAt(int index) { in keyAt()
513 return (K)mArray[index << 1]; in keyAt()
577 public V put(K key, V value) { in put()
644 public void append(K key, V value) { in append()
849 K key = keyAt(i); in equals()
951 protected Map<K, V> colGetMap() { in getCollection()
1087 public Set<Map.Entry<K, V>> entrySet() { in entrySet()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/utils/
H A DWatchedArrayMap.java36 implements Map<K, V>, Snappable {
39 private final ArrayMap<K, V> mStorage;
156 mStorage = new ArrayMap<K, V>(); in WatchedArrayMap()
204 public ArrayMap<K, V> untrackedStorage() { in untrackedStorage()
246 public Set<Map.Entry<K, V>> entrySet() { in entrySet()
291 public Set<K> keySet() { in keySet()
299 public V put(K key, V value) { in put()
354 public K keyAt(int index) { in keyAt()
377 public int indexOfKey(K key) { in indexOfKey()
458 public static <K, V> void snapshot(@NonNull WatchedArrayMap<K, V> dst, in snapshot() argument
[all …]
H A DAlarmQueue.java51 public abstract class AlarmQueue<K> implements AlarmManager.OnAlarmListener {
194 public void addAlarm(K key, @ElapsedRealtimeLong long alarmTimeElapsed) { in addAlarm()
217 public void removeAlarmForKey(K key) { in removeAlarmForKey()
231 final K key = (K) alarms[i].first; in removeAlarmsForUserId()
252 protected void removeAlarmsIf(@NonNull Predicate<K> predicate) { in removeAlarmsIf()
257 final K key = (K) alarms[i].first; in removeAlarmsIf()
283 protected abstract boolean isForUser(@NonNull K key, int userId); in isForUser()
314 final Pair<K, Long> alarm = mAlarmPriorityQueue.peek(); in setNextAlarmLocked()
338 final ArraySet<K> expired = new ArraySet<>(); in onAlarm()
343 final Pair<K, Long> alarm = mAlarmPriorityQueue.peek(); in onAlarm()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DCircularQueue.java30 public class CircularQueue<K, V> extends LinkedList<K> {
32 private final ArrayMap<K, V> mArrayMap = new ArrayMap<>();
39 public boolean add(K k) throws IllegalArgumentException { in add()
51 public V put(K key, V value) { in put()
56 K removedKey = super.remove(); in put()
67 public V removeElement(K key) { in removeElement()
78 public V getElement(K key) { in getElement()
88 public boolean containsKey(K key) { in containsKey()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A 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()
/aosp14/frameworks/base/core/java/com/google/android/collect/
H A DMaps.java34 public static <K, V> HashMap<K, V> newHashMap() { in newHashMap()
35 return new HashMap<K, V>(); in newHashMap()
41 public static <K, V> ArrayMap<K, V> newArrayMap() { in newArrayMap()
42 return new ArrayMap<K, V>(); in newArrayMap()
/aosp14/frameworks/base/test-runner/src/android/test/
H A 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()
/aosp14/frameworks/base/telephony/common/com/google/android/mms/util/
H A DAbstractCache.java26 public abstract class AbstractCache<K, V> {
33 private final HashMap<K, CacheEntry<V>> mCacheMap;
37 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache()
41 public boolean put(K key, V value) { in put()
69 public V get(K key) { in get()
88 public V purge(K key) { in purge()
/aosp14/system/core/libutils/include/utils/
H A DTypeHelpers.h279 template <typename K, typename V>
280 struct trait_trivial_ctor< key_value_pair_t<K, V> >
281 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; };
282 template <typename K, typename V>
283 struct trait_trivial_dtor< key_value_pair_t<K, V> >
284 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; };
285 template <typename K, typename V>
286 struct trait_trivial_copy< key_value_pair_t<K, V> >
287 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; };
288 template <typename K, typename V>
[all …]
/aosp14/frameworks/base/tests/LegacyRestoreTest/
H A 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��.���$����…
/aosp14/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
H A DSpringAnimation.java111 public <K> SpringAnimation(K object, FloatProperty<K> property) { in SpringAnimation()
125 public <K> SpringAnimation(K object, FloatProperty<K> property, in SpringAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DAllModel.kt115 private class OrderedMap<K, V>(private val map: MutableMap<K, V>) : MutableMap<K, V> by map {
117 val orderedKeys = mutableListOf<K>()
119 override fun put(key: K, value: V): V? {
131 override fun remove(key: K): V? {
/aosp14/frameworks/base/media/tests/contents/media_api/music/
H A Dtest_amr_ietf.amr6 ]�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���"��…
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��
198 ����V�K�/�<DTO�׬�݉��Ej[��5�%�<q$�=����<B^��.��(��U�iZ� �K,$�.R\�p<>#G�#��u��#�H�o� _Ș���i�…
278 ��� �Ƶ�#'/=��<T���K2���D����1=^yb�4{������<("�K}�ڋL�K��e�̀4>D" 8��� <V\<F{K�M��z�Pa�6�…
299 @<6g��u�K�,qj��p����ABODΰ<e.�P����zj0��YS��DE$ #P<�g� ��ig9"l2�.xy^���m�nJ��<({qO�…
303 2�O�&�1��)V��q:�#o��8��<Lڑ�"�����K����c\�w(�T���<D{'��׈���ɠ��=����x�J
370 ߕ3K��z��rT~��4��#�<� 7礞A��J7��i
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBLAS.java693 if (K < 0) { in STBMV()
724 if (K < 0) { in DTBMV()
755 if (K < 0) { in CTBMV()
786 if (K < 0) { in ZTBMV()
1007 if (K < 0) { in STBSV()
1038 if (K < 0) { in DTBSV()
2597 int K = -1; in SSYRK() local
2624 int K = -1; in DSYRK() local
2650 int K = -1; in CSYRK() local
2677 int K = -1; in ZSYRK() local
[all …]
/aosp14/frameworks/base/media/jni/soundpool/
H A DStreamManager.h209 template <typename K, typename V>
224 K generateKey(V value, std::function<K(V)> getKforV, K oldKey = 0) {
230 const K atPosition = getKforV(v);
243 mNextKey = mNextKey == std::numeric_limits<K>::max() ? 1 : mNextKey + 1;
247 const K atPosition = getKforV(v);
260 std::atomic<V> &getValue(K key) { return mK2V[key & (mHashCapacity - 1)]; } in getValue()
261 const std::atomic_int32_t &getValue(K key) const { return mK2V[key & (mHashCapacity - 1)]; } in getValue()
267 K mNextKey GUARDED_BY(mHashLock) {}; in GUARDED_BY()
/aosp14/frameworks/base/services/tests/mockingservicestests/res/raw/
H A Dbackup_telephony_with_password25 H�K�����cyhPE�y"�
34 …3�칉���{��8�է�����:_%4f[���MΞx;bM��0�"�|�M��0\Ur�|������t�T���_[�|K'��ȐøٮK����`%��rTtN�8@…
41 hRU�`��T<�Vyv[��b26N,5��~G���SAP�gx7��ڎK��l�F�F=U0���E)`���Kƺ'��ڌ/����n�>ނ����g�cT�M����.33…
47 r8������x��w�4��K�g�����6�\�Լt3��A�i�
57 �V$�1Z�su�փ��� ��#T���K�Z
102 …�.�꽡�歽9V��Dl�D�"L1�� 1i�B澕�sT'5i���9��]�ߗ�Y[���_�z,�<f��P��k��*��Ě�֠`�KΌ�&�ކ����[�&]�����…
113 <�E2#K5��2�b
123 …l��c%*�Z{\�O��s?-�~<��A��K;�:��,�c}hɷ])�cD��}ٚ2g�+ū��tٮ3ԥFh11��ONZs��v��z�n,B�̳�cLO���}�[…
125 K=����������:�4����z�/�O�cg�vo�܈sg*8^g�� ߐC���iH
151 …�V����nX5��h�&w���Z�8�ltG��är���/�R'����M&�T�Y�4�g�S�j����"�M_��ꃾ�z E ���K�5�P������X��U�G
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSimpleCache.java25 class SimpleCache<K, V> extends LinkedHashMap<K, V> {
35 protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) { in removeEldestEntry() argument
/aosp14/frameworks/base/tools/signedconfig/
H A Dverify_b64.sh13 K=${3}
14 echo Trying ${K}
15 …openssl dgst -sha256 -verify $(dirname $0)/${K} -signature <(echo ${S} | base64 -d) <(echo ${D} | …

123456