Home
last modified time | relevance | path

Searched refs:canAccessComponent (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java137 if (pm.canAccessComponent(Binder.getCallingUid(), result.getSearchActivity(), in getSearchableInfo()
201 if (pm.canAccessComponent(Binder.getCallingUid(), result.getSearchActivity(), in getSearchableInfo()
516 if (pm.canAccessComponent(callingUid, info.getSearchActivity(), callingUserId)) { in createFilterdSearchableInfoList()
532 if (pm.canAccessComponent( in createFilterdResolveInfoList()
548 && pm.canAccessComponent(callingUid, mCurrentGlobalSearchActivity, callingUserId)) { in getGlobalSearchActivity()
562 && pm.canAccessComponent(callingUid, mWebSearchActivity, callingUserId)) { in getWebSearchActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java121 doReturn(true).when(mPackageManagerInternal).canAccessComponent(anyInt(), any(), anyInt()); in testSearchablesListReal()
139 doReturn(false).when(mPackageManagerInternal).canAccessComponent(anyInt(), any(), anyInt()); in testSearchablesListEmpty()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerInternalBase.java531 public final boolean canAccessComponent(int callingUid, @NonNull ComponentName component, in canAccessComponent() method in PackageManagerInternalBase
533 return snapshot().canAccessComponent(callingUid, component, userId); in canAccessComponent()
DComputer.java602 boolean canAccessComponent(int callingUid, @NonNull ComponentName component, in canAccessComponent() method
DComputerEngine.java5484 public boolean canAccessComponent(int callingUid, @NonNull ComponentName component, in canAccessComponent() method in ComputerEngine
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java669 public abstract boolean canAccessComponent(int callingUid, ComponentName component, int userId); in canAccessComponent() method in PackageManagerInternal
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12522 Landroid/content/pm/PackageManagerInternal;->canAccessComponent(ILandroid/content/ComponentName;I)Z