Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 246) sorted by relevance

12345678910

/frameworks/native/libs/ftl/
Dsmall_map_test.cpp28 ftl::SmallMap<int, std::string, 3> map; in TEST() local
53 SmallMap<int, std::string, 2> map; in TEST() local
60 SmallMap<int, std::string, 5> map = in TEST() local
71 SmallMap<int, std::string, 5> map = in TEST() local
82 SmallMap map = ftl::init::map<int, std::string>(123, "abc")(-1)(42, 3u, '?'); in TEST() local
96 const ftl::SmallMap map = ftl::init::map('a', 'A')('b', 'B')('c', 'C'); in TEST() local
107 ftl::SmallMap map = ftl::init::map('a', 'A')('b', 'B')('c', 'C'); in TEST() local
119 const ftl::SmallMap map = ftl::init::map('a', 'x')('b', 'y')('c', 'z'); in TEST() local
124 ftl::SmallMap map = ftl::init::map('a', 'x')('b', 'y')('c', 'z'); in TEST() local
/frameworks/av/services/mediametrics/
DAudioTypes.cpp26 static std::unordered_map<std::string, int32_t> map{ in getAudioCallerNameMap() local
48 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceInMap() local
93 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceOutMap() local
136 static std::unordered_map<std::string, int32_t> map{ in getAudioThreadTypeMap() local
152 static std::unordered_map<std::string, int32_t> map{ in getAudioTrackTraitsMap() local
162 static std::unordered_map<std::string, int32_t> map { in getAAudioDirection() local
173 static std::unordered_map<std::string, int32_t> map { in getAAudioPerformanceMode() local
185 static std::unordered_map<std::string, int32_t> map { in getAAudioSharingMode() local
227 std::string validateStringFromMap(const std::string &str, const M& map) in validateStringFromMap()
243 typename M::mapped_type flagsFromMap(const std::string &str, const M& map) in flagsFromMap()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompatTest.java117 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput() local
123 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme() local
131 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() local
139 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local
151 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesNoSubtypes() local
164 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithAndWithoutSubtypes() local
178 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithSubtypes() local
DInputMethodAndSubtypeUtilTest.java115 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_EmptyInput() local
121 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleIme() local
129 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeSingleSubtype() local
137 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local
149 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesNoSubtypes() local
162 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithAndWithoutSubtypes() local
176 HashMap<String, HashSet<String>> map = new HashMap<>(); in buildInputMethodsAndSubtypesString_MultipleImesWithSubtypes() local
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp51 NativeKeyCharacterMap(int32_t deviceId, std::shared_ptr<KeyCharacterMap> map) in NativeKeyCharacterMap()
102 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel() local
107 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() local
122 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeDispose() local
129 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetCharacter() local
138 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetFallbackAction() local
156 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetNumber() local
166 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetMatch() local
185 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetDisplayLabel() local
194 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetKeyboardType() local
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp677 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() function in C2Mapper
682 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() function in C2Mapper
687 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() function in C2Mapper
692 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() function in C2Mapper
697 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() function in C2Mapper
718 bool C2Mapper::map(int32_t from, C2Color::range_t *to) { in map() function in C2Mapper
739 bool C2Mapper::map(C2Color::range_t from, ColorAspects::Range *to) { in map() function in C2Mapper
744 bool C2Mapper::map(ColorAspects::Range from, C2Color::range_t *to) { in map() function in C2Mapper
749 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { in map() function in C2Mapper
783 bool C2Mapper::map(int32_t standard, C2Color::primaries_t *primaries, C2Color::matrix_t *matrix) { in map() function in C2Mapper
[all …]
/frameworks/base/core/java/android/os/health/
DHealthStatsWriter.java122 ArrayMap<String,HealthStatsWriter> map = mStatsValues[index]; in addStats() local
137 ArrayMap<String,TimerStat> map = mTimersValues[index]; in addTimers() local
150 ArrayMap<String,Long> map = mMeasurementsValues[index]; in addMeasurements() local
255 ArrayMap<String,HealthStatsWriter> map) { in writeHealthStatsWriterMap()
268 ArrayMap<String,T> map) { in writeParcelableMap()
280 private static void writeLongsMap(Parcel out, ArrayMap<String,Long> map) { in writeLongsMap()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanProperty.java27 public void putInMap(Map map, T value) { in putInMap()
31 public T getFromMap(Map map) { in getFromMap()
DLowpanScanner.java150 Map<String, Object> map = new HashMap(); in createScanOptionMap() local
172 Map<String, Object> map = createScanOptionMap(); in startNetScan() local
254 Map<String, Object> map = createScanOptionMap(); in startEnergyScan() local
/frameworks/base/core/java/android/hardware/radio/
DUtils.java36 static void writeStringMap(@NonNull Parcel dest, @Nullable Map<String, String> map) { in writeStringMap() argument
50 Map<String, String> map = new HashMap<>(size); in readStringMap() local
59 static void writeStringIntMap(@NonNull Parcel dest, @Nullable Map<String, Integer> map) { in writeStringIntMap()
73 Map<String, Integer> map = new HashMap<>(size); in readStringIntMap() local
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DResourceRepository.java185 Map<String, ResourceItem> map = mResourceMap.get(type); in getResourceItem() local
299 Map<ResourceType, ResourceValueMap> map = in doGetConfiguredResources() local
328 Map<String, ResourceItem> map = mResourceMap.get(type); in removeFile() local
367 ResourceValueMap map = ResourceValueMap.createWithExpectedSize(items.size()); in getConfiguredResource() local
389 Map<String, ResourceItem> map = mResourceMap.get(type); in findDeclaredResourceItem() local
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.h130 inline const ResTable_map* begin(const ResTable_map_entry* map) { in begin()
134 inline const ResTable_map* end(const ResTable_map_entry* map) { in end()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALookup.h34 inline bool map(const T& from, V *to) const { return lookup(from, to); } in map() function
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } in map() function
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java142 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName() local
161 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass() local
172 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId); in getProvidersByName() local
184 final HashMap<ComponentName, ContentProviderRecord> map in getProvidersByClass() local
251 String header, boolean needSep, HashMap<ComponentName, ContentProviderRecord> map) { in dumpProvidersByClassLocked()
277 String header, boolean needSep, HashMap<String, ContentProviderRecord> map) { in dumpProvidersByNameLocked()
313 HashMap<ComponentName, ContentProviderRecord> map = mProvidersByClassPerUser.valueAt(i); in dumpProvidersLocked() local
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java48 Map<String, Object> map = Maps.newHashMap(); in onEvent() local
114 Map map = it.next(); in waitForEvent() local
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java57 static <T> String toString(Map<T, byte[]> map) { in toString()
106 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals()
/frameworks/layoutlib/validator/src/
DResourceConverter.java40 Map<String, String> map = loadStrings("./validator/resources/values.xml"); in main() local
49 private static void writeStrings(Map<String, String> map, String outputPath) throws Exception { in writeStrings() argument
/frameworks/native/libs/input/
DVirtualKeyMap.cpp54 std::unique_ptr<VirtualKeyMap> map(new VirtualKeyMap()); in load() local
72 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DCpuFrequencies.java84 final ArrayMap<String, String> map = new ArrayMap<>(); in toSysFileMap() local
92 public void addToSysFileMap(Map<String, String> map) { in addToSysFileMap() argument
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java49 public Builder addAll(ProjectionMap map) { in addAll()
89 public void putAll(Map<? extends String, ? extends String> map) { in putAll()
/frameworks/base/tools/aapt2/compile/
DIdAssigner.h34 explicit IdAssigner(const std::unordered_map<ResourceName, ResourceId>* map) in IdAssigner()
/frameworks/base/core/java/android/content/pm/verify/domain/
DDomainVerificationUtils.java43 public static void writeHostMap(@NonNull Parcel dest, @NonNull Map<String, ?> map) { in writeHostMap()
75 public static <T extends Map> T readHostMap(@NonNull Parcel in, @NonNull T map, in readHostMap()
/frameworks/base/core/tests/coretests/src/android/util/
DLongSparseLongArrayTest.java80 final HashMap<Long, Long> map = new HashMap<Long, Long>(); in testFuzz() local
107 private static <E> E getKeyAtIndex(Map<E, ?> map, int index) { in getKeyAtIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt88 val map = list.groupByTo(OrderedMap(ArrayMap<CharSequence, MutableList<ControlStatus>>())) { in <lambda>() constant
112 private class OrderedMap<K, V>(private val map: MutableMap<K, V>) : MutableMap<K, V> by map { in <lambda>() constant in com.android.systemui.controls.management.OrderedMap
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp40 android::FileMap map; in OpenAsData() local
41 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData() local

12345678910