Home
last modified time | relevance | path

Searched refs:mPermissionManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/server/backup/
DPermissionBackupHelper.java39 private final @NonNull PermissionManagerInternal mPermissionManager; field in PermissionBackupHelper
45 mPermissionManager = LocalServices.getService(PermissionManagerInternal.class); in PermissionBackupHelper()
56 return mPermissionManager.backupRuntimePermissions(mUser); in getBackupPayload()
75 mPermissionManager.restoreRuntimePermissions(payload, mUser); in applyRestoredPayload()
/frameworks/base/core/java/android/permission/
DPermissionManager.java76 private final IPermissionManager mPermissionManager; field in PermissionManager
106 mPermissionManager = permissionManager; in PermissionManager()
201 mPermissionManager.grantDefaultPermissionsToActiveLuiApp( in grantDefaultPermissionsToLuiApp()
222 mPermissionManager.revokeDefaultPermissionsFromLuiApps( in revokeDefaultPermissionsFromLuiApps()
243 mPermissionManager.grantDefaultPermissionsToEnabledImsServices( in grantDefaultPermissionsToEnabledImsServices()
264 mPermissionManager.grantDefaultPermissionsToEnabledTelephonyDataServices( in grantDefaultPermissionsToEnabledTelephonyDataServices()
285 mPermissionManager.revokeDefaultPermissionsFromDisabledTelephonyDataServices( in revokeDefaultPermissionsFromDisabledTelephonyDataServices()
306 mPermissionManager.grantDefaultPermissionsToEnabledCarrierApps(packageNames, in grantDefaultPermissionsToEnabledCarrierApps()
327 return CollectionUtils.toSet(mPermissionManager.getAutoRevokeExemptionRequestedPackages( in getAutoRevokeExemptionRequestedPackages()
347 return CollectionUtils.toSet(mPermissionManager.getAutoRevokeExemptionGrantedPackages( in getAutoRevokeExemptionGrantedPackages()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSerialReader.java42 private final @NonNull UsbPermissionManager mPermissionManager; field in UsbSerialReader
57 mPermissionManager = permissionManager; in UsbSerialReader()
97 mPermissionManager.getPermissionsForUser(userId) in getSerial()
100 mPermissionManager.getPermissionsForUser(userId) in getSerial()
DUsbService.java140 private final UsbPermissionManager mPermissionManager; field in UsbService
162 return mPermissionManager.getPermissionsForUser(userId); in getPermissionsForUser()
170 mPermissionManager = new UsbPermissionManager(context, this); in UsbService()
175 mHostManager = new UsbHostManager(context, mAlsaManager, mPermissionManager); in UsbService()
179 mPermissionManager); in UsbService()
462 mPermissionManager.getPermissionsForUser(user).setDevicePersistentPermission(device, in setDevicePersistentPermission()
479 mPermissionManager.getPermissionsForUser(user).setAccessoryPersistentPermission( in setAccessoryPersistentPermission()
775 mPermissionManager.dump(dump, "permissions_manager", in dump()
DUsbHostManager.java68 private final UsbPermissionManager mPermissionManager; field in UsbHostManager
241 mPermissionManager = permissionManager; in UsbHostManager()
397 mPermissionManager, newDeviceBuilder.serialNumber); in usbDeviceAdded()
448 mPermissionManager.usbDeviceRemoved(device); in usbDeviceRemoved()
DUsbDeviceManager.java473 private final UsbPermissionManager mPermissionManager; field in UsbDeviceManager.UsbHandler
500 mPermissionManager = permissionManager; in UsbHandler()
631 UsbSerialReader serialReader = new UsbSerialReader(mContext, mPermissionManager, in updateCurrentAccessory()
669 mPermissionManager.usbAccessoryRemoved(mCurrentAccessory); in notifyAccessoryModeExit()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java337 mPermissionManager.getAllPermissionGroups(flags); in getAllPermissionGroups()
352 mPermissionManager.getPermissionGroupInfo(groupName, flags); in getPermissionGroupInfo()
368 mPermissionManager.getPermissionInfo(permName, packageName, flags); in getPermissionInfo()
384 mPermissionManager.queryPermissionsByGroup(groupName, flags); in queryPermissionsByGroup()
693 return mPermissionManager.isPermissionRevokedByPolicy(permName, pkgName, getUserId()); in isPermissionRevokedByPolicy()
719 return mPermissionManager.addPermission(info, false); in addPermission()
728 return mPermissionManager.addPermission(info, true); in addPermissionAsync()
737 mPermissionManager.removePermission(name); in removePermission()
779 mPermissionManager in revokeRuntimePermission()
789 return mPermissionManager in getPermissionFlags()
[all …]
DUiAutomationConnection.java73 private final IPermissionManager mPermissionManager = IPermissionManager.Stub field in UiAutomationConnection
281 mPermissionManager.grantRuntimePermission(packageName, permission, userId); in grantRuntimePermission()
297 mPermissionManager.revokeRuntimePermission(packageName, permission, userId, null); in revokeRuntimePermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java204 private final PermissionManager mPermissionManager; field in ImsServiceController
339 mPermissionManager = in ImsServiceController()
357 mPermissionManager = null; in ImsServiceController()
662 if (mPermissionManager != null) { in grantPermissionsToService()
664 mPermissionManager.grantDefaultPermissionsToEnabledImsServices( in grantPermissionsToService()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java148 private final PermissionManagerServiceInternal mPermissionManager; field in PackageInstallerService
208 mPermissionManager = LocalServices.getService(PermissionManagerServiceInternal.class); in PackageInstallerService()
494 mPermissionManager.enforceCrossUserPermission( in createSessionInternal()
655 mPermissionManager.retainHardAndSoftRestrictedPermissions( in createSessionInternal()
883 mPermissionManager.enforceCrossUserPermission( in getAllSessions()
901 mPermissionManager.enforceCrossUserPermission( in getMySessions()
925 mPermissionManager.enforceCrossUserPermission(callingUid, userId, true, true, "uninstall"); in uninstall()
977 mPermissionManager.enforceCrossUserPermission(callingUid, userId, true, true, "uninstall"); in uninstallExistingPackage()
1008 mPermissionManager.enforceCrossUserPermission( in registerCallback()
DPackageManagerShellCommand.java146 final IPermissionManager mPermissionManager; field in PackageManagerShellCommand
157 mPermissionManager = permissionManager; in PackageManagerShellCommand()
865 mPermissionManager.getAllPermissionGroups(0).getList(); in runListPermissionGroups()
912 mPermissionManager.getAllPermissionGroups(0 /*flags*/).getList(); in runListPermissions()
2287 mPermissionManager.grantRuntimePermission(pkg, perm, translatedUserId); in runGrantRevokePermission()
2289 mPermissionManager.revokeRuntimePermission(pkg, perm, translatedUserId, null); in runGrantRevokePermission()
2295 mPermissionManager.resetRuntimePermissions(); in runResetPermissions()
2310 mPermissionManager.setPermissionEnforced(permission, Boolean.parseBoolean(enforcedRaw)); in runSetPermissionEnforced()
3425 List<PermissionInfo> ps = mPermissionManager in doListPermissions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java91 private final PermissionManager mPermissionManager; field in DataServiceManager
140 mPermissionManager.grantDefaultPermissionsToEnabledTelephonyDataServices( in grantPermissionsToService()
173 mPermissionManager.revokeDefaultPermissionsFromDisabledTelephonyDataServices( in revokePermissionsFromUnusedDataServices()
308 mPermissionManager = in DataServiceManager()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java110 private IPermissionManager mPermissionManager; field in SubscriptionInfoUpdaterTest