Searched refs:newIds (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ |
D | CommunalBackupRestoreStartable.kt | 68 val newIds = intent.getIntArrayExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS) in onReceive() constant 70 if (oldIds == null || newIds == null || oldIds.size != newIds.size) { in onReceive() 76 val oldToNewWidgetIdMap = oldIds.zip(newIds).toMap() in onReceive()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 97 int[] newIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local 99 this.onRestored(context, oldIds, newIds); in onReceive() 100 this.onUpdate(context, AppWidgetManager.getInstance(context), newIds); in onReceive()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ |
D | CommunalBackupRestoreStartableTest.kt | 135 val newIds = intArrayOf(6, 7, 8, 9) in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid() constant 144 putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, newIds) in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/ |
D | ScreenshotShelfViewBinder.kt | 192 val newIds = visibleActions.map { it.id } in <lambda>() constant 195 if (child.tag !in newIds) { in <lambda>()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 863 IntArray newIds = new IntArray(1); in ensureGroupStateLoadedLocked() local 867 newIds.add(profileId); in ensureGroupStateLoadedLocked() 870 if (newIds.size() <= 0) { in ensureGroupStateLoadedLocked() 873 final int[] newProfileIds = newIds.toArray(); in ensureGroupStateLoadedLocked() 5599 int[] newIds = new int[pending]; in maybeSendWidgetRestoreBroadcastsLocked() local 5607 newIds[nextPending] = r.newId; in maybeSendWidgetRestoreBroadcastsLocked() 5616 provider, null, oldIds, newIds, userHandle); in maybeSendWidgetRestoreBroadcastsLocked() 5633 int[] newIds = new int[pending]; in maybeSendWidgetRestoreBroadcastsLocked() local 5641 newIds[nextPending] = r.newId; in maybeSendWidgetRestoreBroadcastsLocked() 5650 null, host, oldIds, newIds, userHandle); in maybeSendWidgetRestoreBroadcastsLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 5441 ArraySet<String> newIds, List<ShortcutInfo> deletedList, final ShortcutPackage ps) { 5446 if (CollectionUtils.isEmpty(changedIds) && CollectionUtils.isEmpty(newIds)) { 5454 if (!CollectionUtils.isEmpty(newIds)) { 5455 resultIds.addAll(newIds); 5473 ArraySet<String> newIds = new ArraySet<>(); 5474 addShortcutIdsToSet(newIds, newList); 5476 return prepareChangedShortcuts(changedIds, newIds, deletedList, ps);
|