/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.h | 47 static bool map(C2Config::bitrate_mode_t, int32_t*); 48 static bool map(int32_t, C2Config::bitrate_mode_t*); 51 static bool map(C2Config::pcm_encoding_t, int32_t*); 52 static bool map(int32_t, C2Config::pcm_encoding_t*); 55 static bool map(C2Config::picture_type_t, int32_t*); 56 static bool map(int32_t, C2Config::picture_type_t*); 59 static bool map(C2Color::range_t, int32_t*); 60 static bool map(int32_t, C2Color::range_t*); 61 static bool map(C2Color::primaries_t, C2Color::matrix_t, int32_t*); 62 static bool map(int32_t, C2Color::primaries_t*, C2Color::matrix_t*); [all …]
|
D | Codec2Mapper.cpp | 443 return sAacProfiles.map(from, to); in simpleMap() 446 return sAacProfiles.map(from, to); in simpleMap() 452 return sAvcLevels.map(from, to); in simpleMap() 455 return sAvcLevels.map(from, to); in simpleMap() 458 return sAvcProfiles.map(from, to); in simpleMap() 461 return sAvcProfiles.map(from, to); in simpleMap() 467 return sDolbyVisionLevels.map(from, to); in simpleMap() 470 return sDolbyVisionLevels.map(from, to); in simpleMap() 473 return sDolbyVisionProfiles.map(from, to); in simpleMap() 476 return sDolbyVisionProfiles.map(from, to); in simpleMap() [all …]
|
/frameworks/base/packages/InputDevices/res/raw/ |
D | keyboard_layout_english_us_dvorak.kcm | 23 map key 12 LEFT_BRACKET 24 map key 13 RIGHT_BRACKET 25 map key 16 APOSTROPHE 26 map key 17 COMMA 27 map key 18 PERIOD 28 map key 19 P 29 map key 20 Y 30 map key 21 F 31 map key 22 G 32 map key 23 C [all …]
|
D | keyboard_layout_english_us_workman.kcm | 23 map key 17 D 24 map key 18 R 25 map key 19 W 26 map key 20 B 27 map key 21 J 28 map key 22 F 29 map key 23 U 30 map key 24 P 31 map key 25 SEMICOLON 32 map key 32 H [all …]
|
D | keyboard_layout_english_us_colemak.kcm | 23 map key 18 F 24 map key 19 P 25 map key 20 G 26 map key 21 J 27 map key 22 L 28 map key 23 U 29 map key 24 Y 30 map key 25 SEMICOLON 31 map key 31 R 32 map key 32 S [all …]
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap() argument 51 mDeviceId(deviceId), mMap(map) { in NativeKeyCharacterMap() 73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, in android_view_KeyCharacterMap_create() local 75 if (!map) { in android_view_KeyCharacterMap_create() 80 reinterpret_cast<jlong>(map)); in android_view_KeyCharacterMap_create() 99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel() local 100 return reinterpret_cast<jlong>(map); in nativeReadFromParcel() 104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() local 107 parcel->writeInt32(map->getDeviceId()); in nativeWriteToParcel() 108 map->getMap()->writeToParcel(parcel); in nativeWriteToParcel() [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_parameter/ |
D | stdout.txt.expect | 52 // int -> FLOAT32 map 54 // int -> INT32 map 56 // int -> QUANT8_ASYMM map 61 // int -> FLOAT32 map 63 // int -> INT32 map 65 // int -> QUANT8_ASYMM map 73 // int -> FLOAT32 map 75 // int -> INT32 map 77 // int -> QUANT8_ASYMM map 82 // int -> FLOAT32 map [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | stdout.txt.expect | 89 // int -> FLOAT32 map 91 // int -> INT32 map 93 // int -> QUANT8_ASYMM map 98 // int -> FLOAT32 map 100 // int -> INT32 map 102 // int -> QUANT8_ASYMM map 110 // int -> FLOAT32 map 112 // int -> INT32 map 114 // int -> QUANT8_ASYMM map 119 // int -> FLOAT32 map [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | AbUpdateInstaller.java | 64 Map<Integer, Integer> map = new HashMap<>(); in buildErrorCodesMap() local 65 map.put( in buildErrorCodesMap() 68 map.put( in buildErrorCodesMap() 71 map.put( in buildErrorCodesMap() 76 map.put( in buildErrorCodesMap() 79 map.put( in buildErrorCodesMap() 82 map.put( in buildErrorCodesMap() 85 map.put( in buildErrorCodesMap() 89 map.put( in buildErrorCodesMap() 94 map.put( in buildErrorCodesMap() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtilCompatTest.java | 117 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput() local 118 assertThat(map).isEmpty(); in buildInputMethodsAndSubtypesString_EmptyInput() 123 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme() local 124 map.put("ime0", new HashSet<>()); in buildInputMethodsAndSubtypesString_SingleIme() 125 String result = InputMethodAndSubtypeUtilCompat.buildInputMethodsAndSubtypesString(map); in buildInputMethodsAndSubtypesString_SingleIme() 131 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() local 132 map.put("ime0", asHashSet("subtype0")); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() 133 String result = InputMethodAndSubtypeUtilCompat.buildInputMethodsAndSubtypesString(map); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() 139 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local 140 map.put("ime0", asHashSet("subtype0", "subtype1")); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() [all …]
|
D | InputMethodAndSubtypeUtilTest.java | 115 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput() local 116 assertThat(map).isEmpty(); in buildInputMethodsAndSubtypesString_EmptyInput() 121 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme() local 122 map.put("ime0", new HashSet<>()); in buildInputMethodsAndSubtypesString_SingleIme() 123 String result = InputMethodAndSubtypeUtil.buildInputMethodsAndSubtypesString(map); in buildInputMethodsAndSubtypesString_SingleIme() 129 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() local 130 map.put("ime0", asHashSet("subtype0")); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() 131 String result = InputMethodAndSubtypeUtil.buildInputMethodsAndSubtypesString(map); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() 137 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local 138 map.put("ime0", asHashSet("subtype0", "subtype1")); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
D | SessionMap.h | 53 map.add(key, value); in addValue() 78 return map.size(); in getSize() 92 if (map.size() > index) { in getValueAt() 93 value = map.valueAt(index); in getValueAt() 107 map.removeItem(key); in removeValue() 126 map = objectCopy.map; 131 KeyedVector<int, TValue> map; 152 int size = map.size(); in destroyMap() 155 deleteValue(map.valueAt(i)); in destroyMap() 157 map.clear(); in destroyMap() [all …]
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 122 ArrayMap<String,HealthStatsWriter> map = mStatsValues[index]; in addStats() local 123 if (map == null) { in addStats() 124 map = mStatsValues[index] = new ArrayMap<String,HealthStatsWriter>(1); in addStats() 126 map.put(name, value); in addStats() 137 ArrayMap<String,TimerStat> map = mTimersValues[index]; in addTimers() local 138 if (map == null) { in addTimers() 139 map = mTimersValues[index] = new ArrayMap<String,TimerStat>(1); in addTimers() 141 map.put(name, value); in addTimers() 150 ArrayMap<String,Long> map = mMeasurementsValues[index]; in addMeasurements() local 151 if (map == null) { in addMeasurements() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStats.java | 288 .map(VoiceCallSessionStats::getConnectionId) in onRilSrvccStateChanged() 591 SparseLongArray map = new SparseLongArray(); in buildGsmCdmaCodecMap() local 593 map.put(DriverCall.AUDIO_QUALITY_AMR, 1L << AudioCodec.AUDIO_CODEC_AMR); in buildGsmCdmaCodecMap() 594 map.put(DriverCall.AUDIO_QUALITY_AMR_WB, 1L << AudioCodec.AUDIO_CODEC_AMR_WB); in buildGsmCdmaCodecMap() 595 map.put(DriverCall.AUDIO_QUALITY_GSM_EFR, 1L << AudioCodec.AUDIO_CODEC_GSM_EFR); in buildGsmCdmaCodecMap() 596 map.put(DriverCall.AUDIO_QUALITY_GSM_FR, 1L << AudioCodec.AUDIO_CODEC_GSM_FR); in buildGsmCdmaCodecMap() 597 map.put(DriverCall.AUDIO_QUALITY_GSM_HR, 1L << AudioCodec.AUDIO_CODEC_GSM_HR); in buildGsmCdmaCodecMap() 598 map.put(DriverCall.AUDIO_QUALITY_EVRC, 1L << AudioCodec.AUDIO_CODEC_EVRC); in buildGsmCdmaCodecMap() 599 map.put(DriverCall.AUDIO_QUALITY_EVRC_B, 1L << AudioCodec.AUDIO_CODEC_EVRC_B); in buildGsmCdmaCodecMap() 600 map.put(DriverCall.AUDIO_QUALITY_EVRC_WB, 1L << AudioCodec.AUDIO_CODEC_EVRC_WB); in buildGsmCdmaCodecMap() [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 65 const android::ResTable_map_entry* map); 69 const android::ResTable_map_entry* map); 73 const android::ResTable_map_entry* map); 77 const android::ResTable_map_entry* map); 81 const android::ResTable_map_entry* map); 115 std::map<ResourceId, ResourceName> id_index_; 127 inline const ResTable_map* begin(const ResTable_map_entry* map) { in begin() argument 128 return (const ResTable_map*)((const uint8_t*)map + ::aapt::util::DeviceToHost32(map->size)); in begin() 131 inline const ResTable_map* end(const ResTable_map_entry* map) { in end() argument 132 return begin(map) + aapt::util::DeviceToHost32(map->count); in end()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ArrayMapTest.java | 31 ArrayMap<String, String> map = new ArrayMap<>(); field in ArrayMapTest 49 while (map != null) { in testConcurrentModificationException() 51 map.put(String.format("key %d", i++), "B_DONT_DO_THAT"); in testConcurrentModificationException() 60 + " size=" + (map == null ? "??" : String.valueOf(map.size())) + "]"); in testConcurrentModificationException() 70 map.clear(); in testConcurrentModificationException() 82 + i + " size=" + map.size() + "]"); in testConcurrentModificationException() 85 map = null; // will stop other thread in testConcurrentModificationException() 96 map.put(String.format("key %d", i++), "B_DONT_DO_THAT"); in testNonConcurrentAccesses() 101 map.clear(); in testNonConcurrentAccesses()
|
D | LongSparseLongArrayTest.java | 80 final HashMap<Long, Long> map = new HashMap<Long, Long>(); in testFuzz() local 87 map.put(key, value); in testFuzz() 90 if (r.nextBoolean() && map.size() > 0) { in testFuzz() 91 final int index = r.nextInt(map.size()); in testFuzz() 92 final long key = getKeyAtIndex(map, index); in testFuzz() 93 map.remove(key); in testFuzz() 98 Log.d(TAG, "verifying a map with " + map.size() + " entries"); in testFuzz() 100 for (Map.Entry<Long, Long> e : map.entrySet()) { in testFuzz() 107 private static <E> E getKeyAtIndex(Map<E, ?> map, int index) { in getKeyAtIndex() argument 108 final Iterator<E> keys = map.keySet().iterator(); in getKeyAtIndex()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | Utils.java | 36 static void writeStringMap(@NonNull Parcel dest, @Nullable Map<String, String> map) { in writeStringMap() argument 37 if (map == null) { in writeStringMap() 41 dest.writeInt(map.size()); in writeStringMap() 42 for (Map.Entry<String, String> entry : map.entrySet()) { in writeStringMap() 50 Map<String, String> map = new HashMap<>(size); in readStringMap() local 54 map.put(key, value); in readStringMap() 56 return map; in readStringMap() 59 static void writeStringIntMap(@NonNull Parcel dest, @Nullable Map<String, Integer> map) { in writeStringIntMap() argument 60 if (map == null) { in writeStringIntMap() 64 dest.writeInt(map.size()); in writeStringIntMap() [all …]
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeUtils.java | 57 static <T> String toString(Map<T, byte[]> map) { in toString() argument 58 if (map == null) { in toString() 61 if (map.isEmpty()) { in toString() 66 Iterator<Map.Entry<T, byte[]>> it = map.entrySet().iterator(); in toString() 70 buffer.append(key).append("=").append(Arrays.toString(map.get(key))); in toString() 106 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals() argument 107 if (map == otherMap) { in equals() 110 if (map == null || otherMap == null) { in equals() 113 if (map.size() != otherMap.size()) { in equals() 116 Set<T> keys = map.keySet(); in equals() [all …]
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 99 sp<KeyLayoutMap> map; in validateFile() local 100 status_t status = KeyLayoutMap::load(filename, &map); in validateFile() 109 sp<KeyCharacterMap> map; in validateFile() local 111 KeyCharacterMap::FORMAT_ANY, &map); in validateFile() 120 PropertyMap* map; in validateFile() local 121 status_t status = PropertyMap::load(String8(filename), &map); in validateFile() 126 delete map; in validateFile() 131 std::unique_ptr<VirtualKeyMap> map = VirtualKeyMap::load(filename); in validateFile() local 132 if (!map) { in validateFile()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 93 final ArrayMap<int[], Entry> map = pkg.mMap.valueAt(i); in removePackage() local 94 for (int j = 0; j < map.size(); j++) { in removePackage() 95 map.valueAt(j).recycle(); in removePackage() 122 ArrayMap<int[], Entry> map = null; in get() local 125 map = pkg.mMap.get(resId); in get() 126 if (map != null) { in get() 127 ent = map.get(styleable); in get() 147 if (map == null) { in get() 148 map = new ArrayMap<>(); in get() 149 pkg.mMap.put(resId, map); in get() [all …]
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 66 private final LinkedHashMap<K, V> map; field in LruCache 88 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 120 mapValue = map.get(key); in get() 142 mapValue = map.put(key, createdValue); in get() 146 map.put(key, mapValue); in get() 176 previous = map.put(key, value); in put() 202 if (size < 0 || (map.isEmpty() && size != 0)) { in trimToSize() 211 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize() 218 map.remove(key); in trimToSize() 239 previous = map.remove(key); in remove() [all …]
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 67 private final LinkedHashMap<K, V> map; field in LruCache 89 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 122 mapValue = map.get(key); in get() 144 mapValue = map.put(key, createdValue); in get() 148 map.put(key, mapValue); in get() 178 previous = map.put(key, value); in put() 201 if (size < 0 || (map.isEmpty() && size != 0)) { in trimToSize() 215 for (Map.Entry<K, V> entry : map.entrySet()) { in trimToSize() 226 map.remove(key); in trimToSize() 247 previous = map.remove(key); in remove() [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_variation/ |
D | stdout.txt.expect | 64 // int -> FLOAT32 map 66 // int -> INT32 map 68 // int -> QUANT8_ASYMM map 73 // int -> FLOAT32 map 75 // int -> INT32 map 77 // int -> QUANT8_ASYMM map 139 // int -> FLOAT32 map 141 // int -> INT32 map 143 // int -> QUANT8_ASYMM map 148 // int -> FLOAT32 map [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/ |
D | stdout.txt.expect | 64 // int -> FLOAT32 map 66 // int -> INT32 map 68 // int -> QUANT8_ASYMM map 73 // int -> FLOAT32 map 75 // int -> INT32 map 77 // int -> QUANT8_ASYMM map 139 // int -> FLOAT32 map 141 // int -> INT32 map 143 // int -> QUANT8_ASYMM map 148 // int -> FLOAT32 map [all …]
|