Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DAtomsPulledTestInfo.java30 private int mCount; field in AtomsPulledTestInfo
38 mCount = count; in AtomsPulledTestInfo()
48 mCount = info.mCount; in AtomsPulledTestInfo()
59 builder.writeInt(mCount); // atom #2 in build()
84 this.mCount += atomsPulledTestInfo.getCount(); in accumulate()
96 return mCount; in getCount()
100 mCount = count; in setCount()
105 return "AtomsPulledTestInfo{" + "mType=" + mType + ", mCount=" + mCount + '}'; in toString()
113 return mType == that.mType && mCount == that.mCount; in equals()
118 return Objects.hash(mType, mCount); in hashCode()
DAtomsSerializablePulledTestInfo.java33 private int mCount; field in AtomsSerializablePulledTestInfo
44 mCount = count; in AtomsSerializablePulledTestInfo()
54 mCount = info.mCount; in AtomsSerializablePulledTestInfo()
65 builder.writeInt(mCount); // atom #2 in build()
91 this.mCount += atomsSerializablePulledTestInfo.getCount(); in accumulate()
104 return mCount; in getCount()
108 mCount = count; in setCount()
125 + mCount in toString()
136 return mType == that.mType && mCount == that.mCount && mTransient == that.mTransient; in equals()
141 return Objects.hash(mType, mCount, mTransient); in hashCode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DThreadUnsafeByteArrayOutputStream.java29 private int mCount; field in ThreadUnsafeByteArrayOutputStream
33 this.mCount = 0; in ThreadUnsafeByteArrayOutputStream()
38 this.mCount = 0; in ThreadUnsafeByteArrayOutputStream()
43 return Arrays.copyOfRange(mBuffer, 0, mCount); in getBytes()
55 return mCount; in getCount()
60 ensureCapacity(mCount + bytes.length); in writeBytes()
61 System.arraycopy(bytes, 0, mBuffer, mCount, bytes.length); in writeBytes()
62 mCount += bytes.length; in writeBytes()
67 ensureCapacity(mCount + 1); in write()
68 mBuffer[mCount] = (byte) b; in write()
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java45 public final int mCount; field in SmsReleaseStorage.Duration
50 mCount = count; in Duration()
96 R.plurals.week_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
99 R.plurals.month_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
102 R.plurals.year_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
122 return duration.mCount * WEEK_IN_MILLIS; in durationToTimeInMillis()
124 return duration.mCount * MONTH_IN_MILLIS; in durationToTimeInMillis()
126 return duration.mCount * YEAR_IN_MILLIS; in durationToTimeInMillis()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java38 private Integer mCount; field in EnterpriseSetDefaultAppsPreferenceController
56 if (mCount == null) { in getDefaultAvailabilityStatus()
57 mCount = getNumberOfEnterpriseSetDefaultApps(); in getDefaultAvailabilityStatus()
58 mLogger.d("Number of apps: " + mCount); in getDefaultAvailabilityStatus()
61 return mCount > 0 ? AVAILABLE : DISABLED_FOR_PROFILE; in getDefaultAvailabilityStatus()
67 R.plurals.enterprise_privacy_number_packages, mCount, mCount)); in updateState()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMissingCounterTimerLockList.java123 private int mCount; field in MissingCounterTimerLockList.LockListEntry
126 mCount = mConsecutiveMissingCountToTriggerTimer; in LockListEntry()
137 mCount = mConsecutiveMissingCountToTriggerTimer; in onPresent()
142 if (mCount == 0) { in onAbsent()
146 mCount--; in onAbsent()
147 if (mCount > 0) { in onAbsent()
158 boolean absentForLongEnough = mCount == 0 && mStartTimeStamp + mExpiryMs in isExpired()
/packages/apps/Camera2/src/com/android/camera/async/
DCountableBufferQueue.java47 private int mCount; field in CountableBufferQueue
59 mCount = 0; in CountableBufferQueue()
75 mCount--; in decrementSize()
76 count = mCount; in decrementSize()
116 preCount = mCount; in update()
117 mCount++; in update()
119 postCount = mCount; in update()
/packages/apps/Contacts/src/com/android/contacts/list/
DGroupMemberPickerFragment.java73 private int mCount = 0; field in GroupMemberPickerFragment.FilterCursorWrapper
79 mCount = super.getCount(); in FilterCursorWrapper()
80 mIndex = new int[mCount]; in FilterCursorWrapper()
85 Log.v(TAG, "RawContacts CursorWrapper start: " + mCount); in FilterCursorWrapper()
95 for (int i = 0; i < mCount; i++) { in FilterCursorWrapper()
105 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()
109 mCount = mPos; in FilterCursorWrapper()
114 Log.v(TAG, "RawContacts CursorWrapper end: " + mCount); in FilterCursorWrapper()
140 return moveToPosition(mCount - 1); in moveToLast()
145 if (position >= mCount) { in moveToPosition()
[all …]
DContactsSectionIndexer.java34 private int mCount; field in ContactsSectionIndexer
68 mCount = position; in ContactsSectionIndexer()
88 if (position < 0 || position >= mCount) { in getSectionForPosition()
125 mCount = mCount + numberOfItemsToAdd; in setFavoritesHeader()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
76 long cur = mCount; in skipTo()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
78 long cur = mCount; in skipTo()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
76 long cur = mCount; in skipTo()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DStepsRecord.java42 private final long mCount; field in StepsRecord.Builder
62 mCount = count; in Builder()
111 mCount, in buildWithoutValidation()
126 mCount, in build()
143 private final long mCount; field in StepsRecord
164 mCount = count; in StepsRecord()
171 return mCount; in getCount()
217 recordInternal.setCount((int) mCount); in toRecordInternal()
DWheelchairPushesRecord.java40 private final long mCount; field in WheelchairPushesRecord
87 mCount = count; in WheelchairPushesRecord()
94 return mCount; in getCount()
126 private final long mCount; field in WheelchairPushesRecord.Builder
145 mCount = count; in Builder()
194 mCount, in buildWithoutValidation()
209 mCount, in build()
234 recordInternal.setCount((int) mCount); in toRecordInternal()
/packages/modules/Bluetooth/system/test/suite/adapter/
Dbluetooth_test.h40 ++mCount; in post()
46 while (!mCount) { in wait()
49 --mCount; in wait()
54 if (mCount) { in try_wait()
55 --mCount; in try_wait()
64 unsigned long mCount = 0; variable
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DWheelchairPushesRecordInternal.java31 private int mCount; field in WheelchairPushesRecordInternal
34 return mCount; in getCount()
40 this.mCount = count; in setCount()
56 mCount = parcel.readInt(); in populateIntervalRecordFrom()
61 parcel.writeInt(mCount); in populateIntervalRecordTo()
DStepsRecordInternal.java32 private int mCount = DEFAULT_INT; field in StepsRecordInternal
35 return mCount; in getCount()
41 this.mCount = count; in setCount()
56 mCount = parcel.readInt(); in populateIntervalRecordFrom()
61 parcel.writeInt(mCount); in populateIntervalRecordTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DProbabilityInfo.java32 public final int mCount; field in ProbabilityInfo
56 mCount = count; in ProbabilityInfo()
66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
85 && mCount == p.mCount; in equals()
/packages/modules/Bluetooth/system/osi/test/fuzzers/alarm/
Dfuzz_alarm.cc34 ++mCount; in post()
40 while (!mCount) { in wait()
43 --mCount; in wait()
48 if (mCount) { in try_wait()
49 --mCount; in try_wait()
58 unsigned long mCount = 0; member in btsemaphore
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dhistorical_info.h28 : mTimestamp(NOT_A_TIMESTAMP), mLevel(0), mCount(0) {} in HistoricalInfo()
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {} in HistoricalInfo()
47 return mCount; in getCount()
56 const int mCount; variable
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DAvailableTicketCounter.java43 private final ConcurrentState<Integer> mCount; field in AvailableTicketCounter
48 mCount = new ConcurrentState<>(0); in AvailableTicketCounter()
73 int value = mCount.get(); in get()
90 mCount.update(value); in freeze()
105 mCount.update(newValue); in unfreeze()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java85 private int mCount; // number of items in this cache field in NinePatchTexture.SmallCache
90 if (mCount == CACHE_SIZE) { in put()
96 mKey[mCount] = key; in put()
97 mValue[mCount] = value; in put()
98 mCount++; in put()
104 for (int i = 0; i < mCount; i++) { in get()
109 if (mCount > CACHE_SIZE_START_MOVE && i > 0) { in get()
125 for (int i = 0; i < mCount; i++) { in clear()
128 mCount = 0; in clear()
132 return mCount; in size()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java56 sLocks.get(mCanonicalPath).mCount++; in ClipStorageReader()
77 assert(ref.mCount > 0); in close()
78 if (--ref.mCount == 0) { in close()
117 private int mCount; field in ClipStorageReader.FileLockEntry
120 mCount = count; in FileLockEntry()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java38 private int mCount; field in FilteringCursorWrapper
42 mCount = cursor.getCount(); in FilteringCursorWrapper()
43 mPositions = new int[mCount]; in FilteringCursorWrapper()
44 for (int i = 0; i < mCount; i++) { in FilteringCursorWrapper()
113 return mCount; in getCount()
185 mCount = newCount; in filterByCondition()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java100 private int mCount = 0; in setup()
115 if (mCount >= MAX_NUM_SWIPES_TO_TRIGGER_EDU) { in setup()
119 mCount = 0; in setup()
125 mCount++; in setup()
127 mCount = 0; in setup()

123