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()51 assertNotNull(mAppWidgetManager); in testBindAppWidget()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()72 assertTrue(containsWidgetProviderPkg(mAppWidgetManager.getInstalledProviders())); in testCrossProfileWidgetProviderRemoved()
68 private AppWidgetManager mAppWidgetManager; field in SimpleAppWidgetHostService146 mAppWidgetManager = (AppWidgetManager) getSystemService(Context.APPWIDGET_SERVICE); in setup()167 mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, mUserHandle, info.provider, null); in bindAppWidget()185 mAppWidgetManager.updateAppWidget(mAppWidgetId, mRemoteViews); in updateWidgetViaWidgetId()199 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in SimpleAppWidgetHost()208 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in onProvidersChanged()