/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DeviceProvisionedCoordinator.java | 77 private int checkUidPermission(String permission, int uid) { in checkUidPermission() method in DeviceProvisionedCoordinator 79 return mIPackageManager.checkUidPermission(permission, uid); in checkUidPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 70 int checkUidPermission(int uid, @NonNull String permissionName, int deviceId); in checkUidPermission() method 215 int checkUidPermission(int uid, @NonNull String permissionName, in checkUidPermission() method
|
D | PermissionManagerServiceTestingShim.java | 311 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceTestingShim 312 int oldVal = mOldImplementation.checkUidPermission(uid, permName, deviceId); in checkUidPermission() 313 int newVal = mNewImplementation.checkUidPermission(uid, permName, deviceId); in checkUidPermission()
|
D | PermissionManagerServiceLoggingDecorator.java | 243 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceLoggingDecorator 246 return mService.checkUidPermission(uid, permName, deviceId); in checkUidPermission()
|
D | PermissionManagerService.java | 248 public int checkUidPermission(int uid, String permissionName, int deviceId) { in checkUidPermission() method in PermissionManagerService 261 return mPermissionManagerServiceImpl.checkUidPermission(uid, permissionName, in checkUidPermission() 264 return checkPermissionDelegate.checkUidPermission(uid, permissionName, in checkUidPermission() 265 persistentDeviceId, mPermissionManagerServiceImpl::checkUidPermission); in checkUidPermission() 634 public int checkUidPermission(int uid, @NonNull String permissionName, int deviceId) { in checkUidPermission() method in PermissionManagerService.PermissionManagerServiceInternalImpl 635 return PermissionManagerService.this.checkUidPermission(uid, permissionName, deviceId); in checkUidPermission()
|
D | PermissionManagerServiceInterface.java | 407 int checkUidPermission(int uid, String permName, String deviceId); in checkUidPermission() method
|
D | PermissionManagerServiceTracingDecorator.java | 339 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceTracingDecorator 342 return mService.checkUidPermission(uid, permName, deviceId); in checkUidPermission()
|
D | AccessCheckDelegate.java | 294 public int checkUidPermission(int uid, @NonNull String permissionName, in checkUidPermission() method in AccessCheckDelegate.AccessCheckDelegateImpl 301 return checkUidPermission(Process.SHELL_UID, permissionName, in checkUidPermission()
|
D | PermissionManagerServiceImpl.java | 368 if (checkUidPermission(uid, Manifest.permission.BACKUP) != PERMISSION_GRANTED) { 1001 private int checkUidPermission(int uid, String permName) { in checkUidPermission() method in PermissionManagerServiceImpl 1002 return checkUidPermission(uid, permName, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT); in checkUidPermission() 1006 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceImpl 1336 checkUidPermission(callingUid, ADJUST_RUNTIME_PERMISSIONS_POLICY) in grantRuntimePermission() 1510 checkUidPermission(callingUid, ADJUST_RUNTIME_PERMISSIONS_POLICY, in revokeRuntimePermission() 1522 checkUidPermission(callingUid, ADJUST_RUNTIME_PERMISSIONS_POLICY) in revokePostNotificationPermissionWithoutKillForTest()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 170 protected int checkUidPermission(String permission, int uid) { in createForTest() 224 protected int checkUidPermission(String permission, int uid) { in checkUidPermission() method in UriGrantsManagerService 226 return AppGlobals.getPackageManager().checkUidPermission(permission, uid); in checkUidPermission() 1052 && (checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternalUnlocked() 1056 && (checkUidPermission(pi.writePermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternalUnlocked() 1079 + " check=" + checkUidPermission(pprperm, uid)); in checkHoldingPermissionsInternalUnlocked() 1081 if (considerUidPermissions && checkUidPermission(pprperm, uid) in checkHoldingPermissionsInternalUnlocked() 1094 + " check=" + checkUidPermission(ppwperm, uid)); in checkHoldingPermissionsInternalUnlocked() 1096 if (considerUidPermissions && checkUidPermission(ppwperm, uid) in checkHoldingPermissionsInternalUnlocked()
|
/frameworks/base/core/java/android/permission/ |
D | IPermissionManager.aidl | 108 int checkUidPermission(int uid, String permissionName, int deviceId); in checkUidPermission() method
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UidRecord.java | 446 hasInternetPermission = ActivityManager.checkUidPermission(Manifest.permission.INTERNET, in updateHasInternetPermission()
|
D | UidObserverController.java | 95 ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, callingUid) in register()
|
D | BroadcastSkipPolicy.java | 151 if (ActivityManager.checkUidPermission( in shouldSkipMessage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 984 != snapshot.checkUidPermission(Manifest.permission.INSTALL_PACKAGES, uid) in isEmergencyInstallerEnabled() 986 != snapshot.checkUidPermission(Manifest.permission.INSTALL_PACKAGE_UPDATES, uid) in isEmergencyInstallerEnabled() 988 != snapshot.checkUidPermission(Manifest.permission.INSTALL_SELF_UPDATES, uid)) { in isEmergencyInstallerEnabled() 991 return (snapshot.checkUidPermission(Manifest.permission.EMERGENCY_INSTALL_PACKAGES, in isEmergencyInstallerEnabled() 1049 (snapshot.checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, in computeUserActionRequirement() 1052 (snapshot.checkUidPermission(android.Manifest.permission.INSTALL_SELF_UPDATES, in computeUserActionRequirement() 1055 (snapshot.checkUidPermission(android.Manifest.permission.INSTALL_PACKAGE_UPDATES, in computeUserActionRequirement() 1057 final boolean isUpdateWithoutUserActionPermissionGranted = (snapshot.checkUidPermission( in computeUserActionRequirement() 1060 final boolean isInstallDpcPackagesPermissionGranted = (snapshot.checkUidPermission( in computeUserActionRequirement() 2659 if (PackageManager.PERMISSION_GRANTED != snapshot.checkUidPermission( in transfer() [all …]
|
D | IPackageManagerBase.java | 237 public final int checkUidPermission(String permName, int uid) { in checkUidPermission() method in IPackageManagerBase 238 return snapshot().checkUidPermission(permName, uid); in checkUidPermission()
|
D | InstallingSession.java | 418 if (mPm.snapshotComputer().checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, in fixUpInstallReason()
|
D | Computer.java | 288 int checkUidPermission(String permName, int uid); in checkUidPermission() method
|
D | DeletePackageHelper.java | 937 return snapshot.checkUidPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS, callingUid) in isCallerAllowedToSilentlyUninstall()
|
D | ComputerEngine.java | 2096 == checkUidPermission(Manifest.permission.INSTALL_PACKAGES, uid)) { in filterStaticSharedLibPackage() 2152 == checkUidPermission(Manifest.permission.INSTALL_PACKAGES, uid)) { in filterSdkLibPackage() 2697 public final int checkUidPermission(String permName, int uid) { in checkUidPermission() method in ComputerEngine 2698 return mPermissionManager.checkUidPermission(uid, permName, Context.DEVICE_ID_DEFAULT); in checkUidPermission() 5694 && checkUidPermission(SET_HARMFUL_APP_WARNINGS, callingUid) != PERMISSION_GRANTED) { in getHarmfulAppWarning()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 799 int checkUidPermission(String permName, int uid); in checkUidPermission() method
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 124 final int perm = mPM.checkUidPermission(permission, uid); in checkPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 2788 when(mIpm.checkUidPermission(Manifest.permission.INTERNET, uid)).thenReturn( in expectHasInternetPermission() 2793 when(mIpm.checkUidPermission(CONNECTIVITY_USE_RESTRICTED_NETWORKS, uid)).thenReturn( in expectHasUseRestrictedNetworksPermission() 2795 when(mIpm.checkUidPermission(NETWORK_STACK, uid)).thenReturn( in expectHasUseRestrictedNetworksPermission() 2797 when(mIpm.checkUidPermission(PERMISSION_MAINLINE_NETWORK_STACK, uid)).thenReturn( in expectHasUseRestrictedNetworksPermission()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 5152 return AppGlobals.getPermissionManager().checkUidPermission(uid, permission, deviceId); in checkComponentPermission() 5159 public static int checkUidPermission(String permission, int uid) { in checkUidPermission() method in ActivityManager 5161 return AppGlobals.getPermissionManager().checkUidPermission( in checkUidPermission()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 467 override fun checkUidPermission(uid: Int, permissionName: String, deviceId: String): Int { in <lambda>() method in com.android.server.permission.access.permission.PermissionService 2743 checkUidPermission( in <lambda>()
|