Home
last modified time | relevance | path

Searched refs:currentCount (Results 1 – 17 of 17) sorted by relevance

/aosp12/packages/services/Car/car-lib/src/android/car/hardware/power/
H A DCarPowerManager.java428 int currentCount = mInterestedComponentMap.get(key); in addPowerPolicyListener() local
429 if (currentCount == 0) { in addPowerPolicyListener()
433 mInterestedComponentMap.put(key, currentCount + 1); in addPowerPolicyListener()
465 int currentCount = mInterestedComponentMap.get(key); in removePowerPolicyListener() local
466 if (currentCount == 0 || currentCount == 1) { in removePowerPolicyListener()
470 mInterestedComponentMap.put(key, currentCount - 1); in removePowerPolicyListener()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DNotificationImportExportListener.java100 …c Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int currentCount, in onImportParsed() argument
109 String.valueOf(currentCount), in onImportParsed()
117 totalCount, currentCount); in onImportParsed()
204 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument
226 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification()
236 NumberFormat.getPercentInstance().format((double) currentCount / totalCount); in constructProgressNotification()
H A DVCardImportExportListener.java26 … Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int currentCount, in onImportParsed() argument
H A DExportProcessor.java262 private void doProgressNotification(Uri uri, int totalCount, int currentCount) { in doProgressNotification() argument
271 totalCount, currentCount); in doProgressNotification()
H A DNfcImportVCardActivity.java239 int currentCount, int totalCount) { in onImportParsed() argument
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
H A DAssistConfigBasePreferenceControllerTest.java145 int currentCount = mPreferenceController.getNumCallsToUpdateState(); in onChange_changeRegisteredSetting_callsRefreshUi() local
150 .isEqualTo(currentCount + 1); in onChange_changeRegisteredSetting_callsRefreshUi()
/aosp12/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageBackend.java594 Integer currentCount = sessionTaskCount.get(task.mSession); in initializeTaskDone() local
595 if (currentCount == null) { in initializeTaskDone()
598 sessionTaskCount.put(task.mSession, currentCount + 1); in initializeTaskDone()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/list/
H A DDvrHistoryRowAdapter.java339 int currentCount = headerRow.getItemCount(); in removeScheduleRow() local
340 headerRow.setItemCount(--currentCount); in removeScheduleRow()
H A DScheduleRowAdapter.java247 int currentCount = headerRow.getItemCount(); in removeScheduleRow() local
248 headerRow.setItemCount(--currentCount); in removeScheduleRow()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DMissedCallNotifierImpl.java314 Integer currentCount = mMissedCallCounts.get(userHandle); in showMissedCallNotification() local
315 missedCallCounts = currentCount == null ? 0 : currentCount; in showMissedCallNotification()
/aosp12/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java366 int currentCount = chooserCounts.getOrDefault(category, 0); in updateChooserCounts() local
367 chooserCounts.put(category, currentCount + 1); in updateChooserCounts()
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudiopolicymanager_tests.cpp99 size_t currentCount = mClient->getActivePatchesCount(); in deltaFromSnapshot() local
100 if (mInitialCount <= currentCount) { in deltaFromSnapshot()
101 return currentCount - mInitialCount; in deltaFromSnapshot()
103 return -(static_cast<int>(mInitialCount - currentCount)); in deltaFromSnapshot()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactModifier.java1345 final int currentCount = currentEntryCount.get(typeForNewAccount, 0); in migrateGenericWithTypeColumn() local
1346 if (currentCount >= specificMax) { in migrateGenericWithTypeColumn()
1349 currentEntryCount.put(typeForNewAccount, currentCount + 1); in migrateGenericWithTypeColumn()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMessageNotificationState.java654 final int currentCount = firstNames.containsKey(firstName) in scanFirstNames() local
657 firstNames.put(firstName, currentCount + 1); in scanFirstNames()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A DHWC2On1Adapter.cpp1265 auto currentCount = mHwc1RequestedContents ? in prepare() local
1269 requiredCount, currentCount, mHwc1RequestedContents.get()); in prepare()
1271 bool layerCountChanged = (currentCount != requiredCount); in prepare()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java2409 final int[] currentCount = {0}; in getDescendantTaskCount() local
2411 PooledLambda.__(Task.class), currentCount); in getDescendantTaskCount()
2414 return currentCount[0]; in getDescendantTaskCount()
/aosp12/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...