Home
last modified time | relevance | path

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

12345678910>>...12

/aosp12/bionic/libc/kernel/uapi/linux/
H A Dkeyboard.h55 #define K_F1 K(KT_FN, 0)
56 #define K_F2 K(KT_FN, 1)
57 #define K_F3 K(KT_FN, 2)
58 #define K_F4 K(KT_FN, 3)
59 #define K_F5 K(KT_FN, 4)
60 #define K_F6 K(KT_FN, 5)
61 #define K_F7 K(KT_FN, 6)
62 #define K_F8 K(KT_FN, 7)
63 #define K_F9 K(KT_FN, 8)
64 #define K_F10 K(KT_FN, 9)
[all …]
/aosp12/hardware/google/camera/devices/EmulatedCamera/hwl/
H A DEmulatedScene.cpp54 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K,
55 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K,
56 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K,
57 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K,
58 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, // 5
59 K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K,
60 K, K, K, K, K, K, K, K, H, H, H, H, H, H, H, H, H, H, H, H,
61 K, K, K, K, K, K, K, K, H, H, H, H, H, H, H, C, C, H, H, H,
62 K, K, K, K, K, K, H, H, H, H, H, H, H, H, H, C, C, H, H, H,
63 H, K, K, K, K, K, H, R, R, R, R, R, R, R, R, R, R, R, R, H, // 10
[all …]
/aosp12/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
/aosp12/system/bt/service/ipc/binder/
H A Dremote_callback_map.h37 template <typename K, typename V>
68 bool Unregister(const K& key);
93 K key_;
121 template <typename K, typename V>
126 template <typename K, typename V>
127 bool RemoteCallbackMap<K, V>::Register(const K& key, const sp<V>& callback, in Register()
151 template <typename K, typename V>
152 bool RemoteCallbackMap<K, V>::Unregister(const K& key) { in Unregister()
165 sp<V> RemoteCallbackMap<K, V>::Get(const K& key) { in Get()
175 sp<V> RemoteCallbackMap<K, V>::Remove(const K& key) { in Remove()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java25 public class IdentityCache<K, V> {
27 private final HashMap<K, Entry<K, V>> mWeakMap =
28 new HashMap<K, Entry<K, V>>();
35 K mKey;
44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
53 Entry<K, V> entry = mWeakMap.put( in put()
58 public synchronized V get(K key) { in get()
60 Entry<K, V> entry = mWeakMap.get(key); in get()
73 public synchronized ArrayList<K> keys() { in keys()
74 Set<K> set = mWeakMap.keySet(); in keys()
[all …]
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLruCache.java29 public class LruCache<K, V> {
31 private final HashMap<K, V> mLruMap;
32 private final HashMap<K, Entry<K, V>> mWeakMap =
33 new HashMap<K, Entry<K, V>>();
47 K mKey;
57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
60 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
69 public synchronized V put(K key, V value) { in put()
72 Entry<K, V> entry = mWeakMap.put( in put()
77 public synchronized V get(K key) { in get()
[all …]
/aosp12/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java25 public class LruCache<K, V> {
27 private final HashMap<K, V> mLruMap;
28 private final HashMap<K, Entry<K, V>> mWeakMap =
29 new HashMap<K, Entry<K, V>>();
43 K mKey;
53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
56 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap()
60 public synchronized V put(K key, V value) { in put()
63 Entry<K, V> entry = mWeakMap.put( in put()
68 public synchronized V get(K key) { in get()
[all …]
/aosp12/system/libvintf/include/vintf/
H A DMapValueIterator.h119 template<typename K, typename V>
121 template<typename K, typename V>
123 template <typename K, typename V>
125 template <typename K, typename V>
128 template<typename K, typename V>
129 ConstMapValueIterable<K, V> iterateValues(const std::map<K, V> &map) { in iterateValues() argument
132 template<typename K, typename V>
133 ConstMultiMapValueIterable<K, V> iterateValues(const std::multimap<K, V> &map) { in iterateValues() argument
137 MapValueIterable<K, V> iterateValues(std::map<K, V>& map) { in iterateValues() argument
141 MultiMapValueIterable<K, V> iterateValues(std::multimap<K, V>& map) { in iterateValues() argument
[all …]
/aosp12/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_camera.cpp29 void db_Approx3DCalMat(double K[9],double Kinv[9],int im_width,int im_height,double f_correction,in… in db_Approx3DCalMat()
39 K[0]=f_correction*av_size; in db_Approx3DCalMat()
40 K[1]=0; in db_Approx3DCalMat()
41 K[2]=iw/2.0; in db_Approx3DCalMat()
42 K[3]=0; in db_Approx3DCalMat()
43 K[4]=f_correction*av_size/field_fact; in db_Approx3DCalMat()
44 K[5]=ih/2.0/field_fact; in db_Approx3DCalMat()
45 K[6]=0; in db_Approx3DCalMat()
46 K[7]=0; in db_Approx3DCalMat()
47 K[8]=1; in db_Approx3DCalMat()
[all …]
/aosp12/art/libartbase/base/
H A Dsafe_map.h30 template <typename K, typename V, typename Comparator = std::less<K>,
34 typedef SafeMap<K, V, Comparator, Allocator> Self;
91 V Get(const K& k) const { in Get()
98 iterator Put(const K& k, const V& v) { in Put()
103 iterator Put(const K& k, V&& v) { in Put()
116 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore()
126 iterator Overwrite(const K& k, const V& v) { in Overwrite()
136 V& GetOrCreate(const K& k, CreateFn create) { in GetOrCreate()
147 iterator FindOrAdd(const K& k, const V& v) { in FindOrAdd()
152 iterator FindOrAdd(const K& k) { in FindOrAdd()
[all …]
/aosp12/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 …]
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DExpirableCache.java91 public class ExpirableCache<K, V> {
103 private LruCache<K, CachedValue<V>> cache;
105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache() argument
121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create() argument
122 return new ExpirableCache<K, V>(cache); in create()
132 public static <K, V> ExpirableCache<K, V> create(int maxSize) { in create()
133 return create(new LruCache<K, CachedValue<V>>(maxSize)); in create()
149 public CachedValue<V> getCachedValue(K key) { in getCachedValue()
165 public V getPossiblyExpired(K key) { in getPossiblyExpired()
179 public V get(K key) { in get()
[all …]
/aosp12/frameworks/base/core/java/android/util/
H A DSparseArrayMap.java34 public class SparseArrayMap<K, V> {
39 ArrayMap<K, V> data = mData.get(key); in add()
70 public V delete(int key, @NonNull K mapKey) { in delete()
71 ArrayMap<K, V> data = mData.get(key); in delete()
82 public V get(int key, @NonNull K mapKey) { in get()
83 ArrayMap<K, V> data = mData.get(key); in get()
97 ArrayMap<K, V> data = mData.get(key); in getOrDefault()
116 ArrayMap<K, V> data = mData.get(key); in indexOfKey()
130 public K keyAt(int keyIndex, int mapIndex) { in keyAt()
141 ArrayMap<K, V> data = mData.get(key); in numElementsForKey()
[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 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 …]
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
H A Ddtoa.h87 *K += kappa; in DigitGen()
103 *K += kappa; in DigitGen()
125 if (K < 0) { in WriteExponent()
127 K = -K; in WriteExponent()
130 if (K >= 100) { in WriteExponent()
132 K %= 100; in WriteExponent()
133 const char* d = GetDigitsLut() + K * 2; in WriteExponent()
137 else if (K >= 10) { in WriteExponent()
204 int length, K; in dtoa() local
205 Grisu2(value, buffer, &length, &K); in dtoa()
[all …]
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DStubSelectionTracker.java33 public class StubSelectionTracker<K> extends SelectionTracker<K> {
45 public Selection<K> getSelection() { in getSelection()
46 return new MutableSelection<K>(); in getSelection()
50 public void copySelection(MutableSelection<K> dest) { in copySelection()
54 public boolean isSelected(K key) { in isSelected()
59 public void restoreSelection(Selection<K> selection) { in restoreSelection()
68 public boolean setItemsSelected(Iterable<K> keys, boolean selected) { in setItemsSelected()
73 public boolean select(K key) { in select()
78 public boolean deselect(K key) { in deselect()
113 public void setProvisionalSelection(Set<K> newSelection) { in setProvisionalSelection()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DBpfMap.java62 private final Class<K> mKeyClass;
111 public void insertEntry(K key, V value) in insertEntry()
126 public void replaceEntry(K key, V value) in replaceEntry()
143 public boolean insertOrReplaceEntry(K key, V value) in insertOrReplaceEntry()
167 public boolean deleteEntry(K key) throws ErrnoException { in deleteEntry()
176 private K getNextKeyInternal(@Nullable K key) throws ErrnoException { in getNextKeyInternal()
192 public K getNextKey(@NonNull K key) throws ErrnoException { in getNextKey()
205 public K getFirstKey() throws ErrnoException { in getFirstKey()
243 @Nullable K nextKey = getFirstKey(); in forEach()
246 @NonNull final K curKey = nextKey; in forEach()
[all …]
/aosp12/system/libhidl/transport/include/hidl/
H A DConcurrentMap.h25 template<typename K, typename V>
28 using size_type = typename std::map<K, V>::size_type;
29 using iterator = typename std::map<K, V>::iterator;
33 void set(K &&k, V &&v) { in set()
35 mMap[std::forward<K>(k)] = std::forward<V>(v); in set()
39 const V &get(const K &k, const V &def) const { in get()
48 size_type erase(const K &k) { in erase()
53 size_type eraseIfEqual(const K& k, const V& v) { in eraseIfEqual()
70 void setLocked(const K& k, const V& v) { mMap[k] = v; } in setLocked()
72 const V& getLocked(const K& k, const V& def) const { in getLocked()
[all …]
/aosp12/frameworks/native/include/ftl/
H A Dinitializer_list.h68 template <typename K, typename V>
74 template <typename K, typename V, std::size_t... Sizes, typename... Types>
75 struct InitializerList<KeyValue<K, V>, std::index_sequence<Sizes...>, Types...> {
78 [[nodiscard]] constexpr auto operator()(K&& k, Args&&... args) && -> InitializerList<
79 KeyValue<K, V>, std::index_sequence<Sizes..., 3>, Types..., std::piecewise_construct_t,
80 std::tuple<K&&>, std::tuple<Args&&...>> {
97 template <typename K, typename V, typename... Args>
99 return list<KeyValue<K, V>>(std::forward<Args>(args)...);
102 template <typename K, typename V>
103 [[nodiscard]] constexpr auto map(K&& k, V&& v) {
[all …]
/aosp12/build/make/tools/droiddoc/test/generics/src/com/android/generics/
H A DFooBar.java19 public class FooBar<K,V,L> extends Foo<V> implements Bar<K> {
28 public FooBar(K k) { in FooBar()
33 public K bar(K arg) { in bar()
37 public FooBar<K,? extends Foo,L> a(K arg) { in a()
41 public FooBar<V,K,L> b(Bar<? extends K> arg) { in b()
/aosp12/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()
/aosp12/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()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A 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()

12345678910>>...12