/packages/modules/Connectivity/staticlibs/native/bpf_headers/ |
D | BpfMapTest.cpp | 175 int totalCount = 0; in TEST_F() local 177 const auto iterateWithDeletion = [&totalCount, &totalSum](const uint32_t& key, in TEST_F() 180 totalCount++; in TEST_F() 185 EXPECT_EQ((int)TEST_MAP_SIZE, totalCount); in TEST_F() 194 int totalCount = 0; in TEST_F() local 196 const auto iterateWithDeletion = [&totalCount, &totalSum](const uint32_t& key, in TEST_F() 201 totalCount++; in TEST_F() 206 EXPECT_EQ((int)TEST_MAP_SIZE, totalCount); in TEST_F()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlidingWindow.java | 82 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()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | NotificationImportExportListener.java | 101 int totalCount) { in onImportParsed() argument 106 final String totalCountString = String.valueOf(totalCount); in onImportParsed() 118 totalCount, currentCount); in onImportParsed() 205 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument 227 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification() 235 if (totalCount > 0) { in constructProgressNotification() 237 NumberFormat.getPercentInstance().format((double) currentCount / totalCount); in constructProgressNotification()
|
D | VCardImportExportListener.java | 27 int totalCount); in onImportParsed() argument
|
D | ExportProcessor.java | 268 private void doProgressNotification(Uri uri, int totalCount, int currentCount) { in doProgressNotification() argument 277 totalCount, currentCount); in doProgressNotification()
|
D | NfcImportVCardActivity.java | 239 int currentCount, int totalCount) { in onImportParsed() argument
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | EpgDataCleanupService.java | 125 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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowPage.java | 283 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()
|
D | AlbumSetDataLoader.java | 241 public int totalCount; field in AlbumSetDataLoader.UpdateInfo 303 mTotalCount[pos] = info.totalCount; in call() 374 info.totalCount = info.item.getTotalMediaItemCount(); in run()
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | ByteArrayParceledSlice.java | 65 int totalCount = 0; in getByteArray() local 67 totalCount += slices.get(i).length; in getByteArray() 69 byte[] result = new byte[totalCount]; in getByteArray()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 363 int totalCount = 0; in testPartialBucketCountMetric() 365 totalCount += bucket.getCount(); in testPartialBucketCountMetric() 367 assertThat(totalCount).isEqualTo(2); in testPartialBucketCountMetric() 502 long totalCount = data.getBucketInfoList().stream() local 505 assertThat(totalCount).isEqualTo(6); 512 totalCount = data.getBucketInfoList().stream() 515 assertThat(totalCount).isEqualTo(3);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkChangeContentProvider.java | 63 int totalCount = mSharedPreferences.getInt(NetworkChangeDetectionConfigs.PREFERENCE_KEY, in query() local 67 cursor.addRow(new Object[]{totalCount}); in query()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/mediacognitionservices/ |
D | MediaCognitionServiceTest.java | 126 int totalCount = 100; in testProcessMediaLargeData() local 127 for (int count = 1; count <= totalCount; count++) { in testProcessMediaLargeData() 153 assertEquals(count, totalCount); in testProcessMediaLargeData()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 223 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()
|
D | IngestActivity.java | 476 public void onImportProgress(final int visitedCount, final int totalCount, in onImportProgress() argument 480 mProgressState.max = totalCount; in onImportProgress()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | LocalPhotoSource.java | 135 private boolean isContentSound(int totalCount) { in isContentSound() argument 136 if (mPhotos.size() < Math.min(totalCount, MAX_PHOTO_COUNT)) return false; in isContentSound()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/ |
D | ManageMicPermissionsPreferenceControllerTest.java | 212 private void setAppsForUser(int grantedCount, int totalCount, in setAppsForUser() argument 227 permissionAllAppsCountCallback.getValue().onCountPermissionApps(totalCount); in setAppsForUser()
|
D | ManageCameraPermissionsPreferenceControllerTest.java | 212 private void setAppsForUser(int grantedCount, int totalCount, in setAppsForUser() argument 227 permissionAllAppsCountCallback.getValue().onCountPermissionApps(totalCount); in setAppsForUser()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 541 final int totalCount = intMapSize + longMapSize + stringMapSize + floatMapSize; in writeKeyValuePairs() local 543 if (totalCount > MAX_KEY_VALUE_PAIRS) { in writeKeyValuePairs() 547 mPos += mBuffer.putByte(mPos, (byte) totalCount); in writeKeyValuePairs()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | BpfNetworkStatsTest.cpp | 180 int totalCount = 0; in TEST_F() local 183 [&totalCount, &totalSum](const uint64_t& key, const BpfMap<uint64_t, UidTagValue>&) { in TEST_F() 185 totalCount++; in TEST_F() 190 EXPECT_EQ(5, totalCount); in TEST_F()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 197 int totalCount = 0; in getTypeFrequencies() local 201 totalCount++; in getTypeFrequencies() 209 typeCount.put(FREQUENCY_TOTAL, totalCount); in getTypeFrequencies() 1313 int totalCount = 0; in migrateGenericWithTypeColumn() local 1316 if (typeOverallMax != -1 && totalCount >= typeOverallMax) { in migrateGenericWithTypeColumn() 1353 totalCount++; in migrateGenericWithTypeColumn()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 640 int totalCount = 0; in getDeletedFileTotalCountBypassingDatabase() local 642 totalCount += mDeletedFileCountsBypassingDatabase[i]; in getDeletedFileTotalCountBypassingDatabase() 644 return totalCount; in getDeletedFileTotalCountBypassingDatabase()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | ImportTask.java | 45 void onImportProgress(int visitedCount, int totalCount, String pathIfSuccessful); in onImportProgress() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1726 for (int totalCount = repeats + 1; totalCount > 0;) { 1747 totalCount--;
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 2996 int totalCount, in verifyCustomAudienceStats() argument 3000 assertEquals(totalCount, customAudienceStats.getTotalCustomAudienceCount()); in verifyCustomAudienceStats()
|