Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java281 final ArraySet<String> widgetPackages = mAppWidgetService in computeValidReportedPackages() local
283 if (widgetPackages != null && !widgetPackages.isEmpty()) { in computeValidReportedPackages()
285 + widgetPackages.size()]; in computeValidReportedPackages()
287 final int widgetPackageCount = widgetPackages.size(); in computeValidReportedPackages()
289 validPackages[uidPackages.length + i] = widgetPackages.valueAt(i); in computeValidReportedPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java259 final ArraySet<String> widgetPackages = new ArraySet<>(); in resolveValidReportedPackage_uidIsWidgetHost_pkgNameIsAppWidget_returnPkgName() local
260 widgetPackages.add(widgetPackageName); in resolveValidReportedPackage_uidIsWidgetHost_pkgNameIsAppWidget_returnPkgName()
263 .thenReturn(widgetPackages); in resolveValidReportedPackage_uidIsWidgetHost_pkgNameIsAppWidget_returnPkgName()
346 final ArraySet<String> widgetPackages = new ArraySet<>(); in computeValidReportedPackages_uidIsAppWidgetHost_returnTargetAndWidgetName() local
347 widgetPackages.add(widgetPackageName); in computeValidReportedPackages_uidIsAppWidgetHost_returnTargetAndWidgetName()
349 .thenReturn(widgetPackages); in computeValidReportedPackages_uidIsAppWidgetHost_returnTargetAndWidgetName()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java5869 ArraySet<String> widgetPackages = null; in getHostedWidgetPackages() local
5874 if (widgetPackages == null) { in getHostedWidgetPackages()
5875 widgetPackages = new ArraySet<>(); in getHostedWidgetPackages()
5877 widgetPackages.add(widget.provider.id.componentName.getPackageName()); in getHostedWidgetPackages()
5880 return widgetPackages; in getHostedWidgetPackages()