Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/frameworks/base/core/java/android/webkit/
DWebStorageClassic.java24 import java.util.Map;
52 private Map <String, Origin> mOrigins;
69 Map values = (Map) msg.obj; in createUIHandler()
70 Map origins = (Map) values.get(ORIGINS); in createUIHandler()
71 ValueCallback<Map> callback = (ValueCallback<Map>) values.get(CALLBACK); in createUIHandler()
76 Map values = (Map) msg.obj; in createUIHandler()
82 Map values = (Map) msg.obj; in createUIHandler()
120 Map origins = new HashMap(mOrigins); in createHandler()
121 Map values = new HashMap<String, Object>(); in createHandler()
129 Map values = (Map) msg.obj; in createHandler()
[all …]
DGeolocationPermissionsClassic.java23 import java.util.Map;
74 Map values = (Map) msg.obj; in createUIHandler()
80 Map values = (Map) msg.obj; in createUIHandler()
105 Map values = new HashMap<String, Object>(); in createHandler()
111 Map values = (Map) msg.obj; in createHandler()
115 Map retValues = new HashMap<String, Object>(); in createHandler()
195 Map values = new HashMap<String, Object>(); in getAllowed()
DPluginData.java20 import java.util.Map;
51 private Map<String, String[]> mHeaders;
75 Map<String, String[]> headers, in PluginData()
124 public Map<String, String[]> getHeaders() { in getHeaders()
DUrlInterceptHandler.java21 import java.util.Map;
44 public CacheResult service(String url, Map<String, String> headers); in service()
59 public PluginData getPluginData(String url, Map<String, String> headers); in getPluginData()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java34 import java.util.Map;
58 protected List<Map<String, Object>> getData(String prefix) { in getData()
59 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData()
82 Map<String, Boolean> entries = new HashMap<String, Boolean>(); in getData()
116 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
117 new Comparator<Map<String, Object>>() {
120 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem()
139 Map<String, Object> temp = new HashMap<String, Object>(); in addItem()
148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java35 import java.util.Map;
36 import java.util.Map.Entry;
88 Map<String, ClassReader> zipClasses = parseZip(mOsSourceJar); in analyze()
92 Map<String, ClassReader> found = findIncludes(zipClasses); in analyze()
93 Map<String, ClassReader> deps = findDeps(zipClasses, found); in analyze()
105 Map<String,ClassReader> parseZip(List<String> jarPathList) throws IOException { in parseZip()
154 Map<String, ClassReader> findIncludes(Map<String, ClassReader> zipClasses) in findIncludes()
176 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass()
177 Map<String, ClassReader> inOutFound) throws LogAbortException { in findClass()
202 void findGlobs(String globPattern, Map<String, ClassReader> zipClasses, in findGlobs()
[all …]
DDependencyFinder.java38 import java.util.Map;
39 import java.util.Map.Entry;
74 public List<Map<String, Set<String>>> findDeps(List<String> osJarPath) throws IOException { in findDeps()
76 Map<String, ClassReader> zipClasses = parseZip(osJarPath); in findDeps()
81 Map<String, Set<String>> deps = findClassesDeps(zipClasses); in findDeps()
83 Map<String, Set<String>> missing = findMissingClasses(deps, zipClasses.keySet()); in findDeps()
85 List<Map<String, Set<String>>> result = new ArrayList<Map<String,Set<String>>>(2); in findDeps()
94 public void printAllDeps(List<Map<String, Set<String>>> result) { in printAllDeps()
96 Map<String, Set<String>> deps = result.get(0); in printAllDeps()
97 Map<String, Set<String>> missing = result.get(1); in printAllDeps()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java57 import java.util.Map;
84 private final static Map<Integer, Pair<ResourceType, String>> sRMap =
90 private final static Map<IntArray, String> sRArrayMap = new HashMap<IntArray, String>();
95 private final static Map<ResourceType, Map<String, Integer>> sRevRMap =
96 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class);
104 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache =
105 new HashMap<Object, Map<String, SoftReference<Bitmap>>>();
106 … private final static Map<Object, Map<String, SoftReference<NinePatchChunk>>> sProject9PatchCache =
107 new HashMap<Object, Map<String, SoftReference<NinePatchChunk>>>();
109 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache =
[all …]
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java34 import java.util.Map;
35 import java.util.Map.Entry;
124 for(Map.Entry<String, Integer> entry : in getClassScores()
188 for (Map.Entry<String, HashMap<String, Integer> > entry : in toString()
202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { in findTopClasses()
208 for (Map.Entry<String, HistogramCounter> entry : mPredictor.entrySet()) { in findTopClasses()
221 for (Map.Entry<String, Double> item : scoreMap.entrySet()) { in findTopClasses()
233 for (Map.Entry<String, Double> entry : appScores.entrySet()) { in findTopClasses()
255 List<Map.Entry<String, Double> > appList = in findTopClasses()
256 new ArrayList<Map.Entry<String, Double> >(appCandidates.size()); in findTopClasses()
[all …]
/frameworks/volley/tests/src/com/android/volley/mock/
DTestRequest.java24 import java.util.Map;
59 private Map<String, String> mPostParams;
68 protected Map<String, String> getPostParams() { in getPostParams()
92 private Map<String, String> mParams;
100 public Map<String, String> getParams() { in getParams()
117 private Map<String, String> mParams = new HashMap<String, String>();
125 public Map<String, String> getParams() { in getParams()
DMockHttpStack.java26 import java.util.Map;
34 private Map<String, String> mLastHeaders;
42 public Map<String, String> getLastHeaders() { in getLastHeaders()
55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest()
DMockRequest.java27 import java.util.Map;
38 private Map<String, String> mPostParams = new HashMap<String, String>();
40 public void setPostParams(Map<String, String> postParams) { in setPostParams()
45 public Map<String, String> getPostParams() { in getPostParams()
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java22 import java.util.Map;
48 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidator()
54 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidator()
63 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorNullDomain()
69 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorNullDomain()
79 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorRemoveInvalid()
85 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorRemoveInvalid()
/frameworks/base/core/java/android/widget/
DSimpleExpandableListAdapter.java25 import java.util.Map;
40 private List<? extends Map<String, ?>> mGroupData;
46 private List<? extends List<? extends Map<String, ?>>> mChildData;
91 List<? extends Map<String, ?>> groupData, int groupLayout, in SimpleExpandableListAdapter()
93 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
139 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
141 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
193 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
195 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { in bindView()
DSimpleAdapter.java27 import java.util.Map;
55 private List<? extends Map<String, ?>> mData;
62 private ArrayList<Map<String, ?>> mUnfilteredData;
79 public SimpleAdapter(Context context, List<? extends Map<String, ?>> data, in SimpleAdapter()
147 final Map dataSet = mData.get(position); in bindView()
330 mUnfilteredData = new ArrayList<Map<String, ?>>(mData); in performFiltering()
334 ArrayList<Map<String, ?>> list = mUnfilteredData; in performFiltering()
340 ArrayList<Map<String, ?>> unfilteredValues = mUnfilteredData; in performFiltering()
343 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); in performFiltering()
346 Map<String, ?> h = unfilteredValues.get(i); in performFiltering()
[all …]
/frameworks/base/media/java/android/media/
DMediaExtractor.java31 import java.util.Map;
80 Context context, Uri uri, Map<String, String> headers) in setDataSource()
124 public final void setDataSource(String path, Map<String, String> headers) in setDataSource()
134 for (Map.Entry<String, String> entry: headers.entrySet()) { in setDataSource()
206 public Map<UUID, byte[]> getPsshInfo() { in getPsshInfo()
207 Map<UUID, byte[]> psshMap = null; in getPsshInfo()
208 Map<String, Object> formatMap = getFileFormatNative(); in getPsshInfo()
231 private native Map<String, Object> getFileFormatNative(); in getFileFormatNative()
241 private native Map<String, Object> getTrackFormatNative(int index); in getTrackFormatNative()
/frameworks/volley/src/com/android/volley/
DNetworkResponse.java22 import java.util.Map;
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse()
47 public NetworkResponse(byte[] data, Map<String, String> headers) { in NetworkResponse()
58 public final Map<String, String> headers;
DRequest.java31 import java.util.Map;
289 public Map<String, String> getHeaders() throws AuthFailureError { in getHeaders()
304 protected Map<String, String> getPostParams() throws AuthFailureError { in getPostParams()
345 Map<String, String> postParams = getPostParams(); in getPostBody()
360 protected Map<String, String> getParams() throws AuthFailureError { in getParams()
390 Map<String, String> params = getParams(); in getBody()
400 private byte[] encodeParameters(Map<String, String> params, String paramsEncoding) { in encodeParameters()
403 for (Map.Entry<String, String> entry : params.entrySet()) { in encodeParameters()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorRecordStorage.java31 import java.util.Map;
80 public boolean addData(Map<String, String> data) { in addData()
82 for (Map.Entry<String, String> item : data.entrySet()) { in addData()
92 public List<Map<String, String>> getAllData() { in getAllData()
93 ArrayList<Map<String, String> > allData = new ArrayList<Map<String, String> >(); in getAllData()
DPredictor.java24 import java.util.Map;
88 Map<String, String> sampleFeatures = getSampleFeatures(); in pushNewSample()
101 private Map<String, String> getSampleFeatures() { in getSampleFeatures()
102 Map<String, String> sampleFeatures = mFeatureAssembly.getFeatureMap(); in getSampleFeatures()
118 Map<String, String> features = getSampleFeatures(); in getTopCandidates()
119 List<Map.Entry<String, Double> > topApps = mPredictor.findTopClasses(features, topK); in getTopCandidates()
124 Map.Entry<String, Double> entry = topApps.get(i); in getTopCandidates()
DMotionStatsAggregator.java21 import java.util.Map;
31 public Map<String,String> getFeatureValue(String featureName) { in getFeatureValue()
37 return (Map) m; in getFeatureValue()
/frameworks/volley/tests/src/com/android/volley/toolbox/
DBasicNetworkTest.java32 import java.util.Map;
62 public Map<String, String> getHeaders() { in testHeadersAndPostParams()
63 Map<String, String> result = new HashMap<String, String>(); in testHeadersAndPostParams()
69 public Map<String, String> getPostParams() { in testHeadersAndPostParams()
70 Map<String, String> result = new HashMap<String, String>(); in testHeadersAndPostParams()
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduBody.java21 import java.util.Map;
27 private Map<String, PduPart> mPartMapByContentId = null;
28 private Map<String, PduPart> mPartMapByContentLocation = null;
29 private Map<String, PduPart> mPartMapByName = null;
30 private Map<String, PduPart> mPartMapByFileName = null;
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java30 import java.util.Map;
37 public List<Map> events = Lists.newArrayList();
47 Map<String, Object> map = Maps.newHashMap(); in onEvent()
110 Iterator<Map> it = mObserver.events.iterator(); in waitForEvent()
113 Map map = it.next(); in waitForEvent()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFileList.java23 import java.util.Map;
56 Map map = (Map) getListView().getItemAtPosition(getListView().getSelectedItemPosition()); in onKeyDown()
113 protected void addItem(List<Map> data, String name, String path) in addItem()
123 Map map = (Map) l.getItemAtPosition(position); in onListItemClick()

12345678910>>...12