Home
last modified time | relevance | path

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

123456789

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java34 import java.util.Map;
36 import java.util.Map.Entry;
87 Map<String, ClassReader> zipClasses = parseZip(mOsSourceJar); in analyze()
91 Map<String, ClassReader> found = findIncludes(zipClasses); in analyze()
92 Map<String, ClassReader> deps = findDeps(zipClasses, found); in analyze()
104 Map<String,ClassReader> parseZip(List<String> jarPathList) throws IOException { in parseZip()
153 Map<String, ClassReader> findIncludes(Map<String, ClassReader> zipClasses) in findIncludes()
175 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass()
176 Map<String, ClassReader> inOutFound) throws LogAbortException { in findClass()
201 void findGlobs(String globPattern, Map<String, ClassReader> zipClasses, in findGlobs()
[all …]
DAsmGenerator.java30 import java.util.Map;
31 import java.util.Map.Entry;
52 private Map<String, ClassReader> mKeep;
54 private Map<String, ClassReader> mDeps;
175 public void setKeep(Map<String, ClassReader> keep) {
180 public void setDeps(Map<String, ClassReader> deps) {
185 public Map<String, ClassReader> getKeep() {
190 public Map<String, ClassReader> getDeps() {
236 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException {
/frameworks/base/core/java/android/webkit/
DWebStorage.java24 import java.util.Map;
73 private Map <String, Origin> mOrigins;
141 Map values = (Map) msg.obj; in createUIHandler()
142 Map origins = (Map) values.get(ORIGINS); in createUIHandler()
143 ValueCallback<Map> callback = (ValueCallback<Map>) values.get(CALLBACK); in createUIHandler()
148 Map values = (Map) msg.obj; in createUIHandler()
154 Map values = (Map) msg.obj; in createUIHandler()
192 Map origins = new HashMap(mOrigins); in createHandler()
193 Map values = new HashMap<String, Object>(); in createHandler()
201 Map values = (Map) msg.obj; in createHandler()
[all …]
DGeolocationPermissions.java24 import java.util.Map;
106 Map values = (Map) msg.obj; in createUIHandler()
112 Map values = (Map) msg.obj; in createUIHandler()
137 Map values = new HashMap<String, Object>(); in createHandler()
143 Map values = (Map) msg.obj; in createHandler()
147 Map retValues = new HashMap<String, Object>(); in createHandler()
237 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()
DSslClientCertLookupTable.java21 import java.util.Map;
29 private final Map<String, byte[]> privateKeys;
30 private final Map<String, byte[][]> certificateChains;
DUrlInterceptRegistry.java25 import java.util.Map;
125 String url, Map<String, String> headers) { in getSurrogate()
153 String url, Map<String, String> headers) { in getPluginData()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java56 import java.util.Map;
83 private final static Map<Integer, Pair<ResourceType, String>> sRMap =
89 private final static Map<IntArray, String> sRArrayMap = new HashMap<IntArray, String>();
94 private final static Map<ResourceType, Map<String, Integer>> sRFullMap =
95 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class);
97 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache =
98 new HashMap<Object, Map<String, SoftReference<Bitmap>>>();
99 … private final static Map<Object, Map<String, SoftReference<NinePatchChunk>>> sProject9PatchCache =
100 new HashMap<Object, Map<String, SoftReference<NinePatchChunk>>>();
102 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache =
[all …]
/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/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/server/
DBluetoothDeviceProperties.java23 import java.util.Map;
30 private final HashMap<String, Map<String, String>> mPropertiesMap;
34 mPropertiesMap = new HashMap<String, Map<String, String>>(); in BluetoothDeviceProperties()
38 Map<String, String> addProperties(String address, String[] properties) { in addProperties()
43 Map<String, String> propertyValues; in addProperties()
86 Map <String, String> propVal = mPropertiesMap.get(address); in setProperty()
116 Map<String, String> properties = mPropertiesMap.get(address); in getProperty()
133 Map<String, String> updateCache(String address) { in updateCache()
/frameworks/base/core/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/BiDiTests/src/com/android/bidi/
DBiDiTestActivity.java22 import java.util.Map;
52 Map<String, Object> map = (Map<String, Object>)lv.getItemAtPosition(position); in onListItemClick()
90 private void addItem(List<Map<String, Object>> data, String name, in addItem()
92 Map<String, Object> temp = new HashMap<String, Object>(); in addItem()
99 private List<Map<String, Object>> getTests() { in getTests()
100 List<Map<String, Object>> result = new ArrayList<Map<String, Object>>(); in getTests()
/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()
/frameworks/base/core/java/com/android/internal/os/
DPkgUsageStats.java23 import java.util.Map;
34 public Map<String, Long> componentResumeTimes;
53 public PkgUsageStats(String pkgName, int count, long time, Map<String, Long> lastResumeTimes) { in PkgUsageStats()
89 for (Map.Entry<String, Long> ent : componentResumeTimes.entrySet()) { in writeToParcel()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java34 import java.util.Map;
64 Map<String, ClassReader> map = mAa.parseZip(mOsJarPath); in testParseZip()
88 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath); in testFindClass()
103 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath); in testFindGlobs()
162 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath); in testFindClassesDerivingFrom()
184 Map<String, ClassReader> zipClasses = mAa.parseZip(mOsJarPath); in testDependencyVisitor()
/frameworks/base/tests/CoreTests/android/core/
DRequestAPITest.java30 import java.util.Map;
70 public void verifyFailure(Map<String, String> headers) { in verifyFailure()
90 Map<String, String> headers = Maps.newHashMap(); in testRequestAddNullHeader()
102 Map<String, String> headers = Maps.newHashMap(); in testRequestAddNullValue()
114 Map<String, String> headers = Maps.newHashMap(); in testRequestAddEmptyValue()
120 public void verifySuccess(Map<String, String> headers) { in verifySuccess()
134 Map<String, String> headers = Maps.newHashMap(); in testRequestAddHeader()
146 Map<String, String> headers = Maps.newHashMap(); in testRequestAddMultiHeader()
160 Map<String, String> headers = Maps.newHashMap(); in testRequestAddSameHeader()
/frameworks/base/core/tests/coretests/src/android/webkit/
DUrlInterceptRegistryTest.java26 import java.util.Map;
47 public CacheResult service(String url, Map<String, String> headers) { in service()
52 Map<String, in getPluginData()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DServiceManager.java19 import java.util.Map;
69 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java24 import java.util.Map;
30 public static final Map<Integer, String> WELL_KNOWN_SHORT_MIME_TYPES
32 public static final Map<Integer, String> WELL_KNOWN_LONG_MIME_TYPES
34 public static final Map<Integer, String> WELL_KNOWN_PARAMETERS
526 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownShortIntegerNoValue()
550 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownShortIntegerTokenText()
575 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownLongIntegerTokenText()
599 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownShortIntegerQuotedText()
621 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownShortIntegerCompactIntegerValue()
647 Map<String, String> params = unit.getContentParameters(); in testTypedParamWellKnownShortIntegerMultipleParameters()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java23 import java.util.Map;
34 private final Map<String, String> mAttributes;
36 public BridgeLayoutParamsMapAttributes(Map<String, String> attributes) { in BridgeLayoutParamsMapAttributes()
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java56 import java.util.Map;
96 final private Map<String, PkgUsageStatsExtended> mStats;
99 final private Map<String, Map<String, Long>> mLastResumeTimes;
229 for (Map.Entry<String, TimeStats> ent : mLaunchTimes.entrySet()) { in writeToParcel()
246 mLastResumeTimes = new HashMap<String, Map<String, Long>>(); in UsageStatsService()
389 Map<String, Long> lrt = mLastResumeTimes.get(pkg); in readHistoryStatsFLOCK()
596 Map<String, Map<String, Long>> tmpLastResumeTimes = in filterHistoryStats()
597 new HashMap<String, Map<String, Long>>(mLastResumeTimes); in filterHistoryStats()
617 for (Map.Entry<String, Map<String, Long>> pkgEntry : mLastResumeTimes.entrySet()) { in writeHistoryStatsFLOCK()
620 for (Map.Entry<String, Long> compEntry : pkgEntry.getValue().entrySet()) { in writeHistoryStatsFLOCK()
[all …]

123456789