Home
last modified time | relevance | path

Searched refs:mRecords (Results 1 – 18 of 18) 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.java29 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in TileLayout
53 for (TileRecord record : mRecords) { in setListening()
59 mRecords.add(tile); in addTile()
70 mRecords.remove(tile); in removeTile()
76 for (TileRecord record : mRecords) { in removeAllViews()
79 mRecords.clear(); in removeAllViews()
105 final int numTiles = mRecords.size(); in onMeasure()
117 for (TileRecord record : mRecords) { in onMeasure()
179 final TileRecord record = mRecords.get(i); in layoutTileRecords()
189 layoutTileRecords(mRecords.size()); in onLayout()
[all …]
DQuickQSPanel.java66 for (int i = 0; i < mRecords.size(); i++) { in QuickQSPanel()
67 mTileLayout.removeTile(mRecords.get(i)); in QuickQSPanel()
233 for (int i = 0; i < mRecords.size(); i++) { in onLayout()
234 mRecords.get(i).tileView.setVisibility( i < mColumns ? View.VISIBLE : View.GONE); in onLayout()
251 int maxTiles = mRecords.size();
275 if (mRecords != null && mRecords.size() > 0) { in setAccessibilityOrder()
277 for (TileRecord record : mRecords) { in setAccessibilityOrder()
281 mRecords.get(mRecords.size() - 1).tileView.setAccessibilityTraversalBefore( in setAccessibilityOrder()
289 for (TileRecord record : mRecords) { in onMeasure()
DQSPanel.java75 protected final ArrayList<TileRecord> mRecords = new ArrayList<>(); field in QSPanel
199 for (TileRecord record : mRecords) { in onDetachedFromWindow()
235 for (int i = 0; i < mRecords.size(); i++) { in getTile()
236 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { in getTile()
237 return mRecords.get(i).tile; in getTile()
396 for (TileRecord r : mRecords) { in refreshAllTiles()
430 for (TileRecord record : mRecords) { in setTiles()
434 mRecords.clear(); in setTiles()
498 mRecords.add(r); in addTile()
588 for (int i = 0; i < mRecords.size(); i++) { in logTiles()
[all …]
DPagedTileLayout.java236 if (mPages.get(index).mRecords.size() == tileCount) index++; in distributeTiles()
353 return currentPage.mRecords.size(); in getNumVisibleTiles()
366 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
441 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
373 synchronized (mRecords) {
374 for (Record r : mRecords) {
639 synchronized (mRecords) { in addOnSubscriptionsChangedListener()
693 synchronized (mRecords) { in addOnOpportunisticSubscriptionsChangedListener()
731 synchronized (mRecords) { in notifySubscriptionInfoChanged()
734 + mRecords.size()); in notifySubscriptionInfoChanged()
738 for (Record r : mRecords) { in notifySubscriptionInfoChanged()
757 synchronized (mRecords) { in notifyOpportunisticSubscriptionInfoChanged()
760 + mRecords.size()); in notifyOpportunisticSubscriptionInfoChanged()
[all …]
DStorageManagerService.java335 private ArrayMap<String, VolumeRecord> mRecords = new ArrayMap<>(); field in StorageManagerService
386 return mRecords.get(vol.fsUuid); in findRecordForPath()
429 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark()
1334 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked()
1342 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedLocked()
1688 mRecords.clear(); in readSettingsLocked()
1713 mRecords.put(rec.fsUuid, rec); in readSettingsLocked()
1740 final int size = mRecords.size(); in writeSettingsLocked()
1742 final VolumeRecord rec = mRecords.valueAt(i); in writeSettingsLocked()
1939 final VolumeRecord rec = mRecords.get(fsUuid); in setVolumeNickname()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java781 private ArrayList<AccessibilityRecord> mRecords; field in AccessibilityEvent
816 final List<AccessibilityRecord> records = mRecords; in setSealed()
832 return mRecords == null ? 0 : mRecords.size(); in getRecordCount()
844 if (mRecords == null) { in appendRecord()
845 mRecords = new ArrayList<AccessibilityRecord>(); in appendRecord()
847 mRecords.add(record); in appendRecord()
857 if (mRecords == null) { in getRecord()
860 return mRecords.get(index); in getRecord()
1114 if (event.mRecords != null) { in obtain()
1115 final int recordCount = event.mRecords.size(); in obtain()
[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.java50 private final ArrayList<ConditionRecord> mRecords = new ArrayList<>(); field in ConditionProviders
101 pw.print(" mRecords("); pw.print(mRecords.size()); pw.println("):"); in dump()
102 for (int i = 0; i < mRecords.size(); i++) { in dump()
103 final ConditionRecord r = mRecords.get(i); in dump()
164 for (int i = mRecords.size() - 1; i >= 0; i--) { in onServiceRemovedLocked()
165 final ConditionRecord r = mRecords.get(i); in onServiceRemovedLocked()
167 mRecords.remove(i); in onServiceRemovedLocked()
229 final int N = mRecords.size(); in getRecordLocked()
231 final ConditionRecord r = mRecords.get(i); in getRecordLocked()
238 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/core/java/android/net/
DDnsResolver.java552 mQueryType = mRecords[QDSECTION].get(0).nsType; in DnsAddressAnswer()
559 for (final DnsRecord ansSec : mRecords[ANSECTION]) { in getAddresses()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48089 Landroid/nfc/NdefMessage;->mRecords:[Landroid/nfc/NdefRecord;
72889 Landroid/view/accessibility/AccessibilityEvent;->mRecords:Ljava/util/ArrayList;