Home
last modified time | relevance | path

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

123456789

/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/core/jni/
Dandroid_view_KeyCharacterMap.cpp50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap()
73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, in android_view_KeyCharacterMap_create() local
99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); in nativeReadFromParcel() local
104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeWriteToParcel() local
113 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeDispose() local
119 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetCharacter() local
125 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetFallbackAction() local
139 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetNumber() local
145 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetMatch() local
162 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); in nativeGetDisplayLabel() local
[all …]
/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
91 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceOutMap() local
131 static std::unordered_map<std::string, int32_t> map{ in getAudioThreadTypeMap() local
147 static std::unordered_map<std::string, int32_t> map{ in getAudioTrackTraitsMap() local
188 std::string validateStringFromMap(const std::string &str, const M& map) in validateStringFromMap()
204 typename M::mapped_type flagsFromMap(const std::string &str, const M& map) in flagsFromMap()
375 auto& map = getAudioCallerNameMap(); in lookup() local
386 auto& map = getAudioCallerNameMap(); in lookup() local
397 auto& map = getAudioThreadTypeMap(); in lookup() local
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp674 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() function in C2Mapper
679 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() function in C2Mapper
684 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() function in C2Mapper
689 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() function in C2Mapper
694 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() function in C2Mapper
715 bool C2Mapper::map(int32_t from, C2Color::range_t *to) { in map() function in C2Mapper
736 bool C2Mapper::map(C2Color::range_t from, ColorAspects::Range *to) { in map() function in C2Mapper
741 bool C2Mapper::map(ColorAspects::Range from, C2Color::range_t *to) { in map() function in C2Mapper
746 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { in map() function in C2Mapper
780 bool C2Mapper::map(int32_t standard, C2Color::primaries_t *primaries, C2Color::matrix_t *matrix) { in map() function in C2Mapper
[all …]
/frameworks/base/tools/validatekeymaps/
DMain.cpp99 sp<KeyLayoutMap> map; in validateFile() local
109 sp<KeyCharacterMap> map; in validateFile() local
120 PropertyMap* map; in validateFile() local
131 std::unique_ptr<VirtualKeyMap> map = VirtualKeyMap::load(filename); in validateFile() local
/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.java186 Map<String, ResourceItem> map = mResourceMap.get(type); in getResourceItem() local
300 Map<ResourceType, ResourceValueMap> map = in doGetConfiguredResources() local
329 Map<String, ResourceItem> map = mResourceMap.get(type); in removeFile() local
368 ResourceValueMap map = ResourceValueMap.createWithExpectedSize(items.size()); in getConfiguredResource() local
390 Map<String, ResourceItem> map = mResourceMap.get(type); in findDeclaredResourceItem() local
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.h127 inline const ResTable_map* begin(const ResTable_map_entry* map) { in begin()
131 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.java140 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId); in removeProviderByName() local
159 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass() local
170 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId); in getProvidersByName() local
182 final HashMap<ComponentName, ContentProviderRecord> map in getProvidersByClass() local
249 String header, boolean needSep, HashMap<ComponentName, ContentProviderRecord> map) { in dumpProvidersByClassLocked()
275 String header, boolean needSep, HashMap<String, ContentProviderRecord> map) { in dumpProvidersByNameLocked()
311 HashMap<ComponentName, ContentProviderRecord> map = mProvidersByClassPerUser.valueAt(i); in dumpProvidersLocked() local
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DCpuFrequencies.java82 final ArrayMap<String, String> map = new ArrayMap<>(); in toSysFileMap() local
90 public void addToSysFileMap(Map<String, String> map) { in addToSysFileMap() argument
/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()
DKeyLayoutMap.cpp60 sp<KeyLayoutMap> map = new KeyLayoutMap(); in load() local
192 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser()
258 KeyedVector<int32_t, Key>& map = mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseKey() local
422 KeyedVector<int32_t, Led>& map = mapUsage ? mMap->mLedsByUsageCode : mMap->mLedsByScanCode; in parseLed() local
/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/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/tools/aapt2/compile/
DIdAssigner.h34 explicit IdAssigner(const std::unordered_map<ResourceName, ResourceId>* map) in IdAssigner()
/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

123456789