Home
last modified time | relevance | path

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

/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content_global_counters.h33 mTotalCount(readValue(mBuffer, TOTAL_COUNT_INDEX)), in LanguageModelDictContentGlobalCounters()
37 : mBuffer(0 /* maxAdditionalBufferSize */), mTotalCount(0), mMaxValueOfCounters(0) {} in LanguageModelDictContentGlobalCounters()
41 || mTotalCount >= TOTAL_COUNT_VALUE_NEAR_LIMIT_THRESHOLD; in needsToHalveCounters()
45 return mTotalCount; in getTotalCount()
51 if (!bufferToWrite.writeUint(mTotalCount, COUNTER_SIZE_IN_BYTES, in save()
63 mTotalCount += 1; in incrementTotalCount()
67 mTotalCount += count; in addToTotalCount()
76 mTotalCount /= 2; in halveCounters()
89 int mTotalCount; variable
/aosp12/frameworks/av/services/camera/libcameraservice/utils/
H A DLatencyHistogram.cpp30 mTotalCount(0) { in CameraLatencyHistogram()
45 mTotalCount++; in add()
50 mTotalCount = 0; in reset()
54 if (mTotalCount == 0) { in dump()
59 lines.appendFormat("%s (%" PRId64 ") samples\n", name, mTotalCount); in dump()
73 if (mTotalCount == 0) { in log()
80 ALOGI("%s (%" PRId64 ") samples:", histogramName.string(), mTotalCount); in log()
101 lineBinCounts.appendFormat(" %02.2f", 100.0*mBins[i]/mTotalCount); in formatHistogramText()
H A DLatencyHistogram.h41 uint64_t mTotalCount; variable
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dot/
H A DDotInfo.java44 private int mTotalCount; field in DotInfo
58 mTotalCount -= prevKey.count; in addOrUpdateNotificationKey()
59 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
65 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
76 mTotalCount -= notificationKey.count; in removeNotificationKey()
86 return Math.min(mTotalCount, MAX_COUNT); in getNotificationCount()
92 return Integer.toString(mTotalCount); in toString()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
H A DAudioTrackMonitor.java41 private long mTotalCount; field in AudioTrackMonitor
61 mTotalCount = 0; in reset()
80 mTotalCount++; in addPts()
85 if (mTotalCount == 1) { in addPts()
109 long sampleDuration = (mTotalCount - 1) * unitDuration / 1000; in maybeLog()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetDataLoader.java55 private final int[] mTotalCount; field in AlbumSetDataLoader
81 mTotalCount = new int[cacheSize]; in AlbumSetDataLoader()
136 return mTotalCount[index % mTotalCount.length]; in getTotalCount()
167 mTotalCount[slotIndex] = 0; in clearSlot()
303 mTotalCount[pos] = info.totalCount; in call()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DBackgroundJobsController.java189 mUpdateJobFunctor.mTotalCount, in updateJobRestrictionsLocked()
226 int mTotalCount = 0; field in BackgroundJobsController.UpdateJobFunctor
234 mTotalCount = 0; in prepare()
240 mTotalCount++; in accept()
/aosp12/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamTransferManager.java131 int mTotalCount; field in BeamTransferManager
157 mTotalCount = (pendingTransfer.uris != null) ? pendingTransfer.uris.length : 0; in BeamTransferManager()
252 if (mCurrentCount == mTotalCount) { in finishTransfer()
274 mTotalCount = objectCount; in setObjectCount()
326 if (mTotalCount > 0) { in updateNotification()
327 float progressUnit = 1.0f / mTotalCount; in updateNotification()
330 if (mTotalCount > 0 && progress > 0) { in updateNotification()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DImportProcessor.java66 private int mTotalCount = 0; field in ImportProcessor
93 entry, mCurrentCount, mTotalCount); in onEntryCreated()
151 mTotalCount += entryCount; in runInternal()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DAssociationState.java52 private int mTotalCount; field in AssociationState
621 mTotalCount++; in startSource()
629 mTotalCount += other.mTotalCount; in add()
687 mTotalCount = mTotalActiveCount = 0; in resetSafely()
698 mTotalCount = 1; in resetSafely()
711 out.writeInt(mTotalCount); in writeToParcel()
730 mTotalCount = in.readInt(); in readFromParcel()
873 if (totalDuration > 0 || mTotalCount != 0) { in dumpStats()
876 pw.print(mTotalCount); in dumpStats()
1131 proto.write(PackageAssociationProcessStatsProto.TOTAL_COUNT, mTotalCount); in dumpDebug()
/aosp12/frameworks/av/media/libnblog/
H A DPerformanceAnalysis.cpp64 mTotalCount++; in add()
70 mTotalCount = 0; in clear()
75 return mTotalCount; in totalCount()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlidingWindow.java482 private final int mTotalCount; field in AlbumSetSlidingWindow.AlbumLabelLoader
489 mTotalCount = totalCount; in AlbumLabelLoader()
496 mTitle, String.valueOf(mTotalCount), mSourceType), l); in submitBitmapTask()
/aosp12/frameworks/av/media/libnblog/include/media/nblog/
H A DPerformanceAnalysis.h133 uint64_t mTotalCount = 0; // Total number of values recorded variable