Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java62 private Set<Entry> mEntries = new HashSet<Entry>(); field in ScanFilterQueue
69 mEntries.add(entry); in addDeviceAddress()
75 mEntries.add(entry); in addServiceChanged()
83 mEntries.add(entry); in addUuid()
91 mEntries.add(entry); in addUuid()
99 mEntries.add(entry); in addSolicitUuid()
107 mEntries.add(entry); in addSolicitUuid()
114 mEntries.add(entry); in addName()
125 mEntries.add(entry); in addManufacturerData()
135 mEntries.add(entry); in addManufacturerData()
[all …]
DHandleMap.java86 List<Entry> mEntries = null; field in HandleMap
91 mEntries = new ArrayList<Entry>(); in HandleMap()
96 mEntries.clear(); in clear()
102 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); in addService()
107 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle)); in addCharacteristic()
111 mEntries.add(new Entry(serverIf, TYPE_DESCRIPTOR, handle, uuid, serviceHandle, in addDescriptor()
116 for (Entry entry : mEntries) { in setStarted()
128 for (Entry entry : mEntries) { in getByHandle()
138 for (Entry entry : mEntries) { in checkServiceExists()
147 for (Iterator<Entry> it = mEntries.iterator(); it.hasNext(); ) { in deleteService()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DWriteableArchive.java84 synchronized (mEntries) { in addEntry()
90 mEntries.put(entryPath, entry); in addEntry()
145 synchronized (mEntries) { in createDocument()
147 (ZipArchiveEntry) mEntries.get(parsedParentId.mPath); in createDocument()
171 if (mEntries.get(entryPath) != null) { in createDocument()
182 synchronized (mEntries) { in createDocument()
187 synchronized (mEntries) { in createDocument()
211 synchronized (mEntries) { in openDocument()
212 entry = (ZipArchiveEntry) mEntries.get(parsedId.mPath); in openDocument()
241 synchronized (mEntries) { in openDocument()
[all …]
DArchive.java73 final Map<String, ArchiveEntry> mEntries; field in Archive
90 mEntries = new HashMap<>(); in Archive()
145 synchronized (mEntries) { in queryChildDocuments()
167 synchronized (mEntries) { in getDocumentType()
168 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in getDocumentType()
188 synchronized (mEntries) { in isChildDocument()
189 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in isChildDocument()
194 final ArchiveEntry parentEntry = mEntries.get(parsedParentId.mPath); in isChildDocument()
220 synchronized (mEntries) { in queryDocument()
221 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in queryDocument()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java51 private final Map<Long, Entry> mEntries; field in PhotoStore
81 mEntries = new ArrayMap<Long, Entry>(); in PhotoStore()
99 mEntries.clear(); in clear()
112 return mEntries.get(key); in get()
151 keysToRemove.addAll(mEntries.keySet()); in cleanup()
162 missingKeys.removeAll(mEntries.keySet()); in cleanup()
259 if (!mEntries.containsKey(id)) { in putEntry()
262 Entry oldEntry = mEntries.get(id); in putEntry()
265 mEntries.put(id, entry); in putEntry()
273 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
188 mEntries.clear(); in getAppActions()
189 mEntries.addAll(entries); in getAppActions()
214 setActions(getAppActions(true, mEntries)); in updateActions()
228 && actionId < mEntries.size() + ACTION_BACKUP_APP_BASE) { in onGuidedActionClicked()
230 mEntries.get(actionId - ACTION_BACKUP_APP_BASE); in onGuidedActionClicked()
280 private final List<ApplicationsState.AppEntry> mEntries; field in BackupAppsStepFragment.IconLoaderTask
283 mEntries = entries; in IconLoaderTask()
289 final Map<String, Drawable> result = new ArrayMap<>(mEntries.size()); in doInBackground()
290 for (final ApplicationsState.AppEntry entry : mEntries) { in doInBackground()
[all …]
/packages/apps/Contacts/src/com/android/contacts/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()
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUpdatableListPreferenceDialogFragment.java46 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragment
67 mEntries = new ArrayList<>(); in onCreate()
71 mEntries = savedInstanceState.getCharSequenceArrayList(SAVE_STATE_ENTRIES); in onCreate()
81 outState.putCharSequenceArrayList(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState()
103 mEntries = entries; in setEntries()
130 mEntries); in onPrepareDialogBuilder()
153 mEntries.clear(); in setPreferenceData()
156 mEntries.add(entry); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java46 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragment
67 mEntries = new ArrayList<>(); in onCreate()
71 mEntries = savedInstanceState.getCharSequenceArrayList(SAVE_STATE_ENTRIES); in onCreate()
81 outState.putCharSequenceArrayList(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState()
103 mEntries = entries; in setEntries()
130 mEntries); in onPrepareDialogBuilder()
153 mEntries.clear(); in setPreferenceData()
156 mEntries.add(entry); in setPreferenceData()
/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()
91 mEntries[i] = (TextUtils.isEmpty(label) && isSimAccount) in setModel()
100 mEntries[i] = nullSelectionString; in setModel()
103 setEntries(mEntries); in setModel()
106 setSummary(mEntries[selectedIndex]); in setModel()
117 setSummary(mEntries[index]); in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java44 protected String[] mEntries; field in PreviewSeekBarPreferenceFragment
103 final int max = Math.max(1, mEntries.length - 1); in onCreateView()
106 mSeekBar.setLabels(mEntries); in onCreateView()
125 if (mEntries.length == 1) { in onCreateView()
134 Configuration[] configurations = new Configuration[mEntries.length]; in onCreateView()
135 for (int i = 0; i < mEntries.length; ++i) { in onCreateView()
192 mLabel.setText(mEntries[index]); in setPreviewLayer()
194 mLarger.setEnabled(index < mEntries.length - 1); in setPreviewLayer()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java44 protected String[] mEntries; field in PreviewSeekBarPreferenceFragment
103 final int max = Math.max(1, mEntries.length - 1); in onCreateView()
106 mSeekBar.setLabels(mEntries); in onCreateView()
125 if (mEntries.length == 1) { in onCreateView()
134 Configuration[] configurations = new Configuration[mEntries.length]; in onCreateView()
135 for (int i = 0; i < mEntries.length; ++i) { in onCreateView()
192 mLabel.setText(mEntries[index]); in setPreviewLayer()
194 mLarger.setEnabled(index < mEntries.length - 1); in setPreviewLayer()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsPackageEntry.java39 final ArrayList<ProcStatsEntry> mEntries = new ArrayList<ProcStatsEntry>(); field in ProcStatsPackageEntry
61 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); in ProcStatsPackageEntry()
83 mEntries.add(entry); in addEntry()
91 final int N = mEntries.size(); in updateMetrics()
93 ProcStatsEntry entry = mEntries.get(i); in updateMetrics()
143 dest.writeTypedList(mEntries); in writeToParcel()
188 return mEntries; in getEntries()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java39 final ArrayList<ProcStatsEntry> mEntries = new ArrayList<ProcStatsEntry>(); field in ProcStatsPackageEntry
61 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); in ProcStatsPackageEntry()
83 mEntries.add(entry); in addEntry()
91 final int N = mEntries.size(); in updateMetrics()
93 ProcStatsEntry entry = mEntries.get(i); in updateMetrics()
143 dest.writeTypedList(mEntries); in writeToParcel()
188 return mEntries; in getEntries()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/Car/Dialer/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragment.java42 private CharSequence[] mEntries; field in SettingsListPreferenceDialogFragment
69 mEntries = preference.getEntries(); in onCreate()
73 mEntries = savedInstanceState.getCharSequenceArray(SAVE_STATE_ENTRIES); in onCreate()
82 outState.putCharSequenceArray(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState()
94 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragment.java42 private CharSequence[] mEntries; field in SettingsListPreferenceDialogFragment
69 mEntries = preference.getEntries(); in onCreate()
73 mEntries = savedInstanceState.getCharSequenceArray(SAVE_STATE_ENTRIES); in onCreate()
82 outState.putCharSequenceArray(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState()
94 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
/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/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java261 private List<List<Entry>> mEntries; field in ExpandingEntryCardView
327 mEntries = entries; in initialize()
330 for (List<Entry> entryList : mEntries) { in initialize()
503 int extraEntries = mCollapsedEntriesCount - mEntries.size(); in inflateInitialEntries()
504 for (int i = 0; i < mEntries.size() && numInflated < mCollapsedEntriesCount; i++) { in inflateInitialEntries()
505 List<Entry> entryList = mEntries.get(i); in inflateInitialEntries()
531 for (int i = 0; i < mEntries.size(); i++) { in inflateAllEntries()
532 List<Entry> entryList = mEntries.get(i); in inflateAllEntries()
559 if (mEntries != null) { in setEntryHeaderColor()
572 if (mEntries != null) { in setEntrySubHeaderColor()
[all …]
/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/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java139 myState.mEntries = getEntries(); in onSaveInstanceState()
155 setEntries(myState.mEntries); in onRestoreInstanceState()
167 private CharSequence[] mEntries; field in ListWithEntrySummaryPreference.SavedState
173 mEntries = source.readCharSequenceArray(); in SavedState()
181 dest.writeCharSequenceArray(mEntries); in writeToParcel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DListWithEntrySummaryPreference.java139 myState.mEntries = getEntries(); in onSaveInstanceState()
155 setEntries(myState.mEntries); in onRestoreInstanceState()
167 private CharSequence[] mEntries; field in ListWithEntrySummaryPreference.SavedState
173 mEntries = source.readCharSequenceArray(); in SavedState()
181 dest.writeCharSequenceArray(mEntries); in writeToParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookPullRequest.java49 if (mEntries == null) { in onPullComplete()
54 Log.d(TAG, "onPullComplete with " + mEntries.size() + " count."); in onPullComplete()
63 for (VCardEntry e : mEntries) { in onPullComplete()
89 Log.d(TAG, "Sync complete: add=" + mEntries.size()); in onPullComplete()

12