Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java78 return ActivityManager.checkUidPermission(permissionType, uid); in getUidPermission()
96 return AppGlobals.getPackageManager().checkUidPermission( in getOverrideWifiConfigPermission()
108 return AppGlobals.getPackageManager().checkUidPermission( in getChangeWifiConfigPermission()
120 return AppGlobals.getPackageManager().checkUidPermission( in getAccessWifiStatePermission()
132 return AppGlobals.getPackageManager().checkUidPermission( in getLocalMacAddressPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java155 return checkUidPermission(packageManager, Manifest.permission.NOTIFICATION_DURING_SETUP, in showNotificationEvenIfUnprovisioned()
160 private static int checkUidPermission(IPackageManager packageManager, String permission, in checkUidPermission() method in NotificationFilter
163 return packageManager.checkUidPermission(permission, uid); in checkUidPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java175 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission() method in FrameworkFacade
176 return AppGlobals.getPackageManager().checkUidPermission(permName, uid); in checkUidPermission()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java83 when(mMockPackageManager.checkUidPermission( in setUp()
87 when(mMockPackageManager.checkUidPermission( in setUp()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java887 && (pm.checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternal()
891 && (pm.checkUidPermission(pi.writePermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternal()
914 + " check=" + pm.checkUidPermission(pprperm, uid)); in checkHoldingPermissionsInternal()
916 if (considerUidPermissions && pm.checkUidPermission(pprperm, uid) in checkHoldingPermissionsInternal()
929 + " check=" + pm.checkUidPermission(ppwperm, uid)); in checkHoldingPermissionsInternal()
931 if (considerUidPermissions && pm.checkUidPermission(ppwperm, uid) in checkHoldingPermissionsInternal()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java138 hasInternetPermission = ActivityManager.checkUidPermission(Manifest.permission.INTERNET, in updateHasInternetPermission()
DBroadcastQueue.java1444 if (ActivityManager.checkUidPermission( in processNextBroadcastLocked()
DActivityManagerService.java4351 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessMemoryInfo()
4428 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessPss()
9652 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState()
9700 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses()
13875 final boolean canInteractAcrossUsers = (ActivityManager.checkUidPermission( in getServices()
13993 if (ActivityManager.checkUidPermission( in isSingleton()
14030 || ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, componentUid) in isValidSingletonCall()
18971 public int checkUidPermission(String permName, int uid, in checkUidPermission() method in ActivityManagerService.ShellDelegate
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java117 >= Build.VERSION_CODES.P && AppGlobals.getPackageManager().checkUidPermission( in onCreate()
120 && AppGlobals.getPackageManager().checkUidPermission( in onCreate()
DInstallStart.java201 if (mIPackageManager.checkUidPermission(Manifest.permission.MANAGE_DOCUMENTS, in getOriginatingUid()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java172 public abstract int checkUidPermission(@NonNull String permName, in checkUidPermission() method in PermissionManagerServiceInternal
DPermissionManagerService.java328 private int checkUidPermission(String permName, PackageParser.Package pkg, int uid, in checkUidPermission() method in PermissionManagerService
3113 public int checkUidPermission(String permName, PackageParser.Package pkg, int uid, in checkUidPermission() method in PermissionManagerService.PermissionManagerServiceInternalImpl
3115 return PermissionManagerService.this.checkUidPermission(permName, pkg, uid, callingUid); in checkUidPermission()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java86 final int perm = mPM.checkUidPermission( in checkPermission()
/frameworks/base/core/java/android/content/pm/
DPackageManagerInternal.java111 int checkUidPermission(String permName, int uid, in checkUidPermission() method
DIPackageManager.aidl111 int checkUidPermission(String permName, int uid); in checkUidPermission() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java119 when(mMockPackageManager.checkUidPermission( in setUp()
123 when(mMockPackageManager.checkUidPermission( in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java388 (mPm.checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, in needToAskForPermissionsLocked()
391 (mPm.checkUidPermission(android.Manifest.permission.INSTALL_SELF_UPDATES, in needToAskForPermissionsLocked()
394 (mPm.checkUidPermission(android.Manifest.permission.INSTALL_PACKAGE_UPDATES, in needToAskForPermissionsLocked()
1190 if (PackageManager.PERMISSION_GRANTED != mPm.checkUidPermission( in transfer()
DPackageManagerService.java4408 == checkUidPermission(Manifest.permission.INSTALL_PACKAGES, uid)) { in filterSharedLibPackageLPr()
5626 public int checkUidPermission(String permName, int uid) { in checkUidPermission() method
5634 return checkPermissionDelegate.checkUidPermission(permName, uid, in checkUidPermission()
5646 return mPermissionManager.checkUidPermission(permName, pkg, uid, getCallingUid()); in checkUidPermissionImpl()
5731 boolean overridePolicy = (checkUidPermission(
5741 boolean overridePolicy = (checkUidPermission(
13121 if (checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, installerUid)
18472 if (checkUidPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS, callingUid)
18493 if (checkUidPermission(android.Manifest.permission.MANAGE_USERS, callingUid)
21669 if (checkUidPermission(READ_EXTERNAL_STORAGE, uid) == PERMISSION_DENIED) {
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java3763 .checkUidPermission(permission, uid);
3770 public static int checkUidPermission(String permission, int uid) {
3773 .checkUidPermission(permission, uid);
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3635 final boolean hasFull = mIPackageManager.checkUidPermission(WRITE_MEDIA_STORAGE, in getMountModeInternal()
3643 final boolean hasInstall = mIPackageManager.checkUidPermission(INSTALL_PACKAGES, in getMountModeInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1832 when(mIpm.checkUidPermission(Manifest.permission.INTERNET, uid)).thenReturn( in expectHasInternetPermission()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4042 if (mIPm.checkUidPermission(Manifest.permission.INTERNET, uid) in hasInternetPermissions()
/frameworks/base/config/
Dhiddenapi-greylist.txt174 Landroid/content/pm/IPackageManager$Stub$Proxy;->checkUidPermission(Ljava/lang/String;I)I
/frameworks/base/services/
Dart-profile10825 HSPLcom/android/server/pm/PackageManagerService;->checkUidPermission(Ljava/lang/String;I)I
12051 …on/PermissionManagerService$PermissionManagerServiceInternalImpl;->checkUidPermission(Ljava/lang/S…
12082 HSPLcom/android/server/pm/permission/PermissionManagerService;->checkUidPermission(Ljava/lang/Strin…