Home
last modified time | relevance | path

Searched refs:mAppWidgetManager (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetTest.java44 private AppWidgetManager mAppWidgetManager; field in CrossProfileWidgetTest
48 mAppWidgetManager = (AppWidgetManager) mContext.getSystemService(Context.APPWIDGET_SERVICE); in setUp()
61 assertTrue(containsWidgetProviderPkg(mAppWidgetManager.getInstalledProviders())); in testCrossProfileWidgetProviderAdded()
72 assertTrue(containsWidgetProviderPkg(mAppWidgetManager.getInstalledProviders())); in testCrossProfileWidgetProviderRemoved()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java68 private AppWidgetManager mAppWidgetManager; field in SimpleAppWidgetHostService
146 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()