Home
last modified time | relevance | path

Searched refs:mEntries (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java89 private Set<Entry> mEntries = new HashSet<Entry>(); field in ScanFilterQueue
96 mEntries.add(entry); in addDeviceAddress()
102 mEntries.add(entry); in addServiceChanged()
110 mEntries.add(entry); in addUuid()
118 mEntries.add(entry); in addUuid()
125 mEntries.add(entry); in addSolicitUuid()
132 mEntries.add(entry); in addName()
143 mEntries.add(entry); in addManufacturerData()
153 mEntries.add(entry); in addManufacturerData()
161 mEntries.add(entry); in addServiceData()
[all …]
DHandleMap.java87 List<Entry> mEntries = null; field in HandleMap
92 mEntries = new ArrayList<Entry>(); in HandleMap()
97 mEntries.clear(); in clear()
103 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); in addService()
108 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle)); in addCharacteristic()
112mEntries.add(new Entry(serverIf, TYPE_DESCRIPTOR, handle, uuid, serviceHandle, mLastCharacteristic… in addDescriptor()
116 for(Entry entry : mEntries) { in setStarted()
128 for(Entry entry : mEntries) { in getByHandle()
137 for(Entry entry : mEntries) { in getServiceHandle()
150 for(Entry entry : mEntries) { in getCharacteristicHandle()
[all …]
DServiceDeclaration.java74 List<Entry> mEntries = null; field in ServiceDeclaration
78 mEntries = new ArrayList<Entry>(); in ServiceDeclaration()
83 mEntries.add(new Entry(uuid, serviceType, instance, advertisePreferred)); in addService()
94 mEntries.add(entry); in addIncludedService()
99 mEntries.add(new Entry(uuid, properties, permissions, 0 /*instance*/)); in addCharacteristic()
104 mEntries.add(new Entry(uuid, permissions)); in addDescriptor()
109 if (mEntries.isEmpty()) return null; in getNext()
110 Entry entry = mEntries.get(0); in getNext()
111 mEntries.remove(0); in getNext()
116 for (Entry entry : mEntries) { in isServiceAdvertisePreferred()
DSearchQueue.java40 private List<Entry> mEntries = new ArrayList<Entry>(); field in SearchQueue
51 mEntries.add(entry); in add()
67 mEntries.add(entry); in add()
71 Entry entry = mEntries.get(0); in pop()
72 mEntries.remove(0); in pop()
77 for (Iterator<Entry> it = mEntries.iterator(); it.hasNext();) { in removeConnId()
86 return mEntries.isEmpty(); in isEmpty()
90 mEntries.clear(); in clear()
DGattService.java1368 for (HandleMap.Entry entry : mHandleMap.mEntries) { in getRegisteredServiceUuids()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDelta.java76 private final HashMap<String, ArrayList<ValuesDelta>> mEntries = Maps.newHashMap(); field in RawContactDelta
125 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
247 ArrayList<ValuesDelta> mimeEntries = mEntries.get(mimeType); in getMimeEntries()
250 mEntries.put(mimeType, mimeEntries); in getMimeEntries()
273 return mEntries.containsKey(mimeType); in hasMimeEntries()
284 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in getContentValues()
304 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in getEntry()
319 for (String mimeType : mEntries.keySet()) { in getEntryCount()
333 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in equals()
347 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in containsEntry()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java50 private final Map<Long, Entry> mEntries; field in PhotoStore
80 mEntries = new HashMap<Long, Entry>(); in PhotoStore()
98 mEntries.clear(); in clear()
111 return mEntries.get(key); in get()
150 keysToRemove.addAll(mEntries.keySet()); in cleanup()
161 missingKeys.removeAll(mEntries.keySet()); in cleanup()
258 if (!mEntries.containsKey(id)) { in putEntry()
261 Entry oldEntry = mEntries.get(id); in putEntry()
264 mEntries.put(id, entry); in putEntry()
272 Entry entry = mEntries.get(id); in removeEntry()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java228 private List<List<Entry>> mEntries; field in ExpandingEntryCardView
298 mEntries = entries; in initialize()
301 for (List<Entry> entryList : mEntries) { in initialize()
487 int extraEntries = mCollapsedEntriesCount - mEntries.size(); in inflateInitialEntries()
488 for (int i = 0; i < mEntries.size() && numInflated < mCollapsedEntriesCount; i++) { in inflateInitialEntries()
489 List<Entry> entryList = mEntries.get(i); in inflateInitialEntries()
514 for (int i = 0; i < mEntries.size(); i++) { in inflateAllEntries()
515 List<Entry> entryList = mEntries.get(i); in inflateAllEntries()
542 if (mEntries != null) { in setEntryHeaderColor()
570 if (mEntries != null) { in applyColor()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java71 private HashMap<String, ArrayList<ValuesDelta>> mEntries = Maps.newHashMap(); field in EntityDelta
120 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
207 ArrayList<ValuesDelta> mimeEntries = mEntries.get(mimeType); in getMimeEntries()
210 mEntries.put(mimeType, mimeEntries); in getMimeEntries()
233 return mEntries.containsKey(mimeType); in hasMimeEntries()
252 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in getEntry()
267 for (String mimeType : mEntries.keySet()) { in getEntryCount()
281 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in equals()
295 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in containsEntry()
309 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in markDeleted()
[all …]
/packages/apps/Camera/src/com/android/camera/
DListPreference.java39 private CharSequence[] mEntries; field in ListPreference
77 return mEntries; in getEntries()
85 mEntries = entries == null ? new CharSequence[0] : entries; in setEntries()
133 return mEntries[findIndexOfValue(getValue())].toString(); in getEntry()
152 entries.add(mEntries[i]); in filterUnsupported()
157 mEntries = entries.toArray(new CharSequence[size]); in filterUnsupported()
165 if (!entries.contains(mEntries[i])) { in filterDuplicated()
166 entries.add(mEntries[i]); in filterDuplicated()
171 mEntries = entries.toArray(new CharSequence[size]); in filterDuplicated()
/packages/apps/Calendar/src/com/android/calendar/event/
DAttendeesView.java84 private final CharSequence[] mEntries; field in AttendeesView
115 mEntries = resources.getTextArray(R.array.response_labels1); in AttendeesView()
116 mDividerForYes = constructDividerView(mEntries[1]); in AttendeesView()
117 mDividerForNo = constructDividerView(mEntries[3]); in AttendeesView()
118 mDividerForMaybe = constructDividerView(mEntries[2]); in AttendeesView()
119 mDividerForNoResponse = constructDividerView(mEntries[0]); in AttendeesView()
291 updateDividerViewLabel(mDividerForYes, mEntries[1], mYes + 1); in addOneAttendee()
302 updateDividerViewLabel(mDividerForNo, mEntries[3], mNo + 1); in addOneAttendee()
313 updateDividerViewLabel(mDividerForMaybe, mEntries[2], mMaybe + 1); in addOneAttendee()
325 updateDividerViewLabel(mDividerForNoResponse, mEntries[0], mNoResponse + 1); in addOneAttendee()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java48 private CharSequence[] mEntries; field in AccountSelectionPreference
77 mEntries = new CharSequence[mAccounts.length + 1]; in setModel()
83 mEntries[i] = label == null ? null : label.toString(); in setModel()
90 mEntries[i] = nullSelectionString; in setModel()
93 setEntries(mEntries); in setModel()
96 setSummary(mEntries[selectedIndex]); in setModel()
107 setSummary(mEntries[index]); in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java38 private Collection<Entry> mEntries; field in PercentageBarChart
86 if (mEntries != null) { in onDraw()
87 for (final Entry e : mEntries) { in onDraw()
110 if (mEntries != null) { in onDraw()
111 for (final Entry e : mEntries) { in onDraw()
158 mEntries = entries; in setEntries()
DUsageBarPreference.java36 private final List<PercentageBarChart.Entry> mEntries = Lists.newArrayList(); field in UsageBarPreference
57 mEntries.add(PercentageBarChart.createEntry(order, percentage, color)); in addEntry()
58 Collections.sort(mEntries); in addEntry()
66 mChart.setEntries(mEntries); in onBindView()
76 mEntries.clear(); in clear()
/packages/apps/LegacyCamera/src/com/android/camera/
DListPreference.java39 private CharSequence[] mEntries; field in ListPreference
77 return mEntries; in getEntries()
85 mEntries = entries == null ? new CharSequence[0] : entries; in setEntries()
133 return mEntries[findIndexOfValue(getValue())].toString(); in getEntry()
152 entries.add(mEntries[i]); in filterUnsupported()
157 mEntries = entries.toArray(new CharSequence[size]); in filterUnsupported()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DLimitedMultiSelectDialogFragment.java155 private final List<String> mEntries;
166 mEntries = ImmutableList.copyOf(entries);
173 if (mEntries.size() != mEntryValues.size()) {
180 return mEntries.size();
209 checkedTextView.setText(mEntries.get(position));
227 return mEntries.isEmpty();
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java564 private ArrayList<ApplicationsState.AppEntry> mEntries; field in ManageApplications.ApplicationsAdapter
585 mEntries = (ArrayList<ApplicationsState.AppEntry>)results.values;
683 mEntries = applyPrefixFilter(mCurFilterPrefix, mBaseEntries); in rebuild()
685 mEntries = null; in rebuild()
737 mEntries = applyPrefixFilter(mCurFilterPrefix, mBaseEntries); in onRebuildComplete()
784 return mEntries != null ? mEntries.size() : 0; in getCount()
788 return mEntries.get(position); in getItem()
792 return mEntries.get(position); in getAppEntry()
796 return mEntries.get(position).id; in getItemId()
806 ApplicationsState.AppEntry entry = mEntries.get(position); in getView()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockResources.java28 private Map<Integer, String> mEntries = Maps.newHashMap(); field in ContactsMockResources
33 mEntries.put(resId, entryName); in addResource()
41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); in getResourceName()
65 return mEntries.get(resId); in getResourceEntryName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DPercentageBarChart.java79 private final ArrayList<Entry> mEntries; field in PercentageBarChart
90 mEntries = entries; in PercentageBarChart()
118 for (final Entry e : mEntries) { in draw()