/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | RangeFilterImplTest.java | 189 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/ |
D | StatsdStats_test.cpp | 418 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/ |
D | arguments_parser.h | 76 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/ |
D | RootCursorWrapper.java | 52 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/ |
D | HdHomeRunDiscover.java | 69 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()
|
D | HdHomeRunUtils.java | 74 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/ |
D | DocumentsProviderHelper.java | 289 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/ |
D | WifiConnectivityManager.java | 1494 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/ |
D | ChannelsRowAdapter.java | 55 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/ |
D | QuickstepModelDelegate.java | 332 Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, int maxCount) { in WorkspaceItemFactory() argument 336 mMaxCount = maxCount; in WorkspaceItemFactory()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcherImpl.java | 488 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/ |
D | StateMachineTest.java | 1675 StateMachineSharedThread(String name, Looper looper, int maxCount) { in StateMachineSharedThread() argument 1677 mMaxCount = maxCount; in StateMachineSharedThread()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1878 int maxCount = 0; in getLocationMcc() local
|