Home
last modified time | relevance | path

Searched refs:checkUidPermission (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinator.java77 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/
DPermissionManagerServiceInternal.java70 int checkUidPermission(int uid, @NonNull String permissionName, int deviceId); in checkUidPermission() method
215 int checkUidPermission(int uid, @NonNull String permissionName, in checkUidPermission() method
DPermissionManagerServiceTestingShim.java311 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()
DPermissionManagerServiceLoggingDecorator.java243 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceLoggingDecorator
246 return mService.checkUidPermission(uid, permName, deviceId); in checkUidPermission()
DPermissionManagerService.java248 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()
DPermissionManagerServiceInterface.java407 int checkUidPermission(int uid, String permName, String deviceId); in checkUidPermission() method
DPermissionManagerServiceTracingDecorator.java339 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission() method in PermissionManagerServiceTracingDecorator
342 return mService.checkUidPermission(uid, permName, deviceId); in checkUidPermission()
DAccessCheckDelegate.java294 public int checkUidPermission(int uid, @NonNull String permissionName, in checkUidPermission() method in AccessCheckDelegate.AccessCheckDelegateImpl
301 return checkUidPermission(Process.SHELL_UID, permissionName, in checkUidPermission()
DPermissionManagerServiceImpl.java368 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/
DUriGrantsManagerService.java170 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/
DIPermissionManager.aidl108 int checkUidPermission(int uid, String permissionName, int deviceId); in checkUidPermission() method
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java446 hasInternetPermission = ActivityManager.checkUidPermission(Manifest.permission.INTERNET, in updateHasInternetPermission()
DUidObserverController.java95 ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, callingUid) in register()
DBroadcastSkipPolicy.java151 if (ActivityManager.checkUidPermission( in shouldSkipMessage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java984 != 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 …]
DIPackageManagerBase.java237 public final int checkUidPermission(String permName, int uid) { in checkUidPermission() method in IPackageManagerBase
238 return snapshot().checkUidPermission(permName, uid); in checkUidPermission()
DInstallingSession.java418 if (mPm.snapshotComputer().checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, in fixUpInstallReason()
DComputer.java288 int checkUidPermission(String permName, int uid); in checkUidPermission() method
DDeletePackageHelper.java937 return snapshot.checkUidPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS, callingUid) in isCallerAllowedToSilentlyUninstall()
DComputerEngine.java2096 == 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/
DIPackageManager.aidl799 int checkUidPermission(String permName, int uid); in checkUidPermission() method
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java124 final int perm = mPM.checkUidPermission(permission, uid); in checkPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2788 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/
DActivityManager.java5152 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/
DPermissionService.kt467 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>()

12