/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | CollectionAppWidgetProvider.java | 83 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()
|
D | StubbableAppWidgetProvider.java | 35 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument 38 callbacks.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged()
|
D | AppWidgetProviderCallbacks.java | 40 AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions); in onAppWidgetOptionsChanged() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 158 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/ |
D | AppWidgetTest.java | 190 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 …]
|
D | DarkTextThemeTest.java | 108 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
|
D | WidgetTransitionTest.java | 115 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | WidgetConfigTestActivity.java | 51 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/ |
D | PocActivity.java | 224 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/ |
D | BackgroundActivityLaunchTest.java | 1209 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/ |
D | AccessibilityEndToEndTest.java | 708 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/ |
D | current.txt | 9622 field public static final String EXTRA_APPWIDGET_ID = "appWidgetId";
|