Home
last modified time | relevance | path

Searched refs:uidPackages (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java231 String[] uidPackages = new String[]{targetPackage}; in computeValidReportedPackages() local
237 final String[] validPackages = new String[uidPackages.length in computeValidReportedPackages()
239 System.arraycopy(uidPackages, 0, validPackages, 0, uidPackages.length); in computeValidReportedPackages()
242 validPackages[uidPackages.length + i] = widgetPackages.valueAt(i); in computeValidReportedPackages()
247 return uidPackages; in computeValidReportedPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java248 final String[] uidPackages = {PACKAGE_NAME, PACKAGE_NAME2}; in resolveValidReportedPackage_pkgNameIsInvalid_returnFirstCorrectPkgName() local
250 .thenReturn(uidPackages); in resolveValidReportedPackage_pkgNameIsInvalid_returnFirstCorrectPkgName()
268 final String[] uidPackages = {PACKAGE_NAME}; in resolveValidReportedPackage_anotherPkgNameWithActAsPkgPermission_returnPkg() local
270 .thenReturn(uidPackages); in resolveValidReportedPackage_anotherPkgNameWithActAsPkgPermission_returnPkg()
288 final String[] uidPackages = {PACKAGE_NAME}; in resolveValidReportedPackage_anotherPkgNameWithoutActAsPkgPermission_returnUidPkg() local
290 .thenReturn(uidPackages); in resolveValidReportedPackage_anotherPkgNameWithoutActAsPkgPermission_returnUidPkg()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3809 final String[] uidPackages = mPackageManager.getPackagesForUid(callingUid); in isCallerInstantAppLocked() local
3810 if (!ArrayUtils.isEmpty(uidPackages)) { in isCallerInstantAppLocked()
3811 return mPackageManager.isInstantApp(uidPackages[0], in isCallerInstantAppLocked()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2854 String[] uidPackages = pm.getPackagesForUid(Binder.getCallingUid()); in isSetWallpaperAllowed() local
2855 boolean uidMatchPackage = Arrays.asList(uidPackages).contains(callingPackage); in isSetWallpaperAllowed()