/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterLocked.java | 62 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()
|
D | AppsFilterBase.java | 207 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 …]
|
D | AppsFilterImpl.java | 1021 int callingAppId, int targetAppId) { in isQueryableViaComponentWhenRequireRecompute() argument 1024 return isQueryableViaComponent(callingAppId, targetAppId); in isQueryableViaComponentWhenRequireRecompute()
|
D | PackageManagerService.java | 5463 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()
|
D | ComputerEngine.java | 1913 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/ |
D | CustomTileDataInteractor.kt | 114 ) { _: 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/ |
D | PrintManagerService.java | 1115 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/ |
D | BackgroundActivityStartController.java | 817 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/ |
D | UriGrantsManagerService.java | 1202 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/ |
D | SettingsState.java | 2163 final int callingAppId = UserHandle.getAppId(callingUid); 2164 return (callingAppId < FIRST_APPLICATION_UID);
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 3627 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enforceExternalStorageService() local 3628 if (callingAppId != mMediaStoreAuthorityAppId) { in enforceExternalStorageService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 8406 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAllowFgsWhileInUsePermissionLocked() local 8408 switch (callingAppId) { in shouldAllowFgsWhileInUsePermissionLocked()
|