Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/power/
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()
/packages/apps/Contacts/src/com/android/contacts/vcard/
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()
DExportProcessor.java262 private void doProgressNotification(Uri uri, int totalCount, int currentCount) { in doProgressNotification() argument
271 totalCount, currentCount); in doProgressNotification()
DVCardImportExportListener.java26 … Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int currentCount, in onImportParsed() argument
DNfcImportVCardActivity.java239 int currentCount, int totalCount) { in onImportParsed() argument
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java164 int currentCount = mController.getNumCallsToUpdateState(); in onChange_changeRegisteredSetting_callsRefreshUi() local
171 assertThat(mController.getNumCallsToUpdateState()).isEqualTo(currentCount + 1); in onChange_changeRegisteredSetting_callsRefreshUi()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
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()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java314 Integer currentCount = mMissedCallCounts.get(userHandle); in showMissedCallNotification() local
315 missedCallCounts = currentCount == null ? 0 : currentCount; in showMissedCallNotification()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrHistoryRowAdapter.java339 int currentCount = headerRow.getItemCount(); in removeScheduleRow() local
340 headerRow.setItemCount(--currentCount); in removeScheduleRow()
DScheduleRowAdapter.java247 int currentCount = headerRow.getItemCount(); in removeScheduleRow() local
248 headerRow.setItemCount(--currentCount); in removeScheduleRow()
/packages/apps/Contacts/src/com/android/contacts/model/
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()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java654 final int currentCount = firstNames.containsKey(firstName) in scanFirstNames() local
657 firstNames.put(firstName, currentCount + 1); in scanFirstNames()