Home
last modified time | relevance | path

Searched refs:totalCount (Results 1 – 25 of 44) sorted by relevance

12

/aosp12/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp57 size_t totalCount = 0; in clean_directory() local
75 totalCount++; in clean_directory()
81 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory()
90 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
93 totalCount--; in clean_directory()
H A DWorkDirectory.cpp816 int totalCount = files.size(); in clean_directory_locked() local
819 if (totalSize < mMaxDiskUsageBytes && totalCount < mMaxFileCount) { in clean_directory_locked()
827 || totalCount >= mMaxFileCount); in clean_directory_locked()
832 totalCount--; in clean_directory_locked()
/aosp12/system/bpf/libbpf_android/
H A DBpfMapTest.cpp168 int totalCount = 0; in TEST_F() local
170 const auto iterateWithDeletion = [&totalCount, &totalSum](const uint32_t& key, in TEST_F()
173 totalCount++; in TEST_F()
178 EXPECT_EQ((int)TEST_MAP_SIZE, totalCount); in TEST_F()
186 int totalCount = 0; in TEST_F() local
188 const auto iterateWithDeletion = [&totalCount, &totalSum](const uint32_t& key, in TEST_F()
193 totalCount++; in TEST_F()
198 EXPECT_EQ((int)TEST_MAP_SIZE, totalCount); in TEST_F()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DNotificationImportExportListener.java101 int totalCount) { in onImportParsed() argument
106 final String totalCountString = String.valueOf(totalCount); in onImportParsed()
117 totalCount, currentCount); in onImportParsed()
204 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument
226 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification()
234 if (totalCount > 0) { in constructProgressNotification()
236 NumberFormat.getPercentInstance().format((double) currentCount / totalCount); in constructProgressNotification()
H A DVCardImportExportListener.java27 int totalCount); in onImportParsed() argument
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlidingWindow.java82 public int totalCount; field in AlbumSetSlidingWindow.AlbumSetEntry
240 AlbumSetEntry entry, String title, int totalCount, int sourceType) { in isLabelChanged() argument
242 || entry.totalCount != totalCount in isLabelChanged()
249 int totalCount = mSource.getTotalCount(slotIndex); in updateAlbumSetEntry() local
259 if (isLabelChanged(entry, title, totalCount, sourceType)) { in updateAlbumSetEntry()
261 entry.totalCount = totalCount; in updateAlbumSetEntry()
270 slotIndex, title, totalCount, sourceType); in updateAlbumSetEntry()
486 int slotIndex, String title, int totalCount, int sourceType) { in AlbumLabelLoader() argument
489 mTotalCount = totalCount; in AlbumLabelLoader()
543 entry.title, entry.totalCount, entry.sourceType); in onSlotSizeChanged()
/aosp12/packages/providers/TvProvider/src/com/android/providers/tv/
H A DEpgDataCleanupService.java125 int totalCount; in clearOverflowWatchHistory() local
128 totalCount = cursor.getCount(); in clearOverflowWatchHistory()
129 int overflowCount = totalCount - maxEntryCount; in clearOverflowWatchHistory()
147 Log.d(TAG, "Deleted " + deleteCount + " of " + totalCount + " watched programs" in clearOverflowWatchHistory()
/aosp12/system/extras/simpleperf/scripts/
H A Dreport_html.js798 let totalCount = {countForProcess: process.eventCount,
924 this.div, `Functions called by ${funcName}`, totalCount,
929 this.div, `Functions calling ${funcName}`, totalCount,
1062 return function(eventCount, totalCount) { argument
1068 return function(eventCount, totalCount) { argument
1089 constructor(divContainer, title, totalCount, initNodes, reverseOrder) { argument
1095 this.totalCount = totalCount;
1544 constructor(divContainer, sourceFiles, totalCount) { argument
1548 this.totalCount = totalCount;
1647 constructor(divContainer, disassembly, totalCount) { argument
[all …]
/aosp12/frameworks/av/media/libnblog/include/media/nblog/
H A DPerformanceAnalysis.h95 uint64_t totalCount() const;
184 return workHist.totalCount() == 0 && latencyHist.totalCount() == 0 in empty()
185 && warmupHist.totalCount() == 0 && underruns == 0 && overruns == 0 in empty()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowPage.java283 private void generateOrderArray(int totalCount) { in generateOrderArray() argument
284 if (mOrder.length != totalCount) { in generateOrderArray()
285 mOrder = new int[totalCount]; in generateOrderArray()
286 for (int i = 0; i < totalCount; ++i) { in generateOrderArray()
290 for (int i = totalCount - 1; i > 0; --i) { in generateOrderArray()
293 if (mOrder[0] == mLastIndex && totalCount > 1) { in generateOrderArray()
294 Utils.swap(mOrder, 0, mRandom.nextInt(totalCount - 1) + 1); in generateOrderArray()
H A DAlbumSetDataLoader.java241 public int totalCount; field in AlbumSetDataLoader.UpdateInfo
303 mTotalCount[pos] = info.totalCount; in call()
374 info.totalCount = info.item.getTotalMediaItemCount(); in run()
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
H A DCountMetricsTests.java303 int totalCount = 0; in testPartialBucketCountMetric()
305 totalCount += bucket.getCount(); in testPartialBucketCountMetric()
307 assertThat(totalCount).isEqualTo(2); in testPartialBucketCountMetric()
422 long totalCount = data.getBucketInfoList().stream() local
425 assertThat(totalCount).isEqualTo(6);
432 totalCount = data.getBucketInfoList().stream()
435 assertThat(totalCount).isEqualTo(3);
/aosp12/frameworks/base/tools/aapt/
H A DAaptAssets.cpp972 int totalCount = 0; in slurpFromArgs() local
988 totalCount++; in slurpFromArgs()
1013 totalCount = count; in slurpFromArgs()
1019 totalCount += count; in slurpFromArgs()
1051 totalCount = count; in slurpFromArgs()
1054 totalCount += count; in slurpFromArgs()
1092 totalCount = count; in slurpFromArgs()
1095 totalCount += count; in slurpFromArgs()
1104 totalCount = count; in slurpFromArgs()
1110 totalCount = count; in slurpFromArgs()
[all …]
/aosp12/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.cpp448 size_t totalCount = 1; in addFragmentedNALUnit() local
464 ALOGV("sequence length %zu", totalCount); in addFragmentedNALUnit()
496 ++totalCount; in addFragmentedNALUnit()
531 for (size_t i = 0; i < totalCount; ++i) { in addFragmentedNALUnit()
534 ALOGV("piece #%zu/%zu", i + 1, totalCount); in addFragmentedNALUnit()
H A DAHEVCAssembler.cpp469 size_t totalCount = 1; in addFragmentedNALUnit() local
485 ALOGV("sequence length %zu", totalCount); in addFragmentedNALUnit()
517 ++totalCount; in addFragmentedNALUnit()
552 for (size_t i = 0; i < totalCount; ++i) { in addFragmentedNALUnit()
555 ALOGV("piece #%zu/%zu", i + 1, totalCount); in addFragmentedNALUnit()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java223 public void onImportProgress(int visitedCount, int totalCount, in onImportProgress() argument
230 mClientActivity.onImportProgress(visitedCount, totalCount, pathIfSuccessful); in onImportProgress()
232 mNotificationBuilder.setProgress(totalCount, visitedCount, false) in onImportProgress()
/aosp12/frameworks/av/media/libnblog/
H A DReportPerformance.cpp174 if (workHist.totalCount() > 0) { in sendToMediaMetrics()
179 if (latencyHist.totalCount() > 0) { in sendToMediaMetrics()
184 if (warmupHist.totalCount() > 0) { in sendToMediaMetrics()
H A DPerformanceAnalysis.cpp73 uint64_t Histogram::totalCount() const in totalCount() function in android::ReportPerformance::Histogram
98 if (totalCount() == 0 || mBinSize <= 0 || mBins.size() < 2) { in asciiArtString()
/aosp12/build/soong/android/
H A Dnamespace.go206 totalCount := 0
209 totalCount += len(newModules)
213 allModules := make([]blueprint.ModuleGroup, 0, totalCount)
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DLocalPhotoSource.java135 private boolean isContentSound(int totalCount) { in isContentSound() argument
136 if (mPhotos.size() < Math.min(totalCount, MAX_PHOTO_COUNT)) return false; in isContentSound()
/aosp12/frameworks/native/vulkan/libvulkan/
H A Dapi.cpp1348 uint32_t totalCount = properties.size(); in EnumerateInstanceExtensionProperties() local
1349 if (!pProperties || *pPropertyCount > totalCount) { in EnumerateInstanceExtensionProperties()
1350 *pPropertyCount = totalCount; in EnumerateInstanceExtensionProperties()
1356 return *pPropertyCount < totalCount ? VK_INCOMPLETE : VK_SUCCESS; in EnumerateInstanceExtensionProperties()
1450 uint32_t totalCount = properties.size(); in EnumerateDeviceExtensionProperties() local
1451 if (!pProperties || *pPropertyCount > totalCount) { in EnumerateDeviceExtensionProperties()
1452 *pPropertyCount = totalCount; in EnumerateDeviceExtensionProperties()
1458 return *pPropertyCount < totalCount ? VK_INCOMPLETE : VK_SUCCESS; in EnumerateDeviceExtensionProperties()
/aosp12/packages/modules/StatsD/framework/java/android/util/
H A DStatsEvent.java528 final int totalCount = intMapSize + longMapSize + stringMapSize + floatMapSize; in writeKeyValuePairs() local
530 if (totalCount > MAX_KEY_VALUE_PAIRS) { in writeKeyValuePairs()
534 mPos += mBuffer.putByte(mPos, (byte) totalCount); in writeKeyValuePairs()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DRunLocalBenchmarksActivity.java108 int totalCount = 0; field in RunLocalBenchmarksActivity.LocalBenchmark
114 this.totalCount = runCount; in LocalBenchmark()
279 if (benchmark.runCount < benchmark.totalCount) { in runNextBenchmark()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/
H A DManageMicPermissionsPreferenceControllerTest.java212 private void setAppsForUser(int grantedCount, int totalCount, in setAppsForUser() argument
227 permissionAllAppsCountCallback.getValue().onCountPermissionApps(totalCount); in setAppsForUser()
/aosp12/system/netd/libnetdbpf/
H A DBpfNetworkStatsTest.cpp176 int totalCount = 0; in TEST_F() local
179 [&totalCount, &totalSum](const uint64_t& key, const BpfMap<uint64_t, UidTagValue>&) { in TEST_F()
181 totalCount++; in TEST_F()
186 EXPECT_EQ(5, totalCount); in TEST_F()

12