Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/nfc/
DNdefMessage.java63 private final NdefRecord[] mRecords; field in NdefMessage
99 mRecords = NdefRecord.parse(buffer, false); in NdefMessage()
122 mRecords = new NdefRecord[1 + records.length]; in NdefMessage()
123 mRecords[0] = record; in NdefMessage()
124 System.arraycopy(records, 0, mRecords, 1, records.length); in NdefMessage()
143 mRecords = records; in NdefMessage()
158 return mRecords; in getRecords()
176 for (NdefRecord r : mRecords) { in getByteArrayLength()
197 for (int i=0; i<mRecords.length; i++) { in toByteArray()
199 boolean me = (i == mRecords.length - 1); // last record in toByteArray()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDoubleLineTileLayout.kt36 protected val mRecords = ArrayList<QSPanel.TileRecord>() constant
54 mRecords.add(tile) in addTile()
64 mRecords.remove(tile) in removeTile()
70 mRecords.forEach { it.tile.setListening(this, false) } in removeAllViews()
71 mRecords.clear() in removeAllViews()
90 for (record in mRecords) { in setListening()
95 val tile = mRecords[i].tile in setListening()
116 mRecords.forEach { in onMeasure()
135 val actualColumns = Math.min(maxColumns, mRecords.size / NUM_LINES) in onLayout()
144 for (index in 0 until mRecords.size) { in onLayout()
[all …]
DTileLayout.java33 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in TileLayout
66 for (TileRecord record : mRecords) { in setListening()
88 mRecords.add(tile); in addTile()
99 mRecords.remove(tile); in removeTile()
105 for (TileRecord record : mRecords) { in removeAllViews()
108 mRecords.clear(); in removeAllViews()
139 final int numTiles = mRecords.size(); in onMeasure()
151 for (TileRecord record : mRecords) { in onMeasure()
214 final TileRecord record = mRecords.get(i); in layoutTileRecords()
224 layoutTileRecords(mRecords.size()); in onLayout()
[all …]
DQuickQSPanel.java318 for (int i = 0; i < mRecords.size(); i++) { in onLayout()
319 mRecords.get(i).tileView.setVisibility( i < mColumns ? View.VISIBLE : View.GONE); in onLayout()
336 int maxTiles = mRecords.size();
367 if (mRecords != null && mRecords.size() > 0) { in setAccessibilityOrder()
369 for (TileRecord record : mRecords) { in setAccessibilityOrder()
373 mRecords.get(mRecords.size() - 1).tileView.setAccessibilityTraversalBefore( in setAccessibilityOrder()
381 for (TileRecord record : mRecords) { in onMeasure()
412 QSTile tile = mRecords.get(i).tile; in setListening()
DQSPanel.java86 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in QSPanel
358 for (TileRecord record : mRecords) { in onDetachedFromWindow()
361 mRecords.clear(); in onDetachedFromWindow()
399 for (int i = 0; i < mRecords.size(); i++) { in getTile()
400 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { in getTile()
401 return mRecords.get(i).tile; in getTile()
560 for (TileRecord record : mRecords) { in switchTileLayout()
734 return mRecords.stream() in getTilesSpecs()
764 for (TileRecord r : mRecords) { in refreshAllTiles()
800 for (TileRecord record : mRecords) { in setTiles()
[all …]
DPagedTileLayout.java138 for (int i = 0; i < page.mRecords.size(); i++) { in logVisibleTiles()
139 QSTile t = page.mRecords.get(i).tile; in logVisibleTiles()
284 if (mPages.get(index).mRecords.size() == tileCount) index++; in distributeTiles()
445 return currentPage.mRecords.size(); in getNumVisibleTiles()
458 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
534 return mRecords.size() >= maxTiles(); in isFull()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java218 private final ArrayList<Record> mRecords = new ArrayList<Record>(); field in TelephonyRegistry
377 synchronized (mRecords) {
378 for (Record r : mRecords) {
643 synchronized (mRecords) { in addOnSubscriptionsChangedListener()
697 synchronized (mRecords) { in addOnOpportunisticSubscriptionsChangedListener()
735 synchronized (mRecords) { in notifySubscriptionInfoChanged()
738 + mRecords.size()); in notifySubscriptionInfoChanged()
742 for (Record r : mRecords) { in notifySubscriptionInfoChanged()
761 synchronized (mRecords) { in notifyOpportunisticSubscriptionInfoChanged()
764 + mRecords.size()); in notifyOpportunisticSubscriptionInfoChanged()
[all …]
DStorageManagerService.java421 private ArrayMap<String, VolumeRecord> mRecords = new ArrayMap<>(); field in StorageManagerService
494 return mRecords.get(vol.fsUuid); in findRecordForPath()
537 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark()
1614 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedAsync()
1622 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedAsync()
2091 mRecords.clear(); in readSettingsLocked()
2116 mRecords.put(rec.fsUuid, rec); in readSettingsLocked()
2143 final int size = mRecords.size(); in writeSettingsLocked()
2145 final VolumeRecord rec = mRecords.valueAt(i); in writeSettingsLocked()
2406 final VolumeRecord rec = mRecords.get(fsUuid); in setVolumeNickname()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java798 private ArrayList<AccessibilityRecord> mRecords; field in AccessibilityEvent
842 if (event.mRecords != null) { in init()
843 final int recordCount = event.mRecords.size(); in init()
844 mRecords = new ArrayList<>(recordCount); in init()
846 final AccessibilityRecord record = event.mRecords.get(i); in init()
848 mRecords.add(recordClone); in init()
864 final List<AccessibilityRecord> records = mRecords; in setSealed()
880 return mRecords == null ? 0 : mRecords.size(); in getRecordCount()
892 if (mRecords == null) { in appendRecord()
893 mRecords = new ArrayList<AccessibilityRecord>(); in appendRecord()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java62 private final Map<Token, MediaControllerRecord> mRecords = new HashMap<>(); field in MediaSessions
82 writer.println(mRecords.size()); in dump()
84 for (MediaControllerRecord r : mRecords.values()) { in dump()
120 final MediaControllerRecord r = mRecords.get(token); in setVolume()
150 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH()
155 if (!mRecords.containsKey(token)) { in onActiveSessionsUpdatedH()
158 mRecords.put(token, r); in onActiveSessionsUpdatedH()
161 final MediaControllerRecord r = mRecords.get(token); in onActiveSessionsUpdatedH()
169 final MediaControllerRecord r = mRecords.get(t); in onActiveSessionsUpdatedH()
171 mRecords.remove(t); in onActiveSessionsUpdatedH()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java54 private final ArrayList<ConditionRecord> mRecords = new ArrayList<>(); field in ConditionProviders
138 pw.print(" mRecords("); pw.print(mRecords.size()); pw.println("):"); in dump()
139 for (int i = 0; i < mRecords.size(); i++) { in dump()
140 final ConditionRecord r = mRecords.get(i); in dump()
216 for (int i = mRecords.size() - 1; i >= 0; i--) { in onServiceRemovedLocked()
217 final ConditionRecord r = mRecords.get(i); in onServiceRemovedLocked()
219 mRecords.remove(i); in onServiceRemovedLocked()
281 final int N = mRecords.size(); in getRecordLocked()
283 final ConditionRecord r = mRecords.get(i); in getRecordLocked()
290 mRecords.add(r); in getRecordLocked()
/frameworks/libs/net/common/src_frameworkcommon/com/android/net/module/util/
DDnsPacket.java224 protected final List<DnsRecord>[] mRecords; field in DnsPacket
236 mRecords = new ArrayList[NUM_SECTIONS]; in DnsPacket()
241 mRecords[i] = new ArrayList(count); in DnsPacket()
245 mRecords[i].add(new DnsRecord(i, buffer)); in DnsPacket()
/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/compile/slang/
Dslang_rs_reflection_state.cpp146 Records.reserve(file.mRecords.size()); in dump()
147 for (auto I = file.mRecords.begin(), E = file.mRecords.end(); I != E; I++) in dump()
685 if (mNumRecordsMatchedByName == file.mRecords.size()) in endRecords()
693 for (auto I = file.mRecords.begin(), E = file.mRecords.end(); I != E; I++) in endRecords()
711 auto &records = mFiles.Current().mRecords; in declareRecord()
820 const auto &Records = mFiles.Current().mRecords; in getRecord32()
Dslang_rs_reflection_state.h677 llvm::StringMap<Record> mRecords; member
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java50 private ArrayList<Record> mRecords = new ArrayList<Record>(); field in RawBatteryStats
937 return mRecords; in getRecords()
1006 mRecords.add(record); in handleCsvLine()
1052 for (Record record: mRecords) { in indexRecords()
1101 for (Record record: mRecords) { in indexApps()
/frameworks/libs/net/common/tests/unit/src/com/android/module/util/
DDnsPacketTest.java63 return mRecords[secType]; in getRecordList()
/frameworks/base/core/java/android/net/
DDnsResolver.java552 mQueryType = mRecords[QDSECTION].get(0).nsType; in DnsAddressAnswer()
559 for (final DnsRecord ansSec : mRecords[ANSECTION]) { in getAddresses()