Home
last modified time | relevance | path

Searched refs:oldInfo (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDynamicShortcuts.java161 for (ShortcutInfo oldInfo : shortcutManager.getDynamicShortcuts()) { in updateIcons()
162 newShortcuts.add(shortcutInfoFactory.withUpdatedIcon(oldInfo)); in updateIcons()
181 for (ShortcutInfo oldInfo : oldDynamicShortcuts) { in computeDelta()
183 DialerShortcut newShortcut = newDynamicShortcutsById.get(oldInfo.getId()); in computeDelta()
185 if (newShortcut.needsUpdate(oldInfo)) { in computeDelta()
187 delta.shortcutsToUpdateById.put(oldInfo.getId(), newShortcut); in computeDelta()
192 delta.shortcutIdsToRemove.add(oldInfo.getId()); in computeDelta()
231 for (ShortcutInfo oldInfo : shortcutInfos) { in containsShortcut()
232 if (oldInfo.getId().equals(shortcutId)) { in containsShortcut()
DDialerShortcut.java146 boolean needsUpdate(@NonNull ShortcutInfo oldInfo) { in needsUpdate() argument
147 if (this.getRank() != NO_RANK && oldInfo.getRank() != this.getRank()) { in needsUpdate()
150 if (!oldInfo.getShortLabel().equals(this.getShortLabel())) { in needsUpdate()
153 if (!oldInfo.getLongLabel().equals(this.getLongLabel())) { in needsUpdate()
/packages/services/Telephony/src/com/android/phone/settings/
DCallForwardInfoUtil.java60 public static boolean isUpdateRequired(CallForwardInfo oldInfo, CallForwardInfo newInfo) { in isUpdateRequired() argument
61 if (oldInfo == null) { in isUpdateRequired()
66 && oldInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS) { in isUpdateRequired()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageSummary.java151 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local
153 percentRemaining.setText(Utils.formatPercentage(oldInfo.batteryLevel)); in updateViews()
160 PowerUtil.convertUsToMs(oldInfo.remainingTimeUs)))); in updateViews()
167 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()
168 batteryView.setCharging(!oldInfo.discharging); in updateViews()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java166 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local
168 percentRemaining.setText(Utils.formatPercentage(oldInfo.batteryLevel)); in updateViews()
175 PowerUtil.convertUsToMs(oldInfo.remainingTimeUs)))); in updateViews()
182 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()
183 batteryView.setCharging(!oldInfo.discharging); in updateViews()
/packages/apps/Settings/src/com/android/settings/privacy/
DPermissionBarChartPreferenceController.java234 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups() local
236 if (!newInfo.getName().equals(oldInfo.getName()) || in areSamePermissionGroups()
237 newInfo.getAppAccessCount() != oldInfo.getAppAccessCount()) { in areSamePermissionGroups()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DPermissionBarChartPreferenceController.java240 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups() local
242 if (!newInfo.getName().equals(oldInfo.getName()) || in areSamePermissionGroups()
243 newInfo.getAppAccessCount() != oldInfo.getAppAccessCount()) { in areSamePermissionGroups()