Home
last modified time | relevance | path

Searched refs:callingAppId (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterLocked.java62 protected boolean isQueryableViaPackage(int callingAppId, int targetAppId) { in isQueryableViaPackage() argument
64 return super.isQueryableViaPackage(callingAppId, targetAppId); in isQueryableViaPackage()
69 protected boolean isQueryableViaComponent(int callingAppId, int targetAppId) { in isQueryableViaComponent() argument
71 return super.isQueryableViaComponent(callingAppId, targetAppId); in isQueryableViaComponent()
90 protected boolean isQueryableViaUsesLibrary(int callingAppId, int targetAppId) { in isQueryableViaUsesLibrary() argument
92 return super.isQueryableViaUsesLibrary(callingAppId, targetAppId); in isQueryableViaUsesLibrary()
97 protected boolean isQueryableViaUsesPermission(int callingAppId, int targetAppId) { in isQueryableViaUsesPermission() argument
99 return super.isQueryableViaUsesPermission(callingAppId, targetAppId); in isQueryableViaUsesPermission()
DAppsFilterBase.java207 protected boolean isForceQueryable(int callingAppId) { in isForceQueryable() argument
208 return mForceQueryable.contains(callingAppId); in isForceQueryable()
211 protected boolean isQueryableViaPackage(int callingAppId, int targetAppId) { in isQueryableViaPackage() argument
212 return mQueriesViaPackage.contains(callingAppId, targetAppId); in isQueryableViaPackage()
215 protected boolean isQueryableViaComponent(int callingAppId, int targetAppId) { in isQueryableViaComponent() argument
216 return mQueriesViaComponent.contains(callingAppId, targetAppId); in isQueryableViaComponent()
227 protected boolean isQueryableViaUsesLibrary(int callingAppId, int targetAppId) { in isQueryableViaUsesLibrary() argument
228 return mQueryableViaUsesLibrary.contains(callingAppId, targetAppId); in isQueryableViaUsesLibrary()
231 protected boolean isQueryableViaUsesPermission(int callingAppId, int targetAppId) { in isQueryableViaUsesPermission() argument
232 return mQueryableViaUsesPermission.contains(callingAppId, targetAppId); in isQueryableViaUsesPermission()
[all …]
DAppsFilterImpl.java1021 int callingAppId, int targetAppId) { in isQueryableViaComponentWhenRequireRecompute() argument
1024 return isQueryableViaComponent(callingAppId, targetAppId); in isQueryableViaComponentWhenRequireRecompute()
DPackageManagerService.java5463 final int callingAppId = UserHandle.getAppId(callingUid);
5469 if (!PackageManagerServiceUtils.isSystemOrRoot(callingAppId)
6004 final int callingAppId = UserHandle.getAppId(callingUid); in setHarmfulAppWarning() local
6010 if (!PackageManagerServiceUtils.isSystemOrRoot(callingAppId) in setHarmfulAppWarning()
6194 final int callingAppId = UserHandle.getAppId(callingUid); in relinquishUpdateOwnership() local
6196 if (callingAppId != Process.SYSTEM_UID in relinquishUpdateOwnership()
6197 && callingAppId != Process.SHELL_UID in relinquishUpdateOwnership()
6198 && callingAppId != targetUpdateOwnerAppId) { in relinquishUpdateOwnership()
DComputerEngine.java1913 final int callingAppId = UserHandle.getAppId(callingUid); in resolveInternalPackageNameInternalLocked() local
1914 if (!PackageManagerServiceUtils.isSystemOrRootOrShell(callingAppId)) { in resolveInternalPackageNameInternalLocked()
5688 final int callingAppId = UserHandle.getAppId(callingUid); in getHarmfulAppWarning() local
5693 if (!PackageManagerServiceUtils.isSystemOrRoot(callingAppId) in getHarmfulAppWarning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileDataInteractor.kt114 ) { _: Unit, callingAppId: Int, tile: Tile, defaults: CustomTileDefaults.Result -> in <lambda>() method
119 callingAppUid = callingAppId, in <lambda>()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java1115 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local
1116 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()
1117 || callingAppId == Process.SYSTEM_UID) { in resolveCallingAppEnforcingPermissions()
1123 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartController.java817 final int callingAppId = UserHandle.getAppId(state.mCallingUid); in checkBackgroundActivityStartAllowedByCaller() local
819 || callingAppId == Process.SYSTEM_UID in checkBackgroundActivityStartAllowedByCaller()
820 || callingAppId == Process.NFC_UID) { in checkBackgroundActivityStartAllowedByCaller()
836 if (imeWindow != null && callingAppId == imeWindow.mOwnerUid) { in checkBackgroundActivityStartAllowedByCaller()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java1202 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermissionUnlocked() local
1203 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermissionUnlocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java2163 final int callingAppId = UserHandle.getAppId(callingUid);
2164 return (callingAppId < FIRST_APPLICATION_UID);
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3627 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enforceExternalStorageService() local
3628 if (callingAppId != mMediaStoreAuthorityAppId) { in enforceExternalStorageService()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java8406 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAllowFgsWhileInUsePermissionLocked() local
8408 switch (callingAppId) { in shouldAllowFgsWhileInUsePermissionLocked()