Home
last modified time | relevance | path

Searched refs:canQueryPackage (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterSnapshot.java75 boolean canQueryPackage(@NonNull AndroidPackage querying, String potentialTarget); in canQueryPackage() method
DPackageManagerInternalBase.java157 public final boolean canQueryPackage(int callingUid, @Nullable String packageName) { in canQueryPackage() method in PackageManagerInternalBase
158 return snapshot().canQueryPackage(callingUid, packageName); in canQueryPackage()
DAppsFilterBase.java683 public boolean canQueryPackage(@NonNull AndroidPackage querying, String potentialTarget) { in canQueryPackage() method in AppsFilterBase
DComputer.java597 boolean canQueryPackage(int callingUid, @Nullable String targetPackageName); in canQueryPackage() method
DPackageInstallerService.java1308 && !snapshot.canQueryPackage(uid, info.getAppPackageName());
1855 && !snapshot.canQueryPackage(uid, session.getPackageName());
DComputerEngine.java5428 public boolean canQueryPackage(int callingUid, @Nullable String targetPackageName) { in canQueryPackage() method in ComputerEngine
5457 return pkg != null && mAppsFilter.canQueryPackage(pkg, targetPackageName); in canQueryPackage()
5464 if (pkg != null && mAppsFilter.canQueryPackage(pkg, targetPackageName)) { in canQueryPackage()
DLauncherAppsService.java421 && !mPackageManagerInternal.canQueryPackage(uid, session.getAppPackageName()); in shouldFilterSession()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java244 || !mPackageManagerInternal.canQueryPackage( in isHibernatingForUser()
268 || !mPackageManagerInternal.canQueryPackage( in isHibernatingGlobally()
301 || !mPackageManagerInternal.canQueryPackage( in setHibernatingForUser()
353 || !mPackageManagerInternal.canQueryPackage( in setHibernatingGlobally()
394 if (!mPackageManagerInternal.canQueryPackage( in getHibernatingPackagesForUser()
431 if (!mPackageManagerInternal.canQueryPackage(Binder.getCallingUid(), pkgName)) { in getHibernationStatsForUser()
/frameworks/base/services/java/com/android/server/
DSystemConfigService.java121 pmi.canQueryPackage(Binder.getCallingUid(), preventUserDisablePackage))
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DAppHibernationServiceTest.java142 doReturn(true).when(mPackageManagerInternal).canQueryPackage(anyInt(), any()); in setUp()
258 doReturn(false).when(mPackageManagerInternal).canQueryPackage(anyInt(), eq(PACKAGE_NAME_2)); in testGetHibernatingPackagesForUser_doesNotReturnPackagesThatArentVisible()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java862 public abstract boolean canQueryPackage(int callingUid, @Nullable String packageName); in canQueryPackage() method in PackageManagerInternal
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DAppsFilterImplTest.java1385 assertTrue(snapshot.canQueryPackage(instrumentation.getPkg(), in testAppsFilterRead()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2353 || mPackageManagerInternal.canQueryPackage( in getWallpaperInfoWithFlags()
/frameworks/base/services/
Dart-profile2279 HSPLcom/android/server/pm/ComputerEngine;->canQueryPackage(ILjava/lang/String;)Z+]Landroid/util/Arr…
2451 HPLcom/android/server/pm/PackageManagerInternalBase;->canQueryPackage(ILjava/lang/String;)Z+]Lcom/a…
Dart-wear-profile17875 HPLcom/android/server/pm/ComputerEngine;->canQueryPackage(ILjava/lang/String;)Z
18467 HPLcom/android/server/pm/PackageManagerInternalBase;->canQueryPackage(ILjava/lang/String;)Z