Home
last modified time | relevance | path

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

/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/
DCollectionAppWidgetProvider.java83 final int appWidgetId = appWidgetIds[0]; in onUpdate() local
88 stackIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in onUpdate()
116 listIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in onUpdate()
137 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
160 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
170 appWidgetManager.updateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
DStubbableAppWidgetProvider.java35 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument
38 callbacks.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged()
DAppWidgetProviderCallbacks.java40 AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions); in onAppWidgetOptionsChanged() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java158 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument
159 updateWidget(context, appWidgetId, appWidgetManager, newOptions); in onAppWidgetOptionsChanged()
233 private void updateWidget(Context context, int appWidgetId, AppWidgetManager appWidgetManager, in updateWidget() argument
237 newOptions = getAppWidgetOptions(appWidgetManager, appWidgetId); in updateWidget()
243 int state = sStateMap.get(appWidgetId); in updateWidget()
245 TextData text = getInstruction(state, newOptions, appWidgetId); in updateWidget()
258 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget()
261 rv.setRemoteAdapter(appWidgetId, R.id.list, intent); in updateWidget()
279 pass.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget()
286 fail.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget()
[all …]
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java190 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget() local
196 boolean widgetBound = getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testBindAppWidget()
207 appWidgetId, provider.getProfile(), provider.provider, null); in testBindAppWidget()
211 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
214 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
513 int appWidgetId = 0; in testGetAppWidgetInfo() local
517 appWidgetId = host.allocateAppWidgetId(); in testGetAppWidgetInfo()
521 .getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo()
528 getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testGetAppWidgetInfo()
532 foundProvider = getAppWidgetManager().getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo()
[all …]
DDarkTextThemeTest.java108 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
DWidgetTransitionTest.java115 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DWidgetConfigTestActivity.java51 final int appWidgetId = data.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onActivityResult() local
54 appWidgetId, 0, 0, null); in onActivityResult()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/
DPocActivity.java224 private RemoteViews callBinder(String callingPackage, int appWidgetId) { in callBinder() argument
234 data.writeInt(appWidgetId); in callBinder()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java1209 final int appWidgetId = appWidgetHost.allocateAppWidgetId(); in clickAllowBindWidget() local
1211 appWidgetIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in clickAllowBindWidget()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java708 final int appWidgetId = host.allocateAppWidgetId(); in testPackageNameCannotBeFakedAppWidget() local
715 appWidgetId, provider.getProfile(), provider.provider, null); in testPackageNameCannotBeFakedAppWidget()
740 host.deleteAppWidgetId(appWidgetId); in testPackageNameCannotBeFakedAppWidget()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt9622 field public static final String EXTRA_APPWIDGET_ID = "appWidgetId";