Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java158 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission() method in FrameworkFacade
159 return AppGlobals.getPackageManager().checkUidPermission(permName, uid); in checkUidPermission()
DWifiServiceImpl.java2061 if (ActivityManager.checkUidPermission(Manifest.permission.ACCESS_FINE_LOCATION, uid) in checkCallerCanAccessScanResults()
2067 if (ActivityManager.checkUidPermission(Manifest.permission.ACCESS_COARSE_LOCATION, uid) in checkCallerCanAccessScanResults()
DWifiConfigManager.java3236 return (mFacade.checkUidPermission(
DWifiStateMachine.java3361 if (packageManager.checkUidPermission(Manifest.permission.LOCAL_MAC_ADDRESS, in getWiFiInfoForUid()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java60 final int perm = mPM.checkUidPermission( in runJob()
/frameworks/base/core/java/android/app/
DActivityManager.java3342 .checkUidPermission(permission, uid); in checkComponentPermission()
3349 public static int checkUidPermission(String permission, int uid) { in checkUidPermission() method in ActivityManager
3352 .checkUidPermission(permission, uid); in checkUidPermission()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl95 int checkUidPermission(String permName, int uid); in checkUidPermission() method
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java252 (mPm.checkUidPermission(android.Manifest.permission.INSTALL_PACKAGES, installerUid) in PackageInstallerSession()
DPackageManagerService.java3820 public int checkUidPermission(String permName, int uid) {
18036 if (checkUidPermission(WRITE_MEDIA_STORAGE, uid) == PERMISSION_GRANTED) {
18039 if (checkUidPermission(READ_EXTERNAL_STORAGE, uid) == PERMISSION_DENIED) {
18042 if (checkUidPermission(WRITE_EXTERNAL_STORAGE, uid) == PERMISSION_DENIED) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java198 when(facade.checkUidPermission(eq(android.Manifest.permission.OVERRIDE_WIFI_CONFIG), in getFrameworkFacade()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java1082 if (ActivityManager.checkUidPermission( in processNextBroadcast()
DActivityManagerService.java7760 && (pm.checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) {
7764 && (pm.checkUidPermission(pi.writePermission, uid) == PERMISSION_GRANTED)) {
7787 + " check=" + pm.checkUidPermission(pprperm, uid));
7789 if (considerUidPermissions && pm.checkUidPermission(pprperm, uid)
7802 + " check=" + pm.checkUidPermission(ppwperm, uid));
7804 if (considerUidPermissions && pm.checkUidPermission(ppwperm, uid)
13675 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState()
13754 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses()
16990 if (ActivityManager.checkUidPermission( in isSingleton()
17027 || ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, componentUid) in isValidSingletonCall()
DActiveServices.java2741 if (ActivityManager.checkUidPermission( in getRunningServiceInfoLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2768 if (mIPm.checkUidPermission(Manifest.permission.INTERNET, uid) in hasInternetPermissions()