/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/ |
D | AtomsPulledTestInfo.java | 30 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()
|
D | AtomsSerializablePulledTestInfo.java | 33 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/ |
D | ThreadUnsafeByteArrayOutputStream.java | 29 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/ |
D | SmsReleaseStorage.java | 45 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/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 38 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/ |
D | MissingCounterTimerLockList.java | 123 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/ |
D | CountableBufferQueue.java | 47 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/ |
D | GroupMemberPickerFragment.java | 73 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 …]
|
D | ContactsSectionIndexer.java | 34 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | StepsRecord.java | 42 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()
|
D | WheelchairPushesRecord.java | 40 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/ |
D | bluetooth_test.h | 40 ++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/ |
D | WheelchairPushesRecordInternal.java | 31 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()
|
D | StepsRecordInternal.java | 32 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/ |
D | ProbabilityInfo.java | 32 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/ |
D | fuzz_alarm.cc | 34 ++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/ |
D | historical_info.h | 28 : 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/ |
D | AvailableTicketCounter.java | 43 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/ |
D | NinePatchTexture.java | 85 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/ |
D | ClipStorageReader.java | 56 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/ |
D | FilteringCursorWrapper.java | 38 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/ |
D | QuickstepOnboardingPrefs.java | 100 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()
|