Home
last modified time | relevance | path

Searched refs:subList (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DListGridLayout.java96 ViewGroup subList = getSublist(i); in removeAllItems() local
97 if (subList != null) { in removeAllItems()
98 subList.removeAllViews(); in removeAllItems()
99 subList.setVisibility(View.GONE); in removeAllItems()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java659 ArrayList<SubscriptionInfo> subList = null; in getSubInfo() local
667 if (subList == null) { in getSubInfo()
668 subList = new ArrayList<SubscriptionInfo>(); in getSubInfo()
670 subList.add(subInfo); in getSubInfo()
682 return subList; in getSubInfo()
737 List<SubscriptionInfo> subList; in getActiveSubscriptionInfo() local
739 subList = getActiveSubscriptionInfoList( in getActiveSubscriptionInfo()
744 if (subList != null) { in getActiveSubscriptionInfo()
745 for (SubscriptionInfo si : subList) { in getActiveSubscriptionInfo()
757 + " subList=" + subList + " subInfo=null"); in getActiveSubscriptionInfo()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt94 mainClassBounds.fileInfo.sourceLines.subList(0, mainClassBounds.range.start))) in <lambda>()
213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
232 GeneratedCode(classBounds.fileInfo.sourceLines.subList( in <lambda>()
/frameworks/libs/net/common/testutils/hostdevice/com/android/net/module/util/
DTrackRecord.kt91 override fun subList(fromIndex: Int, toIndex: Int): List<E> = lock.withLock { in listIterator() method
92 elements.subList(fromIndex, toIndex) in listIterator()
109 if (pos < 0 || pos > size) null else elements.subList(pos, size).find(predicate) in <lambda>()
/frameworks/base/services/people/java/com/android/server/people/data/
DAggregateEventHistoryImpl.java91 results.addAll(lhs.subList(i, lhs.size())); in combineEventLists()
93 results.addAll(rhs.subList(j, rhs.size())); in combineEventLists()
DEventList.java122 mEvents.subList(i, eventsSize).clear(); in removeOldEvents()
DEventIndex.java381 result.addAll(longerSlots.subList(i, longerSlots.size())); in combineTimeSlotLists()
383 result.addAll(shorterSlots.subList(j, shorterSlots.size())); in combineTimeSlotLists()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt105 assertTrue(record.containsAll(TEST_VALUES.subList(0, TEST_VALUES.size / 2))) in <lambda>()
106 assertTrue(record.containsAll(TEST_VALUES.subList(0, TEST_VALUES.size / 2).sorted())) in <lambda>()
151 assertEquals(record.subList(3, record.size - 3), in <lambda>()
152 TEST_VALUES.subList(3, TEST_VALUES.size - 3)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyChipBuilder.kt38 return subList(0, size - 1).joinTo(StringBuilder(), separator = separator).apply { in joinWithAnd()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java323 mLastEvents.addAll(newLogs.subList(pos, newLogs.size())); in saveLastEvents()
375 List<SecurityEvent> idLogs = newLogs.subList(curPos, newLogs.size()); in mergeBatchLocked()
386 mPendingLogs = new ArrayList<>(mPendingLogs.subList( in mergeBatchLocked()
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java99 builder.addMimeMapping(specs.get(0), specs.subList(1, specs.size())); in parseTypes()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java141 sortList.subList(0, 5), topKList.subList(0, 5)); in topKEqualsToSort()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DMultipleStaticMocksTest.java63 assertThat(mCollected.subList(n, mCollected.size())) in verifyCollected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java94 for (PointF point : points.subList(1, points.size())) { in toPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DTimeLimitedMotionEventBuffer.java185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() method in TimeLimitedMotionEventBuffer
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java99 measureList.subList(LIMITED_TIME_UNIT_COUNT, measureList.size()).clear(); in formatElapsedTime()
/frameworks/base/core/java/android/app/
DPictureInPictureParams.java308 mUserActions = mUserActions.subList(0, Math.min(mUserActions.size(), size)); in truncateActions()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DSourceTransformer.kt160 val oldLines = processedCode.subList(begin, range.end.line) in <lambda>()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DManualBenchmarkState.java300 sb.append(results.subList(0, 100)).append(" ..."); in summaryLine()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypterTest.java97 for (EncryptedChunk chunk : chunks.subList(0, chunks.size() - 2)) { in testBackup_producesNoChunksSmallerThanMinSize()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java334 certificates.subList(/*fromIndex=*/ 1, certificates.size()); in validateCertPath()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSipMessageParsingUtils.java237 Set<String> fts = Arrays.asList(splitParams).subList(1, splitParams.length).stream() in getAcceptContactFeatureTags()
/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java670 socketFDs.subList(1, socketFDs.size()) in runSelectLoop()
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java333 minHeap.addAll(inputList.subList(size - k, size)); in topK()
DChooserListAdapter.java483 return mServiceTargets.subList(0, in getSurfacedTargetInfo()

12