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()
51 assertNotNull(mAppWidgetManager); in testBindAppWidget()
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()
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()