Searched defs:Map (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/native/include/binder/
H A DMap.h32 typedef ::std::map<::std::string, Value> Map; typedef in namespace:android::binder
/frameworks/native/libs/binder/include/binder/
H A DMap.h32 typedef ::std::map<::std::string, Value> Map; typedef in namespace:android::binder
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java23 import java.util.Map;
47 CacheResult service(String url, @Nullable Map<String, String> headers); argument
63 PluginData getPluginData(String url, @Nullable Map<String, String> headers); argument
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
H A DConvert.java23 import java.util.Map;
39 static @NonNull String[][] stringMapToNative(@Nullable Map<String, String> map) { argument
45 Set<Map.Entry<String, String>> entries = map.entrySet();
50 for (Map.Entry<String, String> entry : entries) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSimpleCache.java20 import java.util.Map;
35 protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) { argument
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DSchemaEqualityUtil.java23 import java.util.Map;
33 @Nullable Map<T, K> map1, @Nullable Map<T, K> map2) {
43 for (Map.Entry<T, K> pair : map1.entrySet()) {
32 checkSchemaEquality( @ullable Map<T, K> map1, @Nullable Map<T, K> map2) argument
/frameworks/base/core/java/android/view/textclassifier/
H A DEntityConfidence.java30 import java.util.Map;
53 * Map entries that have 0 confidence are removed, and values greater than 1 are clamped to 1.
58 EntityConfidence(@NonNull Map<String, Float> source) { argument
63 for (Map.Entry<String, Float> it : source.entrySet()) {
105 for (Map.Entry<String, Float> entry : mEntityConfidence.entrySet()) {
/frameworks/base/core/java/android/hardware/radio/
H A DUtils.java29 import java.util.Map;
36 static void writeStringMap(@NonNull Parcel dest, @Nullable Map<String, String> map) { argument
42 for (Map.Entry<String, String> entry : map.entrySet()) {
48 static @NonNull Map<String, String> readStringMap(@NonNull Parcel in) {
50 Map<String, String> map = new HashMap<>();
59 static void writeStringIntMap(@NonNull Parcel dest, @Nullable Map<String, Integer> map) { argument
65 for (Map.Entry<String, Integer> entry : map.entrySet()) {
71 static @NonNull Map<String, Integer> readStringIntMap(@NonNull Parcel in) {
73 Map<String, Integer> map = new HashMap<>();
H A DAnnouncement.java28 import java.util.Map;
83 @NonNull private final Map<String, String> mVendorInfo;
87 @NonNull Map<String, String> vendorInfo) {
130 public @NonNull Map<String, String> getVendorInfo() {
86 Announcement(@onNull ProgramSelector selector, @Type int type, @NonNull Map<String, String> vendorInfo) argument
H A DTunerAdapter.java26 import java.util.Map;
42 private Map<String, String> mLegacyListFilter;
239 getProgramList(@Nullable Map<String, String> vendorFilter) { argument
339 public @NonNull Map<String, String> setParameters(@NonNull Map<String, String> parameters) { argument
348 public @NonNull Map<String, String> getParameters(@NonNull List<String> keys) {
/frameworks/base/native/webview/plat_support/
H A Dgraphic_buffer_impl.cpp56 return buffer->Map(mode, vaddr);
77 status_t GraphicBufferImpl::Map(AwMapMode mode, void** vaddr) { function in class:android::GraphicBufferImpl
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteBridge.java29 import java.util.Map;
71 boolean init(@NotNull Map<String, String> platformProperties, File fontLocation, argument
72 @NotNull Map<String, Map<String, Integer>> enumValueMap, @Nullable RemoteLayoutLog log)
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DEntityConfidence.java33 import java.util.Map;
57 * Map entries that have 0 confidence are removed, and values greater than 1 are clamped to 1.
62 EntityConfidence(@NonNull Map<String, Float> source) { argument
67 for (Map.Entry<String, Float> it : source.entrySet()) {
109 for (Map.Entry<String, Float> entry : mEntityConfidence.entrySet()) {
/frameworks/rs/
H A DrsMap.h29 class Map { class in namespace:android::renderscript
39 Map() : endIterator(MAP_NUM_BUCKET, nullptr, this) { function in class:android::renderscript::Map
43 ~Map() {
80 friend class Map;
118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {}
123 const Map* map;
139 iterator begin() { return ((const Map*)this)->begin(); }
/frameworks/base/core/java/android/security/keystore/recovery/
H A DRecoverySession.java35 import java.util.Map;
170 public Map<String, byte[]> recoverKeys(
184 * @return {@code Map} from recovered keys aliases to their references.
190 @NonNull public Map<String, Key> recoverKeyChainSnapshot(
195 Map<String, String> grantAliases = mRecoveryController
213 private @NonNull Map<String, Key> getKeysFromGrants(@NonNull Map<String, String> grantAliases) argument
/frameworks/base/media/java/android/media/
H A DAudioPresentation.java28 import java.util.Map;
52 private final Map<String, String> mLabels;
99 @NonNull Map<String, String> labels,
141 public Map<Locale, String> getLabels() {
142 Map<Locale, String> localeLabels = new HashMap<>();
143 for (Map.Entry<String, String> entry : mLabels.entrySet()) {
97 AudioPresentation(int presentationId, int programId, @NonNull Map<String, String> labels, @NonNull String language, @MasteringIndicationType int masteringIndication, boolean audioDescriptionAvailable, boolean spokenSubtitlesAvailable, boolean dialogueEnhancementAvailable) argument
H A DDataSourceDesc.java40 import java.util.Map;
74 private Map<String, String> mUriHeader;
170 public Map<String, String> getUriHeaders() {
222 private Map<String, String> mUriHeader;
443 @Nullable Map<String, String> headers, @Nullable List<HttpCookie> cookies) {
442 setDataSource(@onNull Context context, @NonNull Uri uri, @Nullable Map<String, String> headers, @Nullable List<HttpCookie> cookies) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DCategoryManager.java31 import java.util.Map;
32 import java.util.Map.Entry;
45 private final Map<Pair<String, String>, Tile> mTileByComponentCache;
48 private final Map<String, DashboardCategory> mCategoryByKeyMap;
140 Map<Pair<String, String>, Tile> tileByComponentCache,
141 Map<String, DashboardCategory> categoryByKeyMap) {
147 final Map<String, List<Tile>> packageToTileMap = new HashMap<>();
197 Map<String, DashboardCategory> categoryByKeyMap) {
208 synchronized void filterDuplicateTiles(Map<String, DashboardCategory> categoryByKeyMap) {
231 * @see #sortCategories(Context, Map)
139 backwardCompatCleanupForCategory( Map<Pair<String, String>, Tile> tileByComponentCache, Map<String, DashboardCategory> categoryByKeyMap) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java31 import java.util.Map;
37 * defines the views used to display the row, and a mapping from keys in the Map to specific
61 private List<? extends Map<String, ?>> mData;
70 private ArrayList<Map<String, ?>> mUnfilteredData;
81 * @param from A list of column names that will be added to the Map associated with each
87 public SimpleAdapter(Context context, List<? extends Map<String, ?>> data, argument
183 final Map dataSet = mData.get(position);
366 mUnfilteredData = new ArrayList<Map<String, ?>>(mData);
370 ArrayList<Map<String, ?>> list = mUnfilteredData;
376 ArrayList<Map<Strin
[all...]
H A DSimpleExpandableListAdapter.java25 import java.util.Map;
33 * the Map to specific views. This process is similar for a child, except it is
34 * one-level deeper so the data backing is specified as a List<List<Map>>,
37 * Map holds the data for that particular child.
40 private List<? extends Map<String, ?>> mGroupData;
46 private List<? extends List<? extends Map<String, ?>>> mChildData;
64 * @param groupFrom A list of keys that will be fetched from the Map
76 * (index by child position), and the Map corresponds to the data
77 * for a child (index by values in the childFrom array). The Map
80 * @param childFrom A list of keys that will be fetched from the Map
90 SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int groupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, String[] childFrom, int[] childTo) argument
138 SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int expandedGroupLayout, int collapsedGroupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, String[] childFrom, int[] childTo) argument
192 SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int expandedGroupLayout, int collapsedGroupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, int lastChildLayout, String[] childFrom, int[] childTo) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java33 import java.util.Map;
140 public static boolean isEmpty(@Nullable Map<?, ?> map) { argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodAndSubtypeUtil.java44 import java.util.Map;
290 final Map<String, List<Preference>> inputMethodPrefsMap) {
288 loadInputMethodSubtypeList(final PreferenceFragment context, final ContentResolver resolver, final List<InputMethodInfo> inputMethodInfos, final Map<String, List<Preference>> inputMethodPrefsMap) argument
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DConvert.java50 import java.util.Map;
81 vendorInfoToHal(@Nullable Map<String, String> info) { argument
85 for (Map.Entry<String, String> entry : info.entrySet()) {
99 static @NonNull Map<String, String>
103 Map<String, String> map = new HashMap<>();
203 private static @Nullable Map<String, Integer> dabConfigFromHal(
303 private static final Map<Integer, MetadataDef> metadataKeys;
/frameworks/base/services/core/java/com/android/server/display/
H A DAmbientBrightnessStatsTracker.java45 import java.util.Map;
146 private Map<Integer, Deque<AmbientBrightnessDayStats>> mStats;
175 for (Map.Entry<Integer, Deque<AmbientBrightnessDayStats>> entry : mStats.entrySet()) {
208 Map<Integer, Deque<AmbientBrightnessDayStats>> parsedStats = new HashMap<>();
270 for (Map.Entry<Integer, Deque<AmbientBrightnessDayStats>> entry : mStats.entrySet()) {
281 Map<Integer, Deque<AmbientBrightnessDayStats>> stats, @UserIdInt int userId) {
280 getOrCreateUserStats( Map<Integer, Deque<AmbientBrightnessDayStats>> stats, @UserIdInt int userId) argument
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncTask.java53 import java.util.Map;
261 Map<String, SecretKey> rawKeys;
292 Map<String, byte[]> encryptedApplicationKeys;
408 private Map<String, SecretKey> getKeysToSync(int recoveryAgentUid)
413 Map<String, WrappedKey> wrappedKeys = mRecoverableKeyStoreDb.getAllKeys(
524 Map<String, byte[]> encryptedApplicationKeys) {
523 createApplicationKeyEntries( Map<String, byte[]> encryptedApplicationKeys) argument

Completed in 213 milliseconds

123