/frameworks/base/cmds/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 …]
|
/frameworks/base/cmds/incidentd/src/ |
D | report_directory.cpp | 41 void clean_directory(const char* directory, off_t maxSize, size_t maxCount) { in clean_directory() argument 81 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory() 90 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
|
D | report_directory.h | 29 void clean_directory(const char* directory, off_t maxSize, size_t maxCount);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryProtoHelperTest.java | 178 int maxCount = 3; in testReadNotificationsWithNumberFilter() local 186 if (i <= maxCount) { in testReadNotificationsWithNumberFilter() 205 .setMaxNotifications(maxCount) in testReadNotificationsWithNumberFilter() 222 int maxCount = 3; in testReadNotificationsWithNumberFilter_preExistingNotifs() local 238 if (i <= (maxCount - 2)) { in testReadNotificationsWithNumberFilter_preExistingNotifs() 257 .setMaxNotifications(maxCount) in testReadNotificationsWithNumberFilter_preExistingNotifs()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationProviderProxy.java | 76 int maxCount = Math.min(MAX_ADDITIONAL_PACKAGES, packageNames.size()); 77 ArraySet<String> allPackages = new ArraySet<>(maxCount + 1); 79 if (packageNames.size() >= maxCount) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | LocaleTracker.java | 293 int maxCount = 0; in getMccFromCellInfo() local 304 if (count > maxCount) { in getMccFromCellInfo() 305 maxCount = count; in getMccFromCellInfo() 328 int maxCount = 0; in getMccMncFromCellInfo() local 342 if (count > maxCount) { in getMccMncFromCellInfo() 343 maxCount = count; in getMccMncFromCellInfo()
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | SharesheetModelScorer.java | 238 int maxCount = 0; in promoteApp() local 240 maxCount = Math.max(maxCount, countFunc.apply(data)); in promoteApp() 242 if (maxCount > 0) { in promoteApp() 251 float curScore = baseScore * countFunc.apply(entry.getValue()) / maxCount; in promoteApp()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 190 SortedIntArray(int maxCount) { in SortedIntArray() argument 191 mArray = new int[maxCount]; in SortedIntArray()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | PolicyAudioPort.cpp | 141 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; in pickChannelMask() local 146 maxCount = UINT_MAX; in pickChannelMask() 155 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.h | 283 size_t minCount=0, size_t maxCount=0, bool required=true) const; 492 size_t minCount=0, size_t maxCount=0) const { 493 return mParameters.staticInfo(tag, minCount, maxCount);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.cpp | 416 status_t Camera3Stream::startPrepare(int maxCount, bool blockRequest) { in startPrepare() argument 421 if (maxCount < 0) { in startPrepare() 423 __FUNCTION__, mId, maxCount); in startPrepare() 449 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare() 450 pipelineMax : static_cast<size_t>(maxCount); in startPrepare() 451 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
|
D | Camera3StreamInterface.h | 188 virtual status_t startPrepare(int maxCount, bool blockRequest) = 0;
|
D | Camera3Stream.h | 253 status_t startPrepare(int maxCount, bool blockRequest);
|
/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 241 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local 243 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked() 244 return maxCount; in getMaxBufferCountLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | BaseParceledListSlice.java | 145 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument 146 mInlineCountLimit = maxCount; in setInlineCountLimit()
|
/frameworks/av/camera/aidl/android/hardware/camera2/ |
D | ICameraDeviceUser.aidl | 156 void prepare2(int maxCount, int streamId); in prepare2() argument
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 234 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument 236 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
|
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 184 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument 185 mSessionImpl.prepare(maxCount, surface); in prepare()
|
D | CameraCaptureSessionImpl.java | 149 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument 152 mDeviceImpl.prepare(maxCount, surface); in prepare()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 977 int maxCount = mContext.getResources().getInteger( in setScanChannels() local 979 freqs = fetchChannelSetForPartialScan(maxCount, ageInMillis); in setScanChannels() 1007 @NonNull WifiConfiguration config, int maxCount, long ageInMillis) { in addChannelFromWifiScoreCard() argument 1010 if (maxCount > 0 && channelSet.size() >= maxCount) { in addChannelFromWifiScoreCard() 1046 public Set<Integer> fetchChannelSetForPartialScan(int maxCount, long ageInMillis) { in fetchChannelSetForPartialScan() argument 1058 if (!addChannelFromWifiScoreCard(channelSet, config, maxCount, ageInMillis)) { in fetchChannelSetForPartialScan()
|
/frameworks/av/media/libnblog/ |
D | PerformanceAnalysis.cpp | 115 const unsigned maxCount = *std::max_element(mBins.begin(), mBins.end()); in asciiArtString() local 116 const size_t maxIncrements = log2(maxCount) + 1; in asciiArtString()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraCaptureSession.java | 191 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraDeviceBase.h | 322 virtual status_t prepare(int maxCount, int streamId) = 0;
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 645 ResponseQueue(int maxCount) { in ResponseQueue() argument 647 mMaxCount = maxCount; in ResponseQueue()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 151 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override;
|