Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
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 …]
DScanFilterQueue.java90 private Set<Entry> mEntries = new HashSet<Entry>(); field in ScanFilterQueue
97 mEntries.add(entry); in addDeviceAddress()
103 mEntries.add(entry); in addServiceChanged()
111 mEntries.add(entry); in addUuid()
119 mEntries.add(entry); in addUuid()
126 mEntries.add(entry); in addSolicitUuid()
133 mEntries.add(entry); in addName()
144 mEntries.add(entry); in addManufacturerData()
154 mEntries.add(entry); in addManufacturerData()
162 mEntries.add(entry); in addServiceData()
[all …]
DServiceDeclaration.java74 private final List<Entry> mEntries = new ArrayList<>(); field in ServiceDeclaration
80 mEntries.add(new Entry(uuid, serviceType, instance, advertisePreferred)); in addService()
93 mEntries.add(entry); in addIncludedService()
100 mEntries.add(new Entry(uuid, properties, permissions, 0 /*instance*/)); in addCharacteristic()
107 mEntries.add(new Entry(uuid, permissions)); in addDescriptor()
114 if (mEntries.isEmpty()) return null; in getNext()
115 Entry entry = mEntries.get(0); in getNext()
116 mEntries.remove(0); in getNext()
123 for (Entry entry : mEntries) { in isServiceAdvertisePreferred()
/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/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java61 private final List<ApplicationsState.AppEntry> mEntries = new ArrayList<>(); field in BackupAppsStepFragment
182 mEntries.clear(); in getAppActions()
183 mEntries.addAll(entries); in getAppActions()
208 setActions(getAppActions(true, mEntries)); in updateActions()
222 && actionId < mEntries.size() + ACTION_BACKUP_APP_BASE) { in onGuidedActionClicked()
224 mEntries.get(actionId - ACTION_BACKUP_APP_BASE); in onGuidedActionClicked()
275 private final List<ApplicationsState.AppEntry> mEntries; field in BackupAppsStepFragment.IconLoaderTask
278 mEntries = entries; in IconLoaderTask()
284 final Map<String, Drawable> result = new ArrayMap<>(mEntries.size()); in doInBackground()
285 for (final ApplicationsState.AppEntry entry : mEntries) { in doInBackground()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java51 private CharSequence[] mEntries; field in AccountSelectionPreference
80 mEntries = new CharSequence[mAccounts.length + 1]; in setModel()
94 mEntries[i] = (TextUtils.isEmpty(label) && isSimAccount) in setModel()
103 mEntries[i] = nullSelectionString; in setModel()
106 setEntries(mEntries); in setModel()
109 setSummary(mEntries[selectedIndex]); in setModel()
120 setSummary(mEntries[index]); in onPreferenceChange()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDelta.java79 private final HashMap<String, ArrayList<ValuesDelta>> mEntries = Maps.newHashMap(); field in RawContactDelta
128 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
250 ArrayList<ValuesDelta> mimeEntries = mEntries.get(mimeType); in getMimeEntries()
253 mEntries.put(mimeType, mimeEntries); in getMimeEntries()
276 return mEntries.containsKey(mimeType); in hasMimeEntries()
287 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in getContentValues()
307 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in getEntry()
322 for (String mimeType : mEntries.keySet()) { in getEntryCount()
336 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in equals()
350 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { in containsEntry()
[all …]
/packages/apps/Settings/src/com/android/settings/
DPreviewSeekBarPreferenceFragment.java45 protected String[] mEntries; field in PreviewSeekBarPreferenceFragment
114 final int max = Math.max(1, mEntries.length - 1); in onCreateView()
117 seekBar.setLabels(mEntries); in onCreateView()
144 if (mEntries.length == 1) { in onCreateView()
153 Configuration[] configurations = new Configuration[mEntries.length]; in onCreateView()
154 for (int i = 0; i < mEntries.length; ++i) { in onCreateView()
189 mLabel.setText(mEntries[index]); in setPreviewLayer()
191 mLarger.setEnabled(index < mEntries.length - 1); in setPreviewLayer()
/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()
/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/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java38 final ArrayList<ProcStatsEntry> mEntries = new ArrayList<ProcStatsEntry>(); field in ProcStatsPackageEntry
60 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); in ProcStatsPackageEntry()
82 mEntries.add(entry); in addEntry()
90 final int N = mEntries.size(); in updateMetrics()
92 ProcStatsEntry entry = mEntries.get(i); in updateMetrics()
141 dest.writeTypedList(mEntries); in writeToParcel()
DManageApplications.java753 private ArrayList<ApplicationsState.AppEntry> mEntries; field in ManageApplications.ApplicationsAdapter
782 mEntries = (ArrayList<ApplicationsState.AppEntry>) results.values;
956 mEntries = applyPrefixFilter(mCurFilterPrefix, mBaseEntries); in onRebuildComplete()
959 mEntries = null; in onRebuildComplete()
980 if (mEntries!= null && mManageApplications.mListView.isFastScrollEnabled()) { in rebuildSections()
999 int totalEntries = mEntries.size(); in rebuildSections()
1003 String label = mEntries.get(pos).label; in rebuildSections()
1109 return mEntries != null ? mEntries.size() : 0; in getCount()
1113 return mEntries.get(position); in getItem()
1117 return mEntries.get(position); in getAppEntry()
[all …]
DProcessStatsDetail.java235 for (int ie = 0; ie < mApp.mEntries.size(); ie++) { in fillProcessesSection()
236 ProcStatsEntry entry = mApp.mEntries.get(ie); in fillProcessesSection()
416 for (int i=0; i< mApp.mEntries.size(); i++) { in killProcesses()
417 ProcStatsEntry ent = mApp.mEntries.get(i); in killProcesses()
428 if (mApp.mEntries.get(0).mUid < Process.FIRST_APPLICATION_UID) { in checkForceStop()
433 for (int i=0; i< mApp.mEntries.size(); i++) { in checkForceStop()
434 ProcStatsEntry ent = mApp.mEntries.get(i); in checkForceStop()
DProcStatsData.java199 for (int j = entry.mEntries.size() - 1; j >= 0; j--) { in distributeZRam()
200 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam()
208 for (int j = entry.mEntries.size() - 1; j >= 0; j--) { in distributeZRam()
209 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam()
DInstalledAppDetails.java1092 for (ProcStatsEntry entry : pkgEntry.mEntries) {
/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/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/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/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java258 private List<List<Entry>> mEntries; field in ExpandingEntryCardView
344 mEntries = entries; in initialize()
348 for (List<Entry> entryList : mEntries) { in initialize()
563 int extraEntries = mCollapsedEntriesCount - mEntries.size(); in inflateInitialEntries()
564 for (int i = 0; i < mEntries.size() && numInflated < mCollapsedEntriesCount; i++) { in inflateInitialEntries()
565 List<Entry> entryList = mEntries.get(i); in inflateInitialEntries()
601 for (int i = 0; i < mEntries.size(); i++) { in inflateAllEntries()
602 List<Entry> entryList = mEntries.get(i); in inflateAllEntries()
629 if (mEntries != null) { in setEntryHeaderColor()
657 if (mEntries != null) { in applyColor()
[all …]
/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/Bluetooth/src/com/android/bluetooth/pbapclient/
DCallLogPullRequest.java52 if (mEntries == null) { in onPullComplete()
58 Log.d(TAG, "onPullComplete with " + mEntries.size() + " count."); in onPullComplete()
74 for (VCardEntry vcard : mEntries) { in onPullComplete()
DPullRequest.java24 protected List<VCardEntry> mEntries; field in PullRequest
33 mEntries = results; in setResults()
DPhonebookPullRequest.java185 if (mEntries == null) { in onPullComplete()
191 Log.d(TAG, "onPullComplete with " + mEntries.size() + " count."); in onPullComplete()
200 for (VCardEntry e : mEntries) { in onPullComplete()
/packages/apps/Settings/src/com/android/settings/display/
DScreenZoomSettings.java64 mEntries = new String[] { getString(DisplayDensityUtils.SUMMARY_DEFAULT) }; in onCreate()
69 mEntries = density.getEntries(); in onCreate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFontSizePreferenceFragment.java46 mEntries = res.getStringArray(R.array.entries_font_size); in onCreate()

12