Home
last modified time | relevance | path

Searched refs:maxCount (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DRangeFilterImplTest.java189 int maxCount, in verifyFilterBothEnds() argument
191 int firstHalfRemainingItems = maxCount / 2; in verifyFilterBothEnds()
192 int secondHalfRemainingItems = maxCount - firstHalfRemainingItems; in verifyFilterBothEnds()
194 int clampedTailItemCount = unrestrictedCount - clampedHeadItemCount - maxCount; in verifyFilterBothEnds()
206 int maxCount, in verifyRemoveFilterBothEnds() argument
208 int firstHalfRemainingItems = maxCount / 2; in verifyRemoveFilterBothEnds()
209 int secondHalfRemainingItems = maxCount - firstHalfRemainingItems; in verifyRemoveFilterBothEnds()
211 int clampedTailItemCount = unrestrictedCount - clampedHeadItemCount - maxCount; in verifyRemoveFilterBothEnds()
213 verify(adapter).notifyItemRemoved(maxCount + 1); in verifyRemoveFilterBothEnds()
214 verify(adapter).notifyItemRangeInserted(maxCount + 1, clampedTailItemCount); in verifyRemoveFilterBothEnds()
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp418 size_t maxCount = StatsdStats::kMaxTimestampCount; in TEST() local
419 ASSERT_EQ(maxCount, configStats->broadcast_sent_time_sec.size()); in TEST()
420 ASSERT_EQ(maxCount, configStats->data_drop_time_sec.size()); in TEST()
421 ASSERT_EQ(maxCount, configStats->dump_report_stats.size()); in TEST()
422 ASSERT_EQ(maxCount, configStats->activation_time_sec.size()); in TEST()
423 ASSERT_EQ(maxCount, configStats->deactivation_time_sec.size()); in TEST()
452 const int maxCount = StatsdStats::kMaxSystemServerRestarts; in TEST() local
453 ASSERT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
459 ASSERT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
460 EXPECT_EQ(StatsdStats::kMaxSystemServerRestarts + 1, report.system_restart_sec(maxCount - 1)); in TEST()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.h76 const size_t maxCount, const std::string &description) { in variableLengthArguments() argument
77 return ArgumentSpec(name, minCount, maxCount, description); in variableLengthArguments()
88 ArgumentSpec(const std::string &name, const size_t minCount, const size_t maxCount, in ArgumentSpec() argument
90 : mName(name), mMinCount(minCount), mMaxCount(maxCount), mDescription(description) {} in ArgumentSpec()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java52 int maxCount) { in RootCursorWrapper() argument
59 if (maxCount > 0 && count > maxCount) { in RootCursorWrapper()
60 mCount = maxCount; in RootCursorWrapper()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDiscover.java69 int targetIp, int deviceType, int deviceId, int maxCount) { in findDevices() argument
106 if (resultList.size() >= maxCount) { in findDevices()
166 private List<LocalIpInfo> getLocalIpInfo(int maxCount) { in getLocalIpInfo() argument
187 if (result.size() >= maxCount) { in getLocalIpInfo()
DHdHomeRunUtils.java74 int targetIp, int deviceType, int deviceId, int maxCount) { in findHdHomeRunDevices() argument
86 ds.findDevices(targetIp, deviceType, deviceId, maxCount); in findHdHomeRunDevices()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java289 public List<DocumentInfo> listChildren(Uri parentUri, int maxCount) throws Exception { in listChildren() argument
291 return listChildren(id, maxCount); in listChildren()
294 public List<DocumentInfo> listChildren(String documentId, int maxCount) throws Exception { in listChildren() argument
299 maxCount); in listChildren()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1494 int maxCount = mContext.getResources().getInteger( in setScanChannels() local
1496 freqs = fetchChannelSetForPartialScan(maxCount, ageInMillis); in setScanChannels()
1524 @NonNull WifiConfiguration config, int maxCount, long ageInMillis) { in addChannelFromWifiScoreCard() argument
1527 if (maxCount > 0 && channelSet.size() >= maxCount) { in addChannelFromWifiScoreCard()
1564 public Set<Integer> fetchChannelSetForPartialScan(int maxCount, long ageInMillis) { in fetchChannelSetForPartialScan() argument
1576 if (!addChannelFromWifiScoreCard(channelSet, config, maxCount, ageInMillis)) { in fetchChannelSetForPartialScan()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java55 Context context, Recommender recommender, int minCount, int maxCount) { in ChannelsRowAdapter() argument
67 mMaxCount = maxCount; in ChannelsRowAdapter()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java332 Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, int maxCount) { in WorkspaceItemFactory() argument
336 mMaxCount = maxCount; in WorkspaceItemFactory()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java488 int maxCount = 0; in pickBestLineupId() local
492 if (count > maxCount) { in pickBestLineupId()
493 maxCount = count; in pickBestLineupId()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java1675 StateMachineSharedThread(String name, Looper looper, int maxCount) { in StateMachineSharedThread() argument
1677 mMaxCount = maxCount; in StateMachineSharedThread()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1878 int maxCount = 0; in getLocationMcc() local