Home
last modified time | relevance | path

Searched refs:mRecords (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/nfc/
DNdefMessage.java62 private final NdefRecord[] mRecords; field in NdefMessage
98 mRecords = NdefRecord.parse(buffer, false); in NdefMessage()
121 mRecords = new NdefRecord[1 + records.length]; in NdefMessage()
122 mRecords[0] = record; in NdefMessage()
123 System.arraycopy(records, 0, mRecords, 1, records.length); in NdefMessage()
142 mRecords = records; in NdefMessage()
157 return mRecords; in getRecords()
175 for (NdefRecord r : mRecords) { in getByteArrayLength()
196 for (int i=0; i<mRecords.length; i++) { in toByteArray()
198 boolean me = (i == mRecords.length - 1); // last record in toByteArray()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java26 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in TileLayout
49 for (TileRecord record : mRecords) { in setListening()
55 mRecords.add(tile); in addTile()
62 mRecords.remove(tile); in removeTile()
68 for (TileRecord record : mRecords) { in removeAllViews()
71 mRecords.clear(); in removeAllViews()
91 final int numTiles = mRecords.size(); in onMeasure()
97 for (TileRecord record : mRecords) { in onMeasure()
116 for (int i = 0; i < mRecords.size(); i++, column++) { in onLayout()
121 TileRecord record = mRecords.get(i); in onLayout()
DQuickQSPanel.java52 for (int i = 0; i < mRecords.size(); i++) { in QuickQSPanel()
53 mTileLayout.removeTile(mRecords.get(i)); in QuickQSPanel()
155 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in QuickQSPanel.HeaderTileLayout
189 for (TileRecord record : mRecords) { in setListening()
201 mRecords.add(tile); in addTile()
227 mRecords.remove(tile); in removeTile()
260 if (mRecords != null && mRecords.size() > 0) { in onMeasure()
262 for (TileRecord record : mRecords) { in onMeasure()
266 mRecords.get(0).tileView.setAccessibilityTraversalAfter( in onMeasure()
268 mRecords.get(mRecords.size() - 1).tileView.setAccessibilityTraversalBefore( in onMeasure()
DQSPanel.java54 protected final ArrayList<TileRecord> mRecords = new ArrayList<TileRecord>(); field in QSPanel
130 for (TileRecord record : mRecords) { in onDetachedFromWindow()
155 for (int i = 0; i < mRecords.size(); i++) { in getTile()
156 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { in getTile()
157 return mRecords.get(i).tile; in getTile()
195 for (TileRecord r : mRecords) { in updateResources()
255 for (TileRecord r : mRecords) { in refreshAllTiles()
286 for (TileRecord record : mRecords) { in setTiles()
290 mRecords.clear(); in setTiles()
364 mRecords.add(r); in addTile()
[all …]
DPagedTileLayout.java290 return mRecords.size() >= mColumns * mMaxRows; in isFull()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java129 private final ArrayList<Record> mRecords = new ArrayList<Record>(); field in TelephonyRegistry
236 synchronized (mRecords) {
237 for (Record r : mRecords) {
380 synchronized (mRecords) { in addOnSubscriptionsChangedListener()
384 final int N = mRecords.size(); in addOnSubscriptionsChangedListener()
386 r = mRecords.get(i); in addOnSubscriptionsChangedListener()
393 mRecords.add(r); in addOnSubscriptionsChangedListener()
431 synchronized (mRecords) { in notifySubscriptionInfoChanged()
434 + mRecords.size()); in notifySubscriptionInfoChanged()
438 for (Record r : mRecords) { in notifySubscriptionInfoChanged()
[all …]
DMountService.java313 private ArrayMap<String, VolumeRecord> mRecords = new ArrayMap<>(); field in MountService
357 return mRecords.get(vol.fsUuid); in findRecordForPath()
400 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark()
1336 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked()
1344 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedLocked()
1563 mRecords.clear(); in readSettingsLocked()
1591 mRecords.put(rec.fsUuid, rec); in readSettingsLocked()
1618 final int size = mRecords.size(); in writeSettingsLocked()
1620 final VolumeRecord rec = mRecords.valueAt(i); in writeSettingsLocked()
1856 final VolumeRecord rec = mRecords.get(fsUuid); in setVolumeNickname()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java760 private ArrayList<AccessibilityRecord> mRecords; field in AccessibilityEvent
793 final List<AccessibilityRecord> records = mRecords; in setSealed()
809 return mRecords == null ? 0 : mRecords.size(); in getRecordCount()
821 if (mRecords == null) { in appendRecord()
822 mRecords = new ArrayList<AccessibilityRecord>(); in appendRecord()
824 mRecords.add(record); in appendRecord()
834 if (mRecords == null) { in getRecord()
837 return mRecords.get(index); in getRecord()
1010 if (event.mRecords != null) { in obtain()
1011 final int recordCount = event.mRecords.size(); in obtain()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DTelephonyRegistryMock.java78 private final ArrayList<Record> mRecords = new ArrayList<Record>(); field in TelephonyRegistryMock
85 synchronized (mRecords) { in remove()
86 final int recordCount = mRecords.size(); in remove()
88 if (mRecords.get(i).binder == binder) { in remove()
89 mRecords.remove(i); in remove()
112 synchronized (mRecords) { in addOnSubscriptionsChangedListener()
116 final int N = mRecords.size(); in addOnSubscriptionsChangedListener()
118 r = mRecords.get(i); in addOnSubscriptionsChangedListener()
125 mRecords.add(r); in addOnSubscriptionsChangedListener()
155 synchronized (mRecords) { in notifySubscriptionInfoChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaSessions.java64 private final Map<Token, MediaControllerRecord> mRecords = new HashMap<>(); field in MediaSessions
79 writer.print(" mRecords.size: "); writer.println(mRecords.size()); in dump()
81 for (MediaControllerRecord r : mRecords.values()) { in dump()
107 final MediaControllerRecord r = mRecords.get(token); in setVolume()
135 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH()
140 if (!mRecords.containsKey(token)) { in onActiveSessionsUpdatedH()
143 mRecords.put(token, r); in onActiveSessionsUpdatedH()
146 final MediaControllerRecord r = mRecords.get(token); in onActiveSessionsUpdatedH()
154 final MediaControllerRecord r = mRecords.get(t); in onActiveSessionsUpdatedH()
156 mRecords.remove(t); in onActiveSessionsUpdatedH()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java69 private final ArrayMap<String, Record> mRecords = new ArrayMap<>(); // pkg|uid => Record field in RankingHelper
135 mRecords.clear(); in readXml()
182 Record r = mRecords.get(key); in getOrCreateRecord()
187 mRecords.put(key, r); in getOrCreateRecord()
196 final int N = mRecords.size(); in writeXml()
198 final Record r = mRecords.valueAt(i); in writeXml()
393 dumpRecords(pw, prefix, filter, mRecords); in dump()
435 final int N = mRecords.size(); in dumpJson()
437 final Record r = mRecords.valueAt(i); in dumpJson()
496 final int N = mRecords.size(); in getPackageBans()
[all …]
DConditionProviders.java46 private final ArrayList<ConditionRecord> mRecords = new ArrayList<>(); field in ConditionProviders
95 pw.print(" mRecords("); pw.print(mRecords.size()); pw.println("):"); in dump()
96 for (int i = 0; i < mRecords.size(); i++) { in dump()
97 final ConditionRecord r = mRecords.get(i); in dump()
157 for (int i = mRecords.size() - 1; i >= 0; i--) { in onServiceRemovedLocked()
158 final ConditionRecord r = mRecords.get(i); in onServiceRemovedLocked()
160 mRecords.remove(i); in onServiceRemovedLocked()
193 final int N = mRecords.size(); in getRecordLocked()
195 final ConditionRecord r = mRecords.get(i); in getRecordLocked()
202 mRecords.add(r); in getRecordLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java93 private LinkedList<Record> mRecords = new LinkedList<Record>(); field in GestureRecorder.Gesture
99 mRecords.add(new MotionEventRecord(ev.getEventTime(), ev)); in add()
115 mRecords.add(new TagRecord(when, tag, info)); in tag()
125 for (Record r : mRecords) { in toJson()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java52 protected List<AdnRecord> mRecords; field in IccPhoneBookInterfaceManager
93 mRecords = (List<AdnRecord>) ar.result;
96 mRecords = null;
308 return mRecords; in getAdnRecordsInEf()