Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSignalPollResults.java34 mEntries = new HashMap(); in WifiSignalPollResults()
75 private Map<Integer, SignalPollResult> mEntries; field in WifiSignalPollResults
92 if (mEntries.size() > MAX_ENTRIES) { in addEntry()
97 if (mEntries.size() == 0 || currentRssiDbm > mEntries.get( in addEntry()
102 mEntries.put(linkId, in addEntry()
114 return mEntries.getOrDefault(mBestLinkId, mDefault).currentRssiDbm; in getRssi()
124 return mEntries.getOrDefault(linkId, mDefault).currentRssiDbm; in getRssi()
133 return mEntries.getOrDefault(mBestLinkId, mDefault).txBitrateMbps; in getTxLinkSpeed()
143 return mEntries.getOrDefault(linkId, mDefault).txBitrateMbps; in getTxLinkSpeed()
152 return mEntries.getOrDefault(mBestLinkId, mDefault).rxBitrateMbps; in getRxLinkSpeed()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java70 private Set<Entry> mEntries = new HashSet<Entry>(); field in ScanFilterQueue
78 mEntries.add(entry); in addDeviceAddress()
84 mEntries.add(entry); in addServiceChanged()
92 mEntries.add(entry); in addUuid()
100 mEntries.add(entry); in addUuid()
108 mEntries.add(entry); in addSolicitUuid()
116 mEntries.add(entry); in addSolicitUuid()
123 mEntries.add(entry); in addName()
134 mEntries.add(entry); in addManufacturerData()
144 mEntries.add(entry); in addManufacturerData()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DHandleMap.java89 List<Entry> mEntries = null; field in HandleMap
94 mEntries = new CopyOnWriteArrayList<Entry>(); in HandleMap()
99 mEntries.clear(); in clear()
110 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); in addService()
115 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle)); in addCharacteristic()
119 mEntries.add( in addDescriptor()
130 for (Entry entry : mEntries) { in setStarted()
143 for (Entry entry : mEntries) { in getByHandle()
153 for (Entry entry : mEntries) { in checkServiceExists()
162 mEntries.removeIf( in deleteService()
[all …]
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterEntryGroup.java73 @NonNull private final List<SafetyCenterEntry> mEntries; field in SafetyCenterEntryGroup
87 mEntries = entries; in SafetyCenterEntryGroup()
125 return mEntries; in getEntries()
138 && Objects.equals(mEntries, that.mEntries); in equals()
144 mId, mTitle, mSummary, mSeverityLevel, mSeverityUnspecifiedIconType, mEntries); in hashCode()
161 + mEntries in toString()
177 dest.writeTypedList(mEntries); in writeToParcel()
194 @NonNull private List<SafetyCenterEntry> mEntries = new ArrayList<>(); field in SafetyCenterEntryGroup.Builder
216 mEntries = new ArrayList<>(safetyCenterEntryGroup.mEntries); in Builder()
268 mEntries = requireNonNull(entries); in setEntries()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMissingCounterTimerLockList.java36 private final Map<E, LockListEntry> mEntries; field in MissingCounterTimerLockList
46 mEntries = new HashMap<>(); in MissingCounterTimerLockList()
57 for (Map.Entry<E, LockListEntry> mapEntry : mEntries.entrySet()) { in update()
79 mEntries.put(entry, new LockListEntry(duration, maxTimeoutDuration)); in add()
88 return mEntries.remove(entry) != null; in remove()
100 LockListEntry blockTimer = mEntries.get(entry); in isLocked()
108 return mEntries.size(); in size()
115 mEntries.clear(); in clear()
/packages/modules/Virtualization/tests/pvmfw/helper/java/com/android/pvmfw/test/host/
DPvmfw.java49 private final File[] mEntries; field in Pvmfw
74 mEntries = new File[PVMFW_ENTRY_MAX]; in Pvmfw()
75 mEntries[PVMFW_ENTRY_BCC] = Objects.requireNonNull(bccFile); in Pvmfw()
76 mEntries[PVMFW_ENTRY_DP] = debugPolicyFile; in Pvmfw()
79 mEntries[PVMFW_ENTRY_VM_DTBO] = vmDtboFile; in Pvmfw()
82 mEntries[PVMFW_ENTRY_VM_REFERENCE_DT] = Objects.requireNonNull(vmReferenceDtFile); in Pvmfw()
100 entrySizes[PVMFW_ENTRY_BCC] = (int) mEntries[PVMFW_ENTRY_BCC].length(); in serialize()
104 entrySizes[i] = mEntries[i] == null ? 0 : (int) mEntries[i].length(); in serialize()
128 if (mEntries[i] != null) { in serialize()
131 appendFile(pvmfw, mEntries[i]); in serialize()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DLeanbackListPreferenceDialogFragmentCompat.java63 private CharSequence[] mEntries; field in LeanbackListPreferenceDialogFragmentCompat
99 this.mEntries = ((ListPreference) preference).getEntries(); in onCreate()
109 this.mEntries = ((MultiSelectListPreference) preference).getEntries(); in onCreate()
120 this.mEntries = savedInstanceState.getCharSequenceArray( in onCreate()
147 this.mEntries); in onSaveInstanceState()
196 this.mEntries, this.mEntryValues, this.mInitialSelections) in onCreateAdapter()
197 : new LeanbackListPreferenceDialogFragmentCompat.AdapterSingle(this.mEntries, in onCreateAdapter()
242 private final CharSequence[] mEntries; field in LeanbackListPreferenceDialogFragmentCompat.AdapterMulti
248 this.mEntries = entries; in AdapterMulti()
264 holder.getTitleView().setText(this.mEntries[position]); in onBindViewHolder()
[all …]
/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/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/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java46 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragment
71 mEntries = new ArrayList<>(); in onCreate()
75 mEntries = savedInstanceState.getCharSequenceArrayList(SAVE_STATE_ENTRIES); in onCreate()
85 outState.putCharSequenceArrayList(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState()
107 mEntries = entries; in setEntries()
134 mEntries); in onPrepareDialogBuilder()
157 mEntries.clear(); in setPreferenceData()
160 mEntries.add(entry); in setPreferenceData()
/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/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/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/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/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUsersSpinner.java43 private String[] mEntries; field in UsersSpinner
58 mEntries = new String[size]; in init()
71 mEntries[i] = entry.toString(); in init()
73 Log.v(TAG, "initializing spinner with " + size + " entries: " + Arrays.toString(mEntries)); in init()
75 mEntries)); in init()
/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/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/meta_testing/
DFakeDdmLibLogger.java36 private final List<LogEntry> mEntries = new ArrayList<>(); field in FakeDdmLibLogger
54 return ImmutableList.copyOf(mEntries); in getEntries()
64 mEntries.add(new LogEntry(convertLevel(logLevel), tag, message)); in printLog()
88 return "FakeDdmLibLogger [mEntries=" + mEntries + "]"; in toString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPhonebookPullRequest.java46 if (mEntries == null) { in onPullComplete()
50 Log.v(TAG, "onPullComplete with " + mEntries.size() + " count."); in onPullComplete()
57 for (VCardEntry e : mEntries) { in onPullComplete()
82 Log.v(TAG, "Sync complete: add=" + mEntries.size()); in onPullComplete()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/
DFakeLogger.java38 private final List<LogEntry> mEntries = new ArrayList<>(); field in FakeLogger
62 return ImmutableList.copyOf(mEntries); in getEntries()
67 return "[" + FakeLogger.class.getSimpleName() + ": " + mEntries.size() + " entries]"; in toString()
82 mEntries.add(logEntry); in addEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragmentTest.java50 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragmentTest
59 mEntries = new ArrayList<>(); in setUp()
60 mUpdatableListPrefDlgFragment.setEntries(mEntries); in setUp()
70 mEntries)); in initAdapter()
/packages/apps/Settings/src/com/android/settings/users/
DTimeoutToDockUserSettings.java44 private String[] mEntries; field in TimeoutToDockUserSettings
63 mEntries = getContext().getResources().getStringArray( in onAttach()
73 if (mEntries == null || mValues == null) { in getCandidates()
78 candidates.add(new TimeoutCandidateInfo(mEntries[i], mValues[i], true)); in getCandidates()
/packages/modules/Profiling/service/java/com/android/os/profiling/
DRateLimiter.java564 final Queue<CollectionEntry> mEntries; field in RateLimiter.EntryGroupWrapper
578 mEntries = new ArrayDeque<>(); in EntryGroupWrapper()
605 mEntries.offer(new CollectionEntry(uid, cost, timestamp)); in add()
623 while (mEntries.peek() != null in removeOlderThan()
624 && mEntries.peek().mTimestamp <= olderThanTimestamp) { in removeOlderThan()
625 final CollectionEntry entry = mEntries.poll(); in removeOlderThan()
671 CollectionEntry[] entries = mEntries.toArray(new CollectionEntry[mEntries.size()]); in toProto()
695 CollectionEntry[] array = new CollectionEntry[mEntries.size()]; in getEntriesCopy()
696 array = mEntries.toArray(array); in getEntriesCopy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DTimeoutToDockUserSettingsTest.java51 private String[] mEntries; field in TimeoutToDockUserSettingsTest
59 mEntries = context.getResources().getStringArray( in setUp()
75 for (int i = 0; i < mEntries.length; i++) { in getCandidates_returnsACandidateForEachEntry()
76 assertThat(candidates.get(i).loadLabel().toString()).isEqualTo(mEntries[i]); in getCandidates_returnsACandidateForEachEntry()

12