/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceShutdownListener.java | 22 public interface SingleDeviceShutdownListener<TKey> { 27 public void onShutdown(TKey key);
|
SingleDeviceLifecycle.java | 26 public interface SingleDeviceLifecycle<TDevice, TKey> extends SafeCloseable { 30 public TKey getId();
|
SingleDeviceStateMachine.java | 51 public class SingleDeviceStateMachine<TDevice, TKey> implements SingleDeviceCloseListener, 72 private final SingleDeviceShutdownListener<TKey> mShutdownListener; 73 private final TKey mDeviceKey; 99 TKey deviceKey, SingleDeviceShutdownListener<TKey> deviceShutdownListener,
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { 96 public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) 99 public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value [all...] |
/frameworks/base/tools/aapt2/util/ |
ImmutableMap.h | 27 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( 39 std::initializer_list<std::pair<TKey, TValue>> list) { 41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end())); 44 static ImmutableMap<TKey, TValue> CreateAndSort( 45 std::initializer_list<std::pair<TKey, TValue>> list) { 46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end()) [all...] |
/system/core/libutils/include/utils/ |
LruCache.h | 37 template <typename TKey, typename TValue> 47 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener); 49 const TValue& get(const TKey& key); 50 bool put(const TKey& key, const TValue& value); 51 bool remove(const TKey& key); 62 virtual const TKey& getKey() const = 0; 69 TKey key; 74 Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(NULL), child(NULL) { 76 const TKey& getKey() const final { return key; } 81 const TKey& key [all...] |
TypeHelpers.h | 299 template <typename TKey> 300 hash_t hash_type(const TKey& key);
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
SimpleLruResourcePool.java | 30 public abstract class SimpleLruResourcePool<TKey, TValue> implements LruResourcePool<TKey, TValue> { 32 private final LruPool<TKey, TValue> mLruPool; 44 public Resource<TValue> acquire(TKey key) { 62 protected abstract TValue create(TKey key); 68 protected TValue recycle(TKey key, TValue value) { 75 private void release(TKey key, TValue value) { 84 private static final class SynchronizedResource<TKey, TValue> implements Resource<TValue> { 86 private final SimpleLruResourcePool<TKey, TValue> mPool; 89 private TKey mKey [all...] |
LruResourcePool.java | 26 public interface LruResourcePool<TKey, TValue> { 33 public Resource<TValue> acquire(TKey key);
|
LruPool.java | 42 * {@link #acquire(TKey)} is currently linear time, pending a better 45 * TODO: Build a constant time acquire(TKey) method implementation. 48 public class LruPool<TKey, TValue> { 49 public static class Configuration<TKey, TValue> { 59 void entryEvicted(TKey key, TValue value) { } 69 TValue create(TKey key) { 80 int sizeOf(TKey key, TValue value) { 92 private final LinkedList<TKey> mLruKeyList; 98 private final HashMap<TKey, Queue<TValue>> mValuePool; 99 private final Configuration<TKey, TValue> mConfiguration [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
CameraMetadata.java | 51 public abstract class CameraMetadata<TKey> { 88 protected abstract <T> T getProtected(TKey key); 100 protected abstract Class<TKey> getKeyClass(); 116 public List<TKey> getKeys() { 117 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); 137 <TKey> ArrayList<TKey> getKeys( 138 Class<?> type, Class<TKey> keyClass, 139 CameraMetadata<TKey> instance [all...] |
CameraCharacteristics.java | 331 private <TKey> List<TKey> 332 getAvailableKeyList(Class<?> metadataClass, Class<TKey> keyClass, int[] filterTags) { 342 List<TKey> staticKeyList = getKeys( [all...] |
/art/runtime/base/ |
variant_map.h | 184 template <typename Base, template <typename TV> class TKey> friend struct VariantMap; 212 template <typename Base, template <typename TV> class TKey> 216 using Key = TKey<TValue>; 221 const TValue* Get(const TKey<TValue>& key) const { 228 TValue* Get(const TKey<TValue>& key) { 235 TValue GetOrDefault(const TKey<TValue>& key) const { 244 ScopedRemove(VariantMap& map, const TKey<TValue>& key) : map_(map), key_(key) {} 250 const TKey<TValue>& key_; 257 TValue ReleaseOrDefault(const TKey<TValue>& key) { 270 bool Exists(const TKey<TValue>& key) const [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.Collections.pas | 51 IHashList<TKey, TValue> = interface(IDictionary<TKey, TValue>) 79 THashList<TKey, TValue> = class(TANTLRObject, IHashList<TKey, TValue>) 82 TPairEnumerator = class(TEnumerator<TPair<TKey, TValue>>) 84 FHashList: THashList<TKey, TValue>; 85 FOrderList: IList<TKey>; 88 FPair: TPair<TKey, TValue>; 89 function GetCurrent: TPair<TKey, TValue>; 91 function DoGetCurrent: TPair<TKey, TValue>; override [all...] |
Antlr.Runtime.Tools.pas | 186 IDictionary<TKey,TValue> = interface(IANTLRInterface) 189 function GetItem(const Key: TKey): TValue; 190 procedure SetItem(const Key: TKey; const Value: TValue); 194 procedure Add(const Key: TKey; const Value: TValue); 195 procedure Remove(const Key: TKey); 198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; 199 procedure AddOrSetValue(const Key: TKey; const Value: TValue); 200 function ContainsKey(const Key: TKey): Boolean; 202 function GetEnumerator: TEnumerator<TPair<TKey, TValue>>; 205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Collections/ |
ReadOnlyDictionary.cs | 42 internal sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>
44 private readonly IDictionary<TKey, TValue> wrapped;
46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped)
51 public void Add(TKey key, TValue value)
56 public bool ContainsKey(TKey key)
61 public ICollection<TKey> Keys
66 public bool Remove(TKey key)
71 public bool TryGetValue(TKey key, out TValue value)
81 public TValue this[TKey key] [all...] |
/system/core/logd/ |
LogStatistics.h | 47 template <typename TKey, typename TEntry> 49 std::unordered_map<TKey, TEntry> map; 78 typedef typename std::unordered_map<TKey, TEntry>::iterator iterator; 80 typename std::unordered_map<TKey, TEntry>::const_iterator const_iterator; 120 inline iterator add(const TKey& key, const LogBufferElement* element) { 130 inline iterator add(TKey key) { 140 void subtract(TKey&& key, const LogBufferElement* element) { 147 void subtract(const TKey& key, const LogBufferElement* element) { 154 inline void drop(TKey key, const LogBufferElement* element) {
|
/frameworks/rs/cpp/util/ |
TypeHelpers.h | 268 template <typename TKey> 269 hash_t hash_type(const TKey& key);
|
/art/cmdline/ |
cmdline_parser_test.cc | 86 template <typename TMap, typename TKey, typename T> 89 const TKey& key) { 103 template <typename TMap, typename TKey, typename T> 106 const TKey& key) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lobject.h | 545 typedef union TKey { 551 } TKey; 556 TKey i_key;
|
/external/skia/third_party/lua/src/ |
lobject.h | 545 typedef union TKey { 551 } TKey; 556 TKey i_key;
|
/external/syslinux/com32/lua/src/ |
lobject.h | 545 typedef union TKey { 551 } TKey; 556 TKey i_key;
|
/external/protobuf/csharp/src/Google.Protobuf/ |
CodedOutputStream.cs | 55 /// and <c>MapField<TKey, TValue></c> to serialize such fields.
|
CodedInputStream.cs | 51 /// and <see cref="MapField{TKey, TValue}"/> to serialize such fields.
[all...] |