Home
last modified time | relevance | path

Searched refs:appWidgetManager (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DCommunalWidgetHostTest.kt66 @Mock private lateinit var appWidgetManager: AppWidgetManager variable in com.android.systemui.communal.widgets.CommunalWidgetHostTest
83 appWidgetManager.bindAppWidgetIdIfAllowed( in setUp()
95 Optional.of(appWidgetManager), in setUp()
120 verify(appWidgetManager) in allocateIdAndBindWidget_withCurrentUser()
143 verify(appWidgetManager) in allocateIdAndBindWidget_onSuccess()
161 appWidgetManager.bindAppWidgetIdIfAllowed( in allocateIdAndBindWidget_onFailure()
172 verify(appWidgetManager) in allocateIdAndBindWidget_onFailure()
270 whenever(appWidgetManager.getAppWidgetInfo(1)).thenReturn(providerInfo1) in providerInfo_populatesWhenStartListening()
271 whenever(appWidgetManager.getAppWidgetInfo(2)).thenReturn(providerInfo2) in providerInfo_populatesWhenStartListening()
298 whenever(appWidgetManager.getAppWidgetInfo(1)).thenReturn(providerInfo1) in providerInfo_clearsWhenStopListening()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DAppWidgetOptionsHelper.java34 public static void setPeopleTileKey(AppWidgetManager appWidgetManager, int appWidgetId, in setPeopleTileKey() argument
36 Bundle options = appWidgetManager.getAppWidgetOptions(appWidgetId); in setPeopleTileKey()
40 appWidgetManager.updateAppWidgetOptions(appWidgetId, options); in setPeopleTileKey()
52 public static void removePeopleTileKey(AppWidgetManager appWidgetManager, in removePeopleTileKey() argument
54 setPeopleTileKey(appWidgetManager, appWidgetId, EMPTY_KEY); in removePeopleTileKey()
DPeopleSpaceWidgetProvider.java49 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
50 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
59 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged() argument
61 super.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged()
DPeopleSpaceWidgetManager.java269 AppWidgetManager appWidgetManager, IPeopleManager iPeopleManager, in PeopleSpaceWidgetManager() argument
276 mAppWidgetManager = appWidgetManager; in PeopleSpaceWidgetManager()
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsWidget.kt38 appWidgetManager: AppWidgetManager, in <lambda>()
42 updateAppWidget(context, appWidgetManager, appWidgetId) in <lambda>()
48 appWidgetManager: AppWidgetManager, in <lambda>()
53 updateAppWidget(context, appWidgetManager, appWidgetId) in <lambda>()
54 super.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions) in <lambda>()
156 appWidgetManager: AppWidgetManager, in updateAppWidget()
201 appWidgetManager.updateAppWidget(appWidgetId, RemoteViews(allSizes)) in updateAppWidget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalWidgetHost.kt51 private val appWidgetManager: Optional<AppWidgetManager>, in <lambda>() constant in com.android.systemui.communal.widgets.CommunalWidgetHost
112 if (appWidgetManager.isPresent) { in <lambda>()
120 return appWidgetManager in <lambda>()
129 return appWidgetManager.getOrNull()?.getAppWidgetInfo(widgetId) in <lambda>()
DCommunalWidgetModule.kt73 appWidgetManager: Optional<AppWidgetManager>, in provideCommunalWidgetHost()
80 appWidgetManager, in provideCommunalWidgetHost()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java125 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
144 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DTestAppWidgetProvider.java41 public void onUpdate(Context context, AppWidgetManager appWidgetManager, in onUpdate() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DPrefetchControllerTest.java378 final AppWidgetManager appWidgetManager = mock(AppWidgetManager.class); in testConstraintSatisfiedWhenWidget() local
379 when(mContext.getSystemService(AppWidgetManager.class)).thenReturn(appWidgetManager); in testConstraintSatisfiedWhenWidget()
382 when(appWidgetManager.isBoundWidgetPackage(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintSatisfiedWhenWidget()
390 when(appWidgetManager.isBoundWidgetPackage(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintSatisfiedWhenWidget()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java164 public void setAppWidgetManager(@NonNull AppWidgetManagerInternal appWidgetManager) { in setAppWidgetManager() argument
165 mAppWidgetService = appWidgetManager; in setAppWidgetManager()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java2806 public boolean isBoundWidgetPackage(AppWidgetManager appWidgetManager, String packageName, in isBoundWidgetPackage() argument
2808 return appWidgetManager.isBoundWidgetPackage(packageName, userId); in isBoundWidgetPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java367 public boolean isBoundWidgetPackage(AppWidgetManager appWidgetManager, String packageName, in isBoundWidgetPackage() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...