Home
last modified time | relevance | path

Searched refs:TKey (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/util/
DImmutableMap.h27 template <typename TKey, typename TValue>
29 static_assert(is_comparable<TKey, TKey>::value, "key is not comparable");
33 typename std::vector<std::pair<TKey, TValue>>::const_iterator;
38 static ImmutableMap<TKey, TValue> CreatePreSorted( in CreatePreSorted()
39 std::initializer_list<std::pair<TKey, TValue>> list) { in CreatePreSorted() argument
41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end())); in CreatePreSorted()
44 static ImmutableMap<TKey, TValue> CreateAndSort( in CreateAndSort()
45 std::initializer_list<std::pair<TKey, TValue>> list) { in CreateAndSort() argument
46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end()); in CreateAndSort()
52 is_comparable<TKey, TKey2>::value>::type>
[all …]
/frameworks/base/services/core/java/com/android/server/location/listeners/
DRemovableListenerRegistration.java32 public abstract class RemovableListenerRegistration<TKey, TListener> extends
35 @Nullable private volatile TKey mKey;
47 protected abstract ListenerMultiplexer<TKey, ? super TListener, ?, ?> getOwner(); in getOwner()
53 protected final TKey getKey() { in getKey()
78 TKey key = mKey; in remove()
101 mKey = (TKey) Objects.requireNonNull(key); in onRegister()
DListenerMultiplexer.java88 public abstract class ListenerMultiplexer<TKey, TListener,
100 private final ArrayMap<TKey, TRegistration> mRegistrations = new ArrayMap<>();
198 protected void onRegistrationAdded(@NonNull TKey key, @NonNull TRegistration registration) {} in onRegistrationAdded()
210 @NonNull TKey oldKey, in onRegistrationReplaced()
212 @NonNull TKey newKey, in onRegistrationReplaced()
223 protected void onRegistrationRemoved(@NonNull TKey key, @NonNull TRegistration registration) {} in onRegistrationRemoved()
247 protected final void putRegistration(@NonNull TKey key, @NonNull TRegistration registration) { in putRegistration()
260 protected final void replaceRegistration(@NonNull TKey oldKey, @NonNull TKey key, in replaceRegistration()
319 protected final void removeRegistrationIf(@NonNull Predicate<TKey> predicate) { in removeRegistrationIf()
335 TKey key = mRegistrations.keyAt(i); in removeRegistrationIf()
[all …]
DPendingIntentListenerRegistration.java31 public abstract class PendingIntentListenerRegistration<TKey, TListener> extends
32 RemovableListenerRegistration<TKey, TListener> implements PendingIntent.CancelListener {
38 protected abstract PendingIntent getPendingIntentFromKey(TKey key); in getPendingIntentFromKey()
DBinderListenerRegistration.java34 public abstract class BinderListenerRegistration<TKey, TListener> extends
35 RemovableListenerRegistration<TKey, TListener> implements DeathRecipient {
41 protected abstract IBinder getBinderFromKey(TKey key); in getBinderFromKey()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java58 public abstract class CameraMetadata<TKey> {
95 protected abstract <T> T getProtected(TKey key); in getProtected()
132 protected abstract Class<TKey> getKeyClass(); in getKeyClass()
148 public List<TKey> getKeys() { in getKeys()
149 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); in getKeys()
171 <TKey> ArrayList<TKey> getKeys( in getKeys()
172 Class<?> type, Class<TKey> keyClass, in getKeys()
173 CameraMetadata<TKey> instance, in getKeys()
187 ArrayList<TKey> keyList = new ArrayList<TKey>(); in getKeys()
195 TKey key; in getKeys()
[all …]
DCameraCharacteristics.java710 <TKey> List<TKey>
711 getAvailableKeyList(Class<?> metadataClass, Class<TKey> keyClass, int[] filterTags, in getAvailableKeyList()
722 List<TKey> staticKeyList = getKeys( in getAvailableKeyList()
/frameworks/rs/cpp/util/
DTypeHelpers.h269 template <typename TKey>
270 hash_t hash_type(const TKey& key);
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt65 private fun <TKey : Any, TVal : Any> ConcurrentHashMap<TKey, TVal>.concurrentGetOrPut( in <lambda>()
66 key: TKey, in <lambda>()
/frameworks/base/core/api/
Dtest-current.txt1626 public abstract class CameraMetadata<TKey> {
Dcurrent.txt19390 public abstract class CameraMetadata<TKey> {
19391 method @NonNull public java.util.List<TKey> getKeys();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12711 method public java.util.List<TKey> getKeys();