Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
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()
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()
/frameworks/libs/net/common/native/bpf_headers/
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()
/frameworks/av/media/libnblog/include/media/nblog/
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()
/frameworks/av/media/libstagefright/rtsp/
DAHEVCAssembler.cpp459 size_t totalCount = 1; in addFragmentedNALUnit() local
475 ALOGV("sequence length %zu", totalCount); in addFragmentedNALUnit()
507 ++totalCount; in addFragmentedNALUnit()
542 for (size_t i = 0; i < totalCount; ++i) { in addFragmentedNALUnit()
545 ALOGV("piece #%zu/%zu", i + 1, totalCount); in addFragmentedNALUnit()
DAAVCAssembler.cpp446 size_t totalCount = 1; in addFragmentedNALUnit() local
462 ALOGV("sequence length %zu", totalCount); in addFragmentedNALUnit()
494 ++totalCount; in addFragmentedNALUnit()
529 for (size_t i = 0; i < totalCount; ++i) { in addFragmentedNALUnit()
532 ALOGV("piece #%zu/%zu", i + 1, totalCount); in addFragmentedNALUnit()
/frameworks/base/tools/aapt/
DAaptAssets.cpp970 int totalCount = 0; in slurpFromArgs() local
986 totalCount++; in slurpFromArgs()
1011 totalCount = count; in slurpFromArgs()
1017 totalCount += count; in slurpFromArgs()
1049 totalCount = count; in slurpFromArgs()
1052 totalCount += count; in slurpFromArgs()
1090 totalCount = count; in slurpFromArgs()
1093 totalCount += count; in slurpFromArgs()
1102 totalCount = count; in slurpFromArgs()
1108 totalCount = count; in slurpFromArgs()
[all …]
/frameworks/av/media/libnblog/
DReportPerformance.cpp174 if (workHist.totalCount() > 0) { in sendToMediaMetrics()
179 if (latencyHist.totalCount() > 0) { in sendToMediaMetrics()
184 if (warmupHist.totalCount() > 0) { in sendToMediaMetrics()
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()
/frameworks/native/vulkan/libvulkan/
Dapi.cpp1355 uint32_t totalCount = properties.size(); in EnumerateInstanceExtensionProperties() local
1356 if (!pProperties || *pPropertyCount > totalCount) { in EnumerateInstanceExtensionProperties()
1357 *pPropertyCount = totalCount; in EnumerateInstanceExtensionProperties()
1363 return *pPropertyCount < totalCount ? VK_INCOMPLETE : VK_SUCCESS; in EnumerateInstanceExtensionProperties()
1457 uint32_t totalCount = properties.size(); in EnumerateDeviceExtensionProperties() local
1458 if (!pProperties || *pPropertyCount > totalCount) { in EnumerateDeviceExtensionProperties()
1459 *pPropertyCount = totalCount; in EnumerateDeviceExtensionProperties()
1465 return *pPropertyCount < totalCount ? VK_INCOMPLETE : VK_SUCCESS; in EnumerateDeviceExtensionProperties()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DRunLocalBenchmarksActivity.java108 int totalCount = 0; field in RunLocalBenchmarksActivity.LocalBenchmark
114 this.totalCount = runCount; in LocalBenchmark()
279 if (benchmark.runCount < benchmark.totalCount) { in runNextBenchmark()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DAddPrinterActivity.java316 int totalCount = 0; in getCount() local
320 totalCount += mAdapters.get(i).getCount(); in getCount()
323 return totalCount; in getCount()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java89 public void onDroppedIncomingMultipartSms(boolean is3gpp2, int receivedCount, int totalCount) { in onDroppedIncomingMultipartSms() argument
96 proto.totalParts = totalCount; in onDroppedIncomingMultipartSms()
DTelephonyMetrics.java2398 int receivedCount, int totalCount) { in writeDroppedIncomingMultipartSms() argument
2400 + " out of " + totalCount); in writeDroppedIncomingMultipartSms()
2404 details.totalParts = totalCount; in writeDroppedIncomingMultipartSms()