Home
last modified time | relevance | path

Searched refs:oldIds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalBackupRestoreStartable.kt67 val oldIds = intent.getIntArrayExtra(AppWidgetManager.EXTRA_APPWIDGET_OLD_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/
DAppWidgetProvider.java96 int[] oldIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS); in onReceive() local
98 if (oldIds != null && oldIds.length > 0) { in onReceive()
99 this.onRestored(context, oldIds, newIds); in onReceive()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalBackupRestoreStartableTest.kt134 val oldIds = intArrayOf(1, 2, 3) in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid() constant
143 putExtra(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS, oldIds) in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java5598 int[] oldIds = new int[pending]; in maybeSendWidgetRestoreBroadcastsLocked() local
5606 oldIds[nextPending] = r.oldId; in maybeSendWidgetRestoreBroadcastsLocked()
5616 provider, null, oldIds, newIds, userHandle); in maybeSendWidgetRestoreBroadcastsLocked()
5632 int[] oldIds = new int[pending]; in maybeSendWidgetRestoreBroadcastsLocked() local
5640 oldIds[nextPending] = r.oldId; in maybeSendWidgetRestoreBroadcastsLocked()
5650 null, host, oldIds, newIds, userHandle); in maybeSendWidgetRestoreBroadcastsLocked()
5765 Host host, int[] oldIds, int[] newIds, UserHandle userHandle) { in sendWidgetRestoreBroadcastLocked() argument
5769 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS, oldIds); in sendWidgetRestoreBroadcastLocked()