Searched refs:appOpsManager (Results 1 – 3 of 3) sorted by relevance
31 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in noteOp() local32 return appOpsManager.noteOp(op, uid, packageName); in noteOp()36 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in noteProxyOp() local37 return appOpsManager.noteProxyOp(op, proxiedPackageName); in noteProxyOp()
558 AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in updateOverlayStateLocked() local562 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()570 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()
811 public static boolean checkIfPackageBelongsToUid(final AppOpsManager appOpsManager, in checkIfPackageBelongsToUid() argument814 appOpsManager.checkPackage(uid, packageName); in checkIfPackageBelongsToUid()