Searched refs:mAppWidgetManager (Results 1 – 3 of 3) sorted by relevance
30 private AppWidgetManager mAppWidgetManager = null; field in AppWidgetManagerPermissionTest35 mAppWidgetManager = AppWidgetManager.getInstance(getContext()); in setUp()36 assertNotNull(mAppWidgetManager); in setUp()54 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(1, in testBindAppWidget()
44 private AppWidgetManager mAppWidgetManager; field in CrossProfileWidgetTest48 mAppWidgetManager = (AppWidgetManager) mContext.getSystemService(Context.APPWIDGET_SERVICE); in setUp()61 assertTrue(containsWidgetProviderPkg(mAppWidgetManager.getInstalledProviders())); in testCrossProfileWidgetProviderAdded()
65 private AppWidgetManager mAppWidgetManager; field in SimpleAppWidgetHostService143 mAppWidgetManager = (AppWidgetManager) getSystemService(Context.APPWIDGET_SERVICE); in setup()164 mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, mUserHandle, info.provider, null); in bindAppWidget()182 mAppWidgetManager.updateAppWidget(mAppWidgetId, mRemoteViews); in updateWidgetViaWidgetId()196 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in SimpleAppWidgetHost()205 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in onProvidersChanged()