Home
last modified time | relevance | path

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

12345678910>>...14

/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java52 import java.util.Map;
66 private static Map<String, List<Map<String, Object>>> MOCK_QUERY_RESULTS = Maps.newHashMap();
69 Map<String, List<Map<String, Object>>> resultMap) { in initializeAccount()
70 final Map<String, Object> inboxfolderDetailsMap = in initializeAccount()
75 final Map<String, Object> accountDetailsMap = createAccountDetailsMap(accountId, in initializeAccount()
80 final Map<String, Object> secondFolderDetailsMap = in initializeAccount()
90 final ArrayList<Map<String, Object>> conversations = new ArrayList<Map<String, Object>>(); in initializeAccount()
99 final Map<String, Object> message0 = in initializeAccount()
106 final Map<String, Object> message1 = in initializeAccount()
109 final Map<String, Object> message1a = in initializeAccount()
[all …]
DMockRespondMatrixCursor.java26 import java.util.Map;
34 final List<Map<String, Object>> mResultList;
37 List<Map<String, Object>> queryResults) { in MockRespondMatrixCursor()
52 final Map<String, Object> rowData = mResultList.get(pos); in respond()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java68 import java.util.Map;
149 public abstract Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes(); in getUsableInvitableAccountTypes()
184 private static final Map<AccountTypeWithDataSet, AccountType>
205 private Map<AccountTypeWithDataSet, AccountType> mAccountTypesWithDataSets = Maps.newHashMap();
206 private Map<AccountTypeWithDataSet, AccountType> mInvitableAccountTypes =
378 final Map<AccountTypeWithDataSet, AccountType> accountTypesByTypeAndDataSet = in loadAccountsInBackground()
384 final Map<String, List<AccountType>> accountTypesByType = Maps.newHashMap(); in loadAccountsInBackground()
540 Map<AccountTypeWithDataSet, AccountType> accountTypesByTypeAndDataSet, in addAccountType()
541 Map<String, List<AccountType>> accountTypesByType) { in addAccountType()
628 private Map<AccountTypeWithDataSet, AccountType> getAllInvitableAccountTypes() { in getAllInvitableAccountTypes()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java20 import java.util.Map;
90 private Map<Long, Msg> mMsgListSms=null;
91 private Map<Long, Msg> mMsgListMms=null;
92 private Map<Long, Msg> mMsgListMsg=null;
94 private Map<String, BluetoothMapConvoContactElement> mContactList;
194 /* package */ Map<Long, Msg> getMsgListSms() { in getMsgListSms()
198 /* package */ void setMsgListSms(Map<Long, Msg> msgListSms) { in setMsgListSms()
202 /* package */ Map<Long, Msg> getMsgListMms() { in getMsgListMms()
206 /* package */ void setMsgListMms(Map<Long, Msg> msgListMms) { in setMsgListMms()
210 /* package */ Map<Long, Msg> getMsgListMsg() { in getMsgListMsg()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebug.java33 import java.util.Map;
61 private class FetchInfoTask extends AsyncTask<Void, Void, List<Map<String, String>>> {
79 protected List<Map<String, String>> doInBackground(Void... params) { in doInBackground()
82 List<Map<String, String>> items = new ArrayList<Map<String, String>>(); in doInBackground()
158 protected void onPostExecute(List<Map<String, String>> items) { in onPostExecute()
186 protected void addItem(List<Map<String, String>> items, String title, String text) { in addItem()
187 Map<String, String> itemMap = new HashMap<String, String>(); in addItem()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderOperations.java28 import java.util.Map;
43 private final Map<String, Operation> mOperations;
154 Set<Map.Entry<String, Operation>> operationSet = mOperations.entrySet(); in undoOperation()
155 for (Map.Entry<String, Operation> operationItem : operationSet) { in undoOperation()
168 Set<Map.Entry<String, Operation>> operationSet = mOperations.entrySet(); in getOperationList()
169 for (Map.Entry<String, Operation> operationItem : operationSet) { in getOperationList()
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java40 import java.util.Map;
90 final List<Map<String, Object>> sortedList = ZoneGetter.getZonesList(context); in constructTimezoneAdapter()
132 return TimeZone.getTimeZone((String)((Map<?, ?>)item).get(ZoneGetter.KEY_ID)); in obtainTimeZoneFromItem()
213 final Map<?, ?> map = (Map<?, ?>)listView.getItemAtPosition(position); in onListItemClick()
228 private static class MyComparator implements Comparator<Map<?, ?>> {
239 public int compare(Map<?, ?> map1, Map<?, ?> map2) { in compare() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DHttpHelper.java21 import java.util.Map;
31 public String get(String url, Map<String,String> requestHeaders) in get()
36 public String post(String url, Map<String,String> requestHeaders, String content) in post()
45 private Map<String,String> mHeaders;
80 public Map<String, String> getHeaders() { in getHeaders()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java45 import java.util.Map;
216 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds); in processEventIds()
224 Map<Long, Pair<String, String>> calendarsToAccounts = in processEventIds()
292 Iterator<Map.Entry<LocalDismissId, Long>> it = in syncSenderDismissCache()
295 Map.Entry<LocalDismissId, Long> entry = it.next(); in syncSenderDismissCache()
351 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds); in dismissGlobally()
361 Map<Long, Pair<String, String>> calendarsToAccounts = in dismissGlobally()
420 private static Map<Long, Long> lookupEventToCalendarMap(Context context, Set<Long> eventIds) { in lookupEventToCalendarMap()
421 Map<Long, Long> eventsToCalendars = new HashMap<Long, Long>(); in lookupEventToCalendarMap()
447 private static Map<Long, Pair<String, String>> lookupCalendarToAccountMap(Context context, in lookupCalendarToAccountMap()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeAutomationSettings.java51 import java.util.Map;
152 private Map.Entry<String,AutomaticZenRule>[] sortedRules() { in sortedRules()
153 final Map.Entry<String,AutomaticZenRule>[] rt = in sortedRules()
154 mRules.toArray(new Map.Entry[mRules.size()]); in sortedRules()
162 final Map.Entry<String,AutomaticZenRule>[] sortedRules = sortedRules(); in updateControls()
163 for (Map.Entry<String,AutomaticZenRule> sortedRule : sortedRules) { in updateControls()
254 private static final Comparator<Map.Entry<String,AutomaticZenRule>> RULE_COMPARATOR =
255 new Comparator<Map.Entry<String,AutomaticZenRule>>() {
257 public int compare(Map.Entry<String,AutomaticZenRule> lhs,
258 Map.Entry<String,AutomaticZenRule> rhs) {
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/perf/
DTimer.java26 import java.util.Map;
77 private final Map<String, ArrayList<PerformancePoint>> mPoints = Maps.newHashMap();
78 private final Map<String, Integer> mCounts = Maps.newHashMap();
149 for (Map.Entry<String, ArrayList<PerformancePoint>> entry : mPoints.entrySet()) { in dumpResults()
171 for (Map.Entry<String, Integer> entry : mCounts.entrySet()) { in dumpResults()
181 private static Map<String, PerformancePoint> sPerformanceCollector =
/packages/apps/Dialer/src/com/android/dialer/calllog/calllogcache/
DCallLogCacheLollipopMr1.java28 import java.util.Map;
40 private final Map<Pair<PhoneAccountHandle, CharSequence>, Boolean> mVoicemailQueryCache =
42 private final Map<PhoneAccountHandle, String> mPhoneAccountLabelCache = new HashMap<>();
43 private final Map<PhoneAccountHandle, Integer> mPhoneAccountColorCache = new HashMap<>();
44 private final Map<PhoneAccountHandle, Boolean> mPhoneAccountCallWithNoteCache = new HashMap<>();
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java41 import java.util.Map;
144 Map<String, String> structuredNameMap = NameConverter.displayNameToStructuredName( in switchFromFullNameToStructuredName()
166 Map<String, String> structuredNameMap = valuesToStructuredNameMap(values); in switchFromStructuredNameToFullName()
182 private Map<String, String> valuesToStructuredNameMap(ValuesDelta values) { in valuesToStructuredNameMap()
183 Map<String, String> structuredNameMap = new HashMap<String, String>(); in valuesToStructuredNameMap()
195 Map<String, String> structuredNameMap = valuesToStructuredNameMap(values); in rebuildFullName()
209 Map<String, String> structuredNameMap = NameConverter.displayNameToStructuredName( in rebuildStructuredName()
240 final Map<String, String> structuredNameMap = valuesToStructuredNameMap(valuesDelta); in getDisplayName()
/packages/apps/Messaging/src/android/support/v7/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;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DLruCache.java20 import java.util.Map;
91 public synchronized void putAll(Map<? extends K, ? extends V> m) { in putAll()
92 for (Map.Entry<? extends K, ? extends V> e : m.entrySet()) { in putAll()
105 protected synchronized boolean removeEldestEntry(Map.Entry<K, V> eldest) { in removeEldestEntry()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredT3tIdentifiersCache.java30 import java.util.Map;
117 for (Map.Entry<String, NfcFServiceInfo> entry : in generateForegroundT3tIdentifiersCacheLocked()
134 Iterator<Map.Entry<String, NfcFServiceInfo>> it; in updateRoutingLocked()
138 Map.Entry<String, NfcFServiceInfo> entry = in updateRoutingLocked()
139 (Map.Entry<String, NfcFServiceInfo>) it.next(); in updateRoutingLocked()
201 for (Map.Entry<String, NfcFServiceInfo> entry : mForegroundT3tIdentifiersCache.entrySet()) { in dump()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelUtils.java37 import java.util.Map;
51 public static Map<Long, ChannelInfo> queryChannelInfoMapForTvInput( in queryChannelInfoMapForTvInput()
54 Map<Long, ChannelInfo> map = new HashMap<>(); in queryChannelInfoMapForTvInput()
85 Map<Uri, String> logos = new HashMap<>(); in updateChannels()
155 public static class InsertLogosTask extends AsyncTask<Map<Uri, String>, Void, Void> {
164 public final Void doInBackground(Map<Uri, String>... logosList) { in doInBackground()
165 for (Map<Uri, String> logos : logosList) { in doInBackground()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java27 import java.util.Map;
78 final int bodyOffset, final Map<Integer, String> words, in readUnigramsAndBigramsBinaryInner()
79 final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinaryInner()
80 final Map<Integer, ArrayList<PendingAttribute>> bigrams) { in readUnigramsAndBigramsBinaryInner()
149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary()
150 final Map<Integer, ArrayList<PendingAttribute>> bigrams) throws IOException, in readUnigramsAndBigramsBinary()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java60 import java.util.Map;
306 private static class MailboxLoader extends MailAsyncTaskLoader<Map<String, Object>> {
328 public Map<String, Object> loadInBackground() { in loadInBackground()
329 final Map<String, Object> result = new HashMap<>(); in loadInBackground()
358 protected void onDiscardResult(Map<String, Object> result) {} in onDiscardResult()
362 implements LoaderManager.LoaderCallbacks<Map<String, Object>> {
364 public Loader<Map<String, Object>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
370 public void onLoadFinished(Loader<Map<String, Object>> loader, in onLoadFinished()
371 Map<String, Object> data) { in onLoadFinished()
391 public void onLoaderReset(Loader<Map<String, Object>> loader) {} in onLoaderReset()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockResources.java23 import java.util.Map;
26 private Map<Integer, String> mPackages = Maps.newHashMap();
27 private Map<Integer, String> mTypes = Maps.newHashMap();
28 private Map<Integer, String> mEntries = Maps.newHashMap();
/packages/services/Telephony/src/org/apache/james/mime4j/
DBodyDescriptor.java23 import java.util.Map;
39 private Map<String, String> parameters = new HashMap<String, String>();
100 Map<String, String> params = getHeaderParams(sb.toString()); in addField()
151 private Map<String, String> getHeaderParams(String headerValue) { in getHeaderParams()
152 Map<String, String> result = new HashMap<String, String>(); in getHeaderParams()
363 public Map<String, String> getParameters() { in getParameters()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DBodyDescriptor.java23 import java.util.Map;
39 private Map<String, String> parameters = new HashMap<String, String>();
100 Map<String, String> params = getHeaderParams(sb.toString()); in addField()
151 private Map<String, String> getHeaderParams(String headerValue) { in getHeaderParams()
152 Map<String, String> result = new HashMap<String, String>(); in getHeaderParams()
363 public Map<String, String> getParameters() { in getParameters()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/
DTsParser.java37 import java.util.Map;
62 private final Map<Integer, VctItem> mSourceIdToVctItemMap = new HashMap<>();
63 private final Map<Integer, String> mSourceIdToVctItemDescriptionMap = new HashMap<>();
64 private final Map<Integer, VctItem> mProgramNumberToVctItemMap = new HashMap<>();
65 private final Map<Integer, List<PmtItem>> mProgramNumberToPMTMap = new HashMap<>();
66 private final Map<Integer, List<EitItem>> mSourceIdToEitMap = new HashMap<>();
67 private final Map<EventSourceEntry, List<EitItem>> mEitMap = new HashMap<>();
68 private final Map<EventSourceEntry, List<EttItem>> mETTMap = new HashMap<>();
310 Map<Integer, EitItem> itemSet = new HashMap<>(); in handleEvents()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java56 import java.util.Map;
157 final Map<String, String> protocolMap) { in updateAccountManagerAccountsOfType()
186 final Map<String, Integer> syncIntervals) { in fixPeriodicSyncs()
217 private Map<String, Integer> getSyncIntervals() { in getSyncIntervals()
221 final Map<String, Integer> periodicSyncs = in getSyncIntervals()
237 protected static void removeNoopUpgrades(final Map<String, String> protocolMap) { in removeNoopUpgrades()
257 final Map<String, String> protocolMap = Maps.newHashMapWithExpectedSize(4); in onAppUpgrade()
280 final Map<String, Integer> syncIntervals = getSyncIntervals(); in onAppUpgrade()
/packages/apps/UnifiedEmail/src/com/android/mail/print/
DPrintUtils.java42 import java.util.Map;
57 MessageCursor cursor, Map<String, Address> addressCache, in printConversation()
71 Map<String, Address> addressCache, String baseUri, boolean useJavascript) { in printMessage()
111 MessageCursor cursor, Map<String, Address> addressCache, boolean useJavascript) { in buildConversationHtml()
138 String subject, Map<String, Address> addressCache, boolean useJavascript) { in buildMessageHtml()
158 Message message, Map<String, Address> addressCache, in appendSingleMessageHtml()
175 Map<String, Address> addressCache, Message message) { in renderRecipients()
227 Map<String, Address> addressCache) { in renderEmailList()

12345678910>>...14