Home
last modified time | relevance | path

Searched defs:collection (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/Permission/service/java/com/android/permission/util/
DCollectionUtils.java49 public static boolean isEmpty(@Nullable Collection<?> collection) { in isEmpty()
59 public static int size(@Nullable Collection<?> collection) { in size()
69 public static int size(@Nullable Map<?, ?> collection) { in size()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsCollectionTest.java126 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyNetwork() local
154 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyUid() local
182 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyUidTags() local
209 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in getUidInputStreamFromRes() local
233 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); in testStartEndAtomicBuckets() local
248 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); in testAccessLevels() local
315 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testAugmentPlan() local
575 @NonNull NetworkStatsCollection collection) { in assertCollectionEntries()
612 NetworkStatsCollection collection = new NetworkStatsCollection.Builder(bucketDuration) in testRemoveHistoryBefore() local
671 private static NetworkStatsHistory getHistory(NetworkStatsCollection collection, in getHistory()
[all …]
DNetworkStatsRecorderTest.java113 final NetworkStatsCollection collection = new NetworkStatsCollection(30); in testFileReadingMetrics_empty() local
149 final NetworkStatsCollection collection = new NetworkStatsCollection(30); in testFileReadingMetrics() local
180 final NetworkStatsCollection collection = new NetworkStatsCollection(30); in testFileReadingMetrics_fileAttributes() local
/packages/modules/Connectivity/tests/benchmark/src/android/net/netstats/benchmarktests/
DNetworkStatsTest.kt75 val collection = NetworkStatsCollection(UID_COLLECTION_BUCKET_DURATION_MS) in <lambda>() constant
128 val collection = NetworkStatsCollection(UID_COLLECTION_BUCKET_DURATION_MS) in <lambda>() constant
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java482 KnownBandsChannelCollection collection = mChannelHelper.createChannelCollection(); in optimalScheduleFullyCollapsesDuplicateChannelsInBand() local
596 KnownBandsChannelCollection collection = mChannelHelper.createChannelCollection(); in optimalSchedulePartiallyCollapsesDuplicateChannelsAcrossMultipleBuckets() local
645 KnownBandsChannelCollection collection = mChannelHelper.createChannelCollection(); in optimalSchedulePartiallyCollapsesDuplicateChannelsWithSplitBuckets() local
658 KnownBandsChannelCollection collection = mChannelHelper.createChannelCollection(); in getAllChannels() local
664 KnownBandsChannelCollection collection = mChannelHelper.createChannelCollection(); in getAllChannels() local
DBaseWifiScannerImplTest.java99 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs() local
105 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandAndChannelScanFreqs() local
DWificondPnoScannerTest.java218 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DCollectionUtils.java42 public static boolean isEmpty(@Nullable Collection<?> collection) { in isEmpty()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DSampleExampleStoreService.java59 String collection = params.getString(EXTRA_TASK_ID); in startQuery() local
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java95 private void doSingle(Uri collection, Timers timers) throws Exception { in doSingle()
164 private void doBulk(Uri collection, Timers timers) throws Exception { in doBulk()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java239 String label, collection; in getView() local
272 String label, String collection, boolean checked) { in inflateTwoLine()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DArrayUtils.java109 public static int size(@Nullable Collection<?> collection) { in size()
/packages/modules/Connectivity/service-t/src/com/android/metrics/
DNetworkStatsMetricsLogger.java142 @Nullable File statsDir, @NonNull NetworkStatsCollection collection, in logRecorderFileReading()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsRecorder.java392 public CombiningRewriter(NetworkStatsCollection collection) { in CombiningRewriter()
458 public void importCollectionLocked(@NonNull NetworkStatsCollection collection) in importCollectionLocked()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWorkspaceItemProcessor.kt379 var collection = bgDataModel.findOrMakeFolder(c.id) in processFolderOrAppPair() variable
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkShellCommand.java371 private void printCollection(String nameOnSingular, Collection<String> collection) { in printCollection()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DCollectionUtils.java49 public static <T> boolean isEmpty(@Nullable Collection<T> collection) { in isEmpty()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DArrayUtils.java180 public static int size(@Nullable Collection<?> collection) { in size()
711 public static <T> int unstableRemoveIf(@Nullable ArrayList<T> collection, in unstableRemoveIf()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c1026 ipp_t *collection = ippGetCollection(attrptr, i); in parse_getMediaSupported() local
1418 ipp_t *collection = ippGetCollection(attrptr, i); in parse_printerAttributes() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java887 final NetworkStatsCollection collection = in testDataMigrationUtils() local
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsCollection.java938 final NetworkStatsCollection collection = in build() local
/packages/apps/TV/src/com/android/tv/util/
DUtils.java706 public static boolean isIndexValid(@Nullable Collection<?> collection, int index) { in isIndexValid()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java856 Uri collection = MediaStore.Images.Media in testScan_166063754() local
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRoleParser.java1056 @NonNull Collection<T> collection, @NonNull String name) { in validateNoDuplicateElement()
/packages/services/Car/cpp/watchdog/server/src/
DPerformanceProfiler.cpp791 void PerformanceProfiler::dumpStatsRecordsProto(const CollectionInfo& collection, in dumpStatsRecordsProto()

12