Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DAppWidgetManagerPermissionTest.java30 private AppWidgetManager mAppWidgetManager = null; field in AppWidgetManagerPermissionTest
35 mAppWidgetManager = AppWidgetManager.getInstance(getContext()); in setUp()
36 assertNotNull(mAppWidgetManager); in setUp()
54 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(1, in testBindAppWidget()
/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()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java65 private AppWidgetManager mAppWidgetManager; field in SimpleAppWidgetHostService
143 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()