Home
last modified time | relevance | path

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

1234567891011

/frameworks/av/services/mediametrics/
DAudioTypes.cpp28 static std::unordered_map<std::string, int32_t> map{ in getAudioCallerNameMap() local
50 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceInMap() local
95 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceOutMap() local
141 static std::unordered_map<std::string, int32_t> map{ in getAudioDeviceOutCompactMap() local
186 static std::unordered_map<std::string, int32_t> map{ in getAudioDeviceInfoTypeMap() local
229 static std::unordered_map<std::string, int32_t> map{ in getAudioThreadTypeMap() local
247 static std::unordered_map<std::string, int32_t> map{ in getAudioTrackTraitsMap() local
257 static std::unordered_map<std::string, int32_t> map { in getAAudioDirection() local
268 static std::unordered_map<std::string, int32_t> map { in getAAudioPerformanceMode() local
280 static std::unordered_map<std::string, int32_t> map { in getAAudioSharingMode() local
[all …]
/frameworks/native/libs/ftl/
Dsmall_map_test.cpp31 ftl::SmallMap<int, std::string, 3> map; in TEST() local
59 SmallMap<int, std::string, 2> map; in TEST() local
66 SmallMap<int, std::string, 5> map = in TEST() local
77 SmallMap<int, std::string, 5> map = in TEST() local
88 SmallMap map = ftl::init::map<int, std::string>(123, "abc")(-1)(42, 3u, '?'); in TEST() local
129 const SmallMap map = ftl::init::map<int, float>(1)(2)(3)(2)(3)(1)(3)(2)(1); in TEST() local
139 const SmallMap map = ftl::init::map('a', 'A')( in TEST() local
153 const SmallMap map = ftl::init::map('a', 'A')('b', 'B')('c', 'C'); in TEST() local
164 SmallMap map = ftl::init::map('a', 'A')('b', 'B')('c', 'C'); in TEST() local
176 const SmallMap map = ftl::init::map('a', 'x')('b', 'y')('c', 'z'); in TEST() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DHashedCollectionsPerfTest.java42 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet() local
52 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet_Synchronized() local
66 Hashtable<String, String> map = new Hashtable<String, String>(); in timeHashtableGet() local
76 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); in timeLinkedHashMapGet() local
86 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); in timeConcurrentHashMapGet() local
DVirtualVersusInterfacePerfTest.java43 Map<String, String> map = new HashMap<String, String>(); in timeMapPut() local
52 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapPut() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
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
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
/frameworks/base/apct-tests/perftests/core/src/android/util/
DArrayMapPerfTest.java49 ArrayMap<String, Integer> map = new ArrayMap<>(); in testForEach_Small() local
65 ArrayMap<String, Integer> map = new ArrayMap<>(); in testForEach_Large() local
80 ArrayMap<Integer, Integer> map = new ArrayMap<>(); in testReplaceAll_Small() local
95 ArrayMap<Integer, Integer> map = new ArrayMap<>(); in testReplaceAll_Large() 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.cpp787 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() function in C2Mapper
792 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() function in C2Mapper
797 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() function in C2Mapper
802 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() function in C2Mapper
807 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() function in C2Mapper
828 bool C2Mapper::map(int32_t from, C2Color::range_t *to) { in map() function in C2Mapper
849 bool C2Mapper::map(C2Color::range_t from, ColorAspects::Range *to) { in map() function in C2Mapper
854 bool C2Mapper::map(ColorAspects::Range from, C2Color::range_t *to) { in map() function in C2Mapper
859 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { in map() function in C2Mapper
893 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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidStatsLogUtilsTest.java54 final HashMap<String, Integer> map = in setBondEntryForDevice_addsEntryToDeviceAddressToBondEntryMap() local
70 final HashMap<String, Integer> map = in logHearingAidInfo_removesEntryFromDeviceAddressToBondEntryMap() local
/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/packages/SystemUI/tests/src/com/android/systemui/fragments/
DFragmentServiceTest.kt39 val map = fragmentService.injectionMap in constructor_addsFragmentCreatorMethodsToMap() constant
62 val map = fragmentService.injectionMap in addFragmentInstantiationProvider_objectHasFragmentMethods_methodsAdded() constant
/frameworks/libs/net/common/native/bpf_headers/
DBpfMapTest.cpp69 void checkMapInvalid(BpfMap<uint32_t, uint32_t>& map) { in checkMapInvalid() argument
74 void checkMapValid(BpfMap<uint32_t, uint32_t>& map) { in checkMapValid() argument
79 void writeToMapAndCheck(BpfMap<uint32_t, uint32_t>& map, uint32_t key, uint32_t value) { in writeToMapAndCheck() argument
91 void populateMap(uint32_t total, BpfMap<uint32_t, uint32_t>& map) { in populateMap() argument
98 void expectMapEmpty(BpfMap<uint32_t, uint32_t>& map) { in expectMapEmpty() argument
171 BpfMap<uint32_t, uint32_t>& map) { in TEST_F() argument
190 BpfMap<uint32_t, uint32_t>& map) { in TEST_F() argument
/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/tools/aapt2/format/binary/
DBinaryResourceParser.h134 inline const ResTable_map* begin(const ResTable_map_entry* map) { in begin()
138 inline const ResTable_map* end(const ResTable_map_entry* map) { in end()
/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/native/libs/input/tests/
DInputDevice_test.cpp79 std::shared_ptr<KeyCharacterMap> map = KeyCharacterMap::readFromParcel(&parcel); in TEST_F() local
93 std::shared_ptr<KeyCharacterMap> map = KeyCharacterMap::readFromParcel(&parcel); in TEST_F() local
145 const std::shared_ptr<KeyLayoutMap>& map = *ret; in TEST() local
/frameworks/layoutlib/validator/src/
DResourceConverter.java40 Map<String, String> map = loadStrings("./validator/resources/strings.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/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()

1234567891011