Home
last modified time | relevance | path

Searched refs:updatePermissionFlags (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java252 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_grantUserSet()
272 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()
287 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_revokeUserSet()
302 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_grantNotUserSet()
316 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_revokeNotUserSet()
329 verify(mPermManager, never()).updatePermissionFlags( in testSetNotificationPermission_SystemFixedPermNotSet()
342 verify(mPermManager, never()).updatePermissionFlags( in testSetNotificationPermission_PolicyFixedPermNotSet()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsController.kt73 packageManager.updatePermissionFlags(permission, app.packageName, in setAllowed()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java275 public void updatePermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg,
277 mContext.getPackageManager().updatePermissionFlags(permission, pkg.packageName,
494 pm.updatePermissionFlags(Manifest.permission.READ_PHONE_STATE, pkg, in grantPermissionsToSysComponentsAndPrivApps()
1247 pm.updatePermissionFlags(permission, pkg, in revokeRuntimePermissions()
1400 pm.updatePermissionFlags(permission, pkg, in grantRuntimePermissions()
1408 pm.updatePermissionFlags(permission, pkg, flags, in grantRuntimePermissions()
1418 pm.updatePermissionFlags(permission, pkg, flagMask, newFlags, user); in grantRuntimePermissions()
1430 pm.updatePermissionFlags(permission, pkg, in grantRuntimePermissions()
1659 abstract void updatePermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg, in updatePermissionFlags() method in DefaultPermissionGrantPolicy.PackageManagerWrapper
1849 public void updatePermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg, in updatePermissionFlags() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache
[all …]
DPermissionManagerServiceTestingShim.java169 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags() method in PermissionManagerServiceTestingShim
172 mOldImplementation.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()
174 mNewImplementation.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()
DPermissionManagerServiceLoggingDecorator.java132 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags() method in PermissionManagerServiceLoggingDecorator
138 mService.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()
DUidPermissionState.java279 public boolean updatePermissionFlags(@NonNull Permission permission, int flagMask, in updatePermissionFlags() method in UidPermissionState
DPermissionManagerServiceInterface.java162 void updatePermissionFlags(String packageName, String permName, int flagMask, int flagValues, in updatePermissionFlags() method
DPermissionManagerServiceTracingDecorator.java173 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags() method in PermissionManagerServiceTracingDecorator
178 mService.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()
DPermissionManagerServiceImpl.java744 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags() method in PermissionManagerServiceImpl
869 permissionUpdated = uidState.updatePermissionFlags(bp, flagMask, flagValues); in updatePermissionFlagsInternal()
2633 uidState.updatePermissionFlags(permission,
2638 uidState.updatePermissionFlags(permission,
2809 uidState.updatePermissionFlags(bp, MASK_PERMISSION_FLAGS_ALL, flags);
2930 uidState.updatePermissionFlags(bp, MASK_PERMISSION_FLAGS_ALL,
3045 ps.updatePermissionFlags(bp, flagsToRemove, 0);
3103 ps.updatePermissionFlags(mRegistry.getPermission(newPerm), flags, flags);
3187 ps.updatePermissionFlags(bp,
DPermissionManagerService.java539 public void updatePermissionFlags(String packageName, String permissionName, int flagMask, in updatePermissionFlags() method in PermissionManagerService
542 mPermissionManagerServiceImpl.updatePermissionFlags(packageName, permissionName, flagMask, in updatePermissionFlags()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionUpgrade.kt89 updatePermissionFlags( in <lambda>()
208 updatePermissionFlags( in <lambda>()
DDevicePermissionPolicy.kt246 updatePermissionFlags( in <lambda>()
255 private fun MutateStateScope.updatePermissionFlags( in <lambda>() method in com.android.server.permission.access.permission.DevicePermissionPolicy
DPermissionService.kt864 updatePermissionFlags( in <lambda>()
1262 override fun updatePermissionFlags( in <lambda>() method in com.android.server.permission.access.permission.PermissionService
1380 updatePermissionFlags( in <lambda>()
1450 updatePermissionFlags( in <lambda>()
1469 private fun MutateStateScope.updatePermissionFlags( in <lambda>() method in com.android.server.permission.access.permission.PermissionService
DAppIdPermissionPolicy.kt1720 updatePermissionFlags(appId, userId, permissionName, PermissionFlags.MASK_ALL, flags) in <lambda>()
1722 fun MutateStateScope.updatePermissionFlags( in <lambda>() method in com.android.server.permission.access.permission.AppIdPermissionPolicy
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl49 void updatePermissionFlags(String packageName, String permissionName, int flagMask, in updatePermissionFlags() method
DPermissionManager.java843 public void updatePermissionFlags(@NonNull String packageName, @NonNull String permissionName, in updatePermissionFlags() method in PermissionManager
873 public void updatePermissionFlags(@NonNull String packageName, @NonNull String permissionName, in updatePermissionFlags() method in PermissionManager
900 mPermissionManager.updatePermissionFlags(packageName, permissionName, flagMask, in updatePermissionFlagsInternal()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java207 mPermManager.updatePermissionFlags(packageName, NOTIFICATION_PERMISSION, flagMask, in setNotificationPermission()
211 mPermManager.updatePermissionFlags(packageName, NOTIFICATION_PERMISSION, in setNotificationPermission()
/frameworks/base/test-mock/api/
Dsystem-current.txt34 …method @Deprecated public void updatePermissionFlags(String, String, int, int, android.os.UserHand…
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
DAppOpPermissionAppListTest.kt55 doNothing().whenever(mock).updatePermissionFlags(any(), any(), any(), any(), any()) in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt399 updatePermissionFlags( in testUpdateAndGetPermissionFlags()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java256 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java309 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() method in BridgePackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java293 public void updatePermissionFlags(String permissionName, String packageName, in updatePermissionFlags() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java286 public void updatePermissionFlags(@NonNull String permName, @NonNull String packageName, in updatePermissionFlags() method in MockPackageManager
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java920 public void updatePermissionFlags(String permName, String packageName, in updatePermissionFlags() method in ApplicationPackageManager
922 getPermissionManager().updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()

12