/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 53 public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { 74 public final static class Key<T> { class in CaptureResult 75 private final CameraMetadataNative.Key<T> mKey; 83 public Key(String name, Class<T> type, long vendorId) { in Key() method in CaptureResult.Key 84 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 92 public Key(String name, String fallbackName, Class<T> type) { in Key() method in CaptureResult.Key 93 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type); in Key() 103 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CaptureResult.Key 104 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 113 public Key(String name, TypeReference<T> typeReference) { in Key() method in CaptureResult.Key [all …]
|
D | CameraCharacteristics.java | 51 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> { 70 public static final class Key<T> { class in CameraCharacteristics 71 private final CameraMetadataNative.Key<T> mKey; 79 public Key(String name, Class<T> type, long vendorId) { in Key() method in CameraCharacteristics.Key 80 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 88 public Key(String name, String fallbackName, Class<T> type) { in Key() method in CameraCharacteristics.Key 89 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type); in Key() 100 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CameraCharacteristics.Key 101 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 110 public Key(String name, TypeReference<T> typeReference) { in Key() method in CameraCharacteristics.Key [all …]
|
D | CaptureRequest.java | 82 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>> 103 public final static class Key<T> { class in CaptureRequest 104 private final CameraMetadataNative.Key<T> mKey; 112 public Key(String name, Class<T> type, long vendorId) { in Key() method in CaptureRequest.Key 113 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 123 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CaptureRequest.Key 124 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 133 public Key(String name, TypeReference<T> typeReference) { in Key() method in CaptureRequest.Key 134 mKey = new CameraMetadataNative.Key<T>(name, typeReference); in Key() 178 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey); in equals() [all …]
|
D | CameraMetadata.java | 196 if (k instanceof CaptureRequest.Key<?>) { in getKeys() 197 keyName = ((CaptureRequest.Key<?>) k).getName(); in getKeys() 198 vendorId = ((CaptureRequest.Key<?>) k).getVendorId(); in getKeys() 199 } else if (k instanceof CaptureResult.Key<?>) { in getKeys() 200 keyName = ((CaptureResult.Key<?>) k).getName(); in getKeys() 201 vendorId = ((CaptureResult.Key<?>) k).getVendorId(); in getKeys() 202 } else if (k instanceof CameraCharacteristics.Key<?>) { in getKeys() 203 keyName = ((CameraCharacteristics.Key<?>) k).getName(); in getKeys() 204 vendorId = ((CameraCharacteristics.Key<?>) k).getVendorId(); in getKeys() 226 CameraMetadataNative.Key nativeKey; in shouldKeyBeAdded() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 83 uint32_t keyMask = Key::BLEND_MASK | Key::OPACITY_MASK | Key::ALPHA_MASK | Key::TEXTURE_MASK in primeCache() 84 | Key::ROUNDED_CORNERS_MASK; in primeCache() 90 Key shaderKey; in primeCache() 93 if (tex != Key::TEXTURE_OFF && tex != Key::TEXTURE_EXT && tex != Key::TEXTURE_2D) { in primeCache() 104 Key shaderKey; in primeCache() 105 shaderKey.set(Key::BLEND_MASK | Key::OUTPUT_TRANSFORM_MATRIX_MASK | Key::INPUT_TF_MASK | in primeCache() 106 Key::OUTPUT_TF_MASK, in primeCache() 107 Key::BLEND_PREMULT | Key::OUTPUT_TRANSFORM_MATRIX_ON | Key::INPUT_TF_SRGB | in primeCache() 108 Key::OUTPUT_TF_SRGB); in primeCache() 110 shaderKey.set(Key::OPACITY_MASK, in primeCache() [all …]
|
D | ProgramCache.h | 54 class Key { 117 inline Key() : mKey(0) {} in Key() function 118 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key() function 120 inline Key& set(key_t mask, key_t value) { in set() 156 if (inputTF == Key::INPUT_TF_SRGB && outputTF == Key::OUTPUT_TF_LINEAR) { in needsToneMapping() 159 if (inputTF == Key::INPUT_TF_LINEAR && outputTF == Key::OUTPUT_TF_SRGB) { in needsToneMapping() 163 inputTF >>= Key::INPUT_TF_SHIFT; in needsToneMapping() 164 outputTF >>= Key::OUTPUT_TF_SHIFT; in needsToneMapping() 171 bool operator==(const Key& other) const { return mKey == other.mKey; } 174 size_t operator()(const Key& key) const { return static_cast<size_t>(key.mKey); } in operator() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | RenderParamsFlags.java | 22 import com.android.ide.common.rendering.api.SessionParams.Key; 33 public static final Key<String> FLAG_KEY_ROOT_TAG = 34 new Key<String>("rootTag", String.class); 35 public static final Key<Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING = 36 new Key<Boolean>("disableBitmapCaching", Boolean.class); 37 public static final Key<Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES = 38 new Key<Boolean>("renderAllDrawableStates", Boolean.class); 44 public static final Key<Boolean> FLAG_KEY_RECYCLER_VIEW_SUPPORT = 45 new Key<Boolean>("recyclerViewSupport", Boolean.class); 49 public static final Key<String> FLAG_KEY_APPLICATION_PACKAGE = [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_field_inl.h | 103 template <typename Key, typename T> 104 typename Map<Key, T>::const_iterator& 105 TypeDefinedMapFieldBase<Key, T>::InternalGetIterator( in InternalGetIterator() 107 return *reinterpret_cast<typename Map<Key, T>::const_iterator *>( in InternalGetIterator() 111 template <typename Key, typename T> 112 void TypeDefinedMapFieldBase<Key, T>::MapBegin(MapIterator* map_iter) const { in MapBegin() 117 template <typename Key, typename T> 118 void TypeDefinedMapFieldBase<Key, T>::MapEnd(MapIterator* map_iter) const { in MapEnd() 122 template <typename Key, typename T> 123 bool TypeDefinedMapFieldBase<Key, T>::EqualIterator(const MapIterator& a, in EqualIterator() [all …]
|
D | map_field_lite.h | 44 template <typename Key, typename T, 50 typedef MapEntryLite<Key, T, key_wire_type, value_wire_type, 59 virtual const Map<Key, T>& GetMap() const; 60 virtual Map<Key, T>* MutableMap(); 75 EntryType* NewEnumEntryWrapper(const Key& key, const T t) const; 78 EntryType* NewEntryWrapper(const Key& key, const T& t) const; 82 virtual const Map<Key, T>& GetInternalMap() const; 83 virtual Map<Key, T>* MutableInternalMap(); 89 Map<Key, T>* map_; 94 template <typename Key, typename T, [all …]
|
D | map_field.h | 184 template<typename Key, typename T> 194 virtual const Map<Key, T>& GetMap() const = 0; 195 virtual Map<Key, T>* MutableMap() = 0; 198 typename Map<Key, T>::const_iterator& InternalGetIterator( 214 template <typename Key, typename T, 218 class MapField : public TypeDefinedMapFieldBase<Key, T>, 219 public MapFieldLite<Key, T, kKeyFieldType, kValueFieldType, 223 typedef MapTypeHandler<kKeyFieldType, Key> KeyTypeHandler; 227 typedef MapEntry<Key, T, kKeyFieldType, kValueFieldType, default_enum_value> 229 typedef MapEntryLite<Key, T, kKeyFieldType, kValueFieldType, [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 34 Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 35 Key.DEBUG_MODE_ENABLED, 36 Key.HOTSPOT_TILE_LAST_USED, 37 Key.COLOR_INVERSION_TILE_LAST_USED, 38 Key.DND_TILE_VISIBLE, 39 Key.DND_TILE_COMBINED_ICON, 40 Key.DND_CONFIRMED_PRIORITY_INTRODUCTION, 41 Key.DND_CONFIRMED_SILENCE_INTRODUCTION, 42 Key.DND_FAVORITE_BUCKET_INDEX, 43 Key.DND_NONE_SELECTED, [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | hash.h | 184 template <typename Key> 187 int operator()(const Key& key) { in operator() 192 inline bool operator()(const Key& a, const Key& b) const { in operator() 211 template <typename Key, typename Data, 212 typename HashFcn = hash<Key>, 213 typename EqualKey = std::equal_to<Key>, 214 typename Alloc = std::allocator< std::pair<const Key, Data> > > 215 class hash_map : public std::map<Key, Data, HashFcn, Alloc> { 216 typedef std::map<Key, Data, HashFcn, Alloc> BaseClass; 226 template <typename Key, [all …]
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment() 38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); in TestInputMessageAlignment() 39 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16); in TestInputMessageAlignment() 40 CHECK_OFFSET(InputMessage::Body::Key, source, 20); in TestInputMessageAlignment() 41 CHECK_OFFSET(InputMessage::Body::Key, displayId, 24); in TestInputMessageAlignment() 42 CHECK_OFFSET(InputMessage::Body::Key, action, 28); in TestInputMessageAlignment() 43 CHECK_OFFSET(InputMessage::Body::Key, flags, 32); in TestInputMessageAlignment() 44 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 36); in TestInputMessageAlignment() 45 CHECK_OFFSET(InputMessage::Body::Key, scanCode, 40); in TestInputMessageAlignment() 46 CHECK_OFFSET(InputMessage::Body::Key, metaState, 44); in TestInputMessageAlignment() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 106 template <typename Key> 107 status_t add(const std::string &name, const Key &key); 109 template <typename Key> 110 Element<Key> *getFromCollection(const Key &key) const; 112 template <typename Key> 113 const Collection<Key> &getCollection() const; 115 template <typename Key> 116 Collection<Key> &getCollection(); 118 template <typename Property, typename Key> 119 Property getPropertyForKey(Key key) const; [all …]
|
D | Collection.h | 42 template <typename Key> 43 class Collection : public std::map<Key, Element<Key> *> 46 typedef std::map<Key, Element<Key> *> Base; 47 typedef Element<Key> T; 48 typedef typename std::map<Key, T *>::iterator CollectionIterator; 49 typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator; 68 status_t add(const std::string &name, Key key) in add() 88 T *get(Key key) const in get()
|
D | Engine.cpp | 87 template <typename Key> 88 Element<Key> *Engine::getFromCollection(const Key &key) const in getFromCollection() 90 const Collection<Key> collection = getCollection<Key>(); in getFromCollection() 94 template <typename Key> 95 status_t Engine::add(const std::string &name, const Key &key) in add() 97 Collection<Key> &collection = getCollection<Key>(); in add() 101 template <typename Property, typename Key> 102 Property Engine::getPropertyForKey(Key key) const in getPropertyForKey() 104 Element<Key> *element = getFromCollection<Key>(key); in getPropertyForKey() 122 template <typename Property, typename Key> [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | TokenCache.java | 48 private static class Key { class in TokenCache 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { in Key() method in TokenCache.Key 63 if (o != null && o instanceof Key) { in equals() 64 Key cacheKey = (Key) o; in equals() 83 private static class TokenLruCache extends LruCache<Key, Value> { 86 private final List<Key> mKeys; 92 public void add(Key k) { in add() 97 for (Key k : mKeys) { in evict() 116 protected int sizeOf(Key k, Value v) { in sizeOf() 121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 90 clone.Add(pair.Key, ((IDeepCloneable<TValue>)pair.Value).Clone()); in Clone() 225 …public ICollection<TKey> Keys { get { return new MapView<TKey>(this, pair => pair.Key, ContainsKey… 241 Add(pair.Key, pair.Value); in Add() 273 Add(item.Key, item.Value); in Add() 293 return TryGetValue(item.Key, out value) in Contains() 315 if (item.Key == null) in Remove() 320 if (map.TryGetValue(item.Key, out node) && in Remove() 323 map.Remove(item.Key); in Remove() 367 hash ^= pair.Key.GetHashCode() * 31 + valueComparer.GetHashCode(pair.Value); in GetHashCode() 398 if (!other.TryGetValue(pair.Key, out value)) in Equals() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2RequestSettingsSet.java | 23 import android.hardware.camera2.CaptureRequest.Key; 34 private final Map<Key<?>, Object> mDictionary; 83 public <T> boolean set(Key<T> key, T value) { in set() 111 public boolean unset(Key<?> key) { in unset() 134 public <T> T get(Key<T> key) { in get() 155 public boolean contains(Key<?> key) { in contains() 172 public <T> boolean matches(Key<T> key, T value) { in matches() 235 for (Key<?> key : mDictionary.keySet()) { in createRequest() 247 private <T> void setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) { in setRequestFieldIfNonNull()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 24 import android.hardware.camera2.CameraCharacteristics.Key; 390 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() 423 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() 481 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() 519 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() 531 Key<int[]> key = in getAvailableTestPatternModesChecked() 553 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() 581 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() 602 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() 623 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | BranchIsland.h | 106 class Key { 108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() function 111 ~Key() {} in ~Key() 120 size_t operator()(const Key& KEY) const { in operator() 129 bool operator()(const Key& KEY1, const Key& KEY2) const { in operator() 157 typedef HashEntry<Key, Stub*, Key::Compare> StubEntryType; 159 typedef HashTable<StubEntryType, Key::Hash, EntryFactory<StubEntryType> >
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 97 private ArrayMap<Key, NetworkStatsHistory> mStats = new ArrayMap<>(); 225 final Key key = mStats.keyAt(i); in getRelevantUids() 293 final Key key = mStats.keyAt(i); in getHistory() 368 final Key key = mStats.keyAt(i); in getSummary() 411 private void recordHistory(Key key, NetworkStatsHistory history) { in recordHistory() 429 final Key key = another.mStats.keyAt(i); in recordCollection() 437 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory() 482 final Key key = new Key(ident, uid, set, tag); in read() 497 final HashMap<NetworkIdentitySet, ArrayList<Key>> keysByIdent = Maps.newHashMap(); in write() 498 for (Key key : mStats.keySet()) { in write() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | AesCtrDecryptorUnittest.cpp | 31 typedef uint8_t Key[kBlockSize]; typedef in clearkeydrm::AesCtrDecryptorTest 33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, in attemptDecrypt() 45 void attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, in attemptDecryptExpectingSuccess() 126 Key key = { in TEST_F() 171 Key key = { in TEST_F() 217 Key key = { in TEST_F() 263 Key key = { in TEST_F() 312 Key key = { in TEST_F() 366 Key key = { in TEST_F() 421 Key key = { in TEST_F()
|
/frameworks/base/tools/split-select/ |
D | TestRules.h | 49 const Rule EqRule(Rule::Key key, long value); 50 const Rule LtRule(Rule::Key key, long value); 51 const Rule GtRule(Rule::Key key, long value); 52 const Rule ContainsAnyRule(Rule::Key key, const char* str1); 53 const Rule ContainsAnyRule(Rule::Key key, const char* str1, const char* str2);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 31 import com.android.systemui.Prefs.Key; 52 Prefs.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true); in testMigration() 53 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true); in testMigration() 61 assertTrue(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true )); in testMigration() 62 assertFalse(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, false)); in testMigration() 63 assertTrue(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, true)); in testMigration() 64 assertFalse(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, false)); in testMigration()
|