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/
DQSPanelControllerBase.java72 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in QSPanelControllerBase
176 for (TileRecord record : mRecords) { in onViewDetached()
179 mRecords.clear(); in onViewDetached()
199 for (QSPanelControllerBase.TileRecord record : mRecords) { in setTiles()
203 mRecords.clear(); in setTiles()
212 for (QSPanelControllerBase.TileRecord r : mRecords) { in refreshAllTiles()
222 mRecords.add(r); in addTile()
229 for (TileRecord record : mRecords) { in clickTile()
237 for (int i = 0; i < mRecords.size(); i++) { in getTile()
238 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { in getTile()
[all …]
DTileLayout.java35 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in TileLayout
70 for (TileRecord record : mRecords) { in setListening()
92 mRecords.add(tile); in addTile()
103 mRecords.remove(tile); in removeTile()
109 for (TileRecord record : mRecords) { in removeAllViews()
112 mRecords.clear(); in removeAllViews()
148 final int numTiles = mRecords.size(); in onMeasure()
162 for (TileRecord record : mRecords) { in onMeasure()
227 final TileRecord record = mRecords.get(i); in layoutTileRecords()
237 layoutTileRecords(mRecords.size()); in onLayout()
[all …]
DPagedTileLayout.java154 for (int i = 0; i < page.mRecords.size(); i++) { in logVisibleTiles()
155 QSTile t = page.mRecords.get(i).tile; in logVisibleTiles()
312 if (mPages.get(index).mRecords.size() == tileCount) index++; in distributeTiles()
459 return currentPage.mRecords.size(); in getNumVisibleTiles()
472 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
DQuickQSPanel.java210 updateMaxRows(10000, mRecords.size()); in onMeasure()
221 QSTile tile = mRecords.get(i).tile; in setListening()
DSideLabelTileLayout.kt35 return mRecords.size >= maxTiles() in isFull()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java801 private ArrayList<AccessibilityRecord> mRecords; field in AccessibilityEvent
845 if (event.mRecords != null) { in init()
846 final int recordCount = event.mRecords.size(); in init()
847 mRecords = new ArrayList<>(recordCount); in init()
849 final AccessibilityRecord record = event.mRecords.get(i); in init()
851 mRecords.add(recordClone); in init()
867 final List<AccessibilityRecord> records = mRecords; in setSealed()
883 return mRecords == null ? 0 : mRecords.size(); in getRecordCount()
895 if (mRecords == null) { in appendRecord()
896 mRecords = new ArrayList<AccessibilityRecord>(); in appendRecord()
[all …]
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java288 private final ArrayList<Record> mRecords = new ArrayList<Record>(); field in TelephonyRegistry
561 synchronized (mRecords) {
562 for (Record r : mRecords) {
850 synchronized (mRecords) { in addOnSubscriptionsChangedListener()
904 synchronized (mRecords) { in addOnOpportunisticSubscriptionsChangedListener()
942 synchronized (mRecords) { in notifySubscriptionInfoChanged()
945 + mRecords.size()); in notifySubscriptionInfoChanged()
949 for (Record r : mRecords) { in notifySubscriptionInfoChanged()
968 synchronized (mRecords) { in notifyOpportunisticSubscriptionInfoChanged()
971 + mRecords.size()); in notifyOpportunisticSubscriptionInfoChanged()
[all …]
DStorageManagerService.java416 private ArrayMap<String, VolumeRecord> mRecords = new ArrayMap<>(); field in StorageManagerService
491 return mRecords.get(vol.fsUuid); in findRecordForPath()
541 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark()
1682 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedAsync()
1690 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedAsync()
2121 mRecords.clear(); in readSettingsLocked()
2145 mRecords.put(rec.fsUuid, rec); in readSettingsLocked()
2171 final int size = mRecords.size(); in writeSettingsLocked()
2173 final VolumeRecord rec = mRecords.valueAt(i); in writeSettingsLocked()
2436 final VolumeRecord rec = mRecords.get(fsUuid); in setVolumeNickname()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java66 private final Map<Token, MediaControllerRecord> mRecords = new HashMap<>(); field in MediaSessions
87 writer.println(mRecords.size()); in dump()
89 for (MediaControllerRecord r : mRecords.values()) { in dump()
126 final MediaControllerRecord r = mRecords.get(token); in setVolume()
156 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH()
161 if (!mRecords.containsKey(token)) { in onActiveSessionsUpdatedH()
164 mRecords.put(token, r); in onActiveSessionsUpdatedH()
167 final MediaControllerRecord r = mRecords.get(token); in onActiveSessionsUpdatedH()
175 final MediaControllerRecord r = mRecords.get(t); in onActiveSessionsUpdatedH()
177 mRecords.remove(t); in onActiveSessionsUpdatedH()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java55 private final ArrayList<ConditionRecord> mRecords = new ArrayList<>(); field in ConditionProviders
139 pw.print(" mRecords("); pw.print(mRecords.size()); pw.println("):"); in dump()
140 for (int i = 0; i < mRecords.size(); i++) { in dump()
141 final ConditionRecord r = mRecords.get(i); in dump()
222 for (int i = mRecords.size() - 1; i >= 0; i--) { in onServiceRemovedLocked()
223 final ConditionRecord r = mRecords.get(i); in onServiceRemovedLocked()
225 mRecords.remove(i); in onServiceRemovedLocked()
287 final int N = mRecords.size(); in getRecordLocked()
289 final ConditionRecord r = mRecords.get(i); in getRecordLocked()
296 mRecords.add(r); in getRecordLocked()
/frameworks/libs/net/common/framework/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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37573 Landroid/nfc/NdefMessage;->mRecords:[Landroid/nfc/NdefRecord;
61783 Landroid/view/accessibility/AccessibilityEvent;->mRecords:Ljava/util/ArrayList;