Home
last modified time | relevance | path

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

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionEvent.java41 int currentUser = ActivityManager.getCurrentUser(); in injectEvent() local
44 int perm = pm.checkPermission(mPermissionInfo.name, mPkg, currentUser); in injectEvent()
50 pm.grantRuntimePermission(mPkg, mPermissionInfo.name, currentUser); in injectEvent()
52 pm.revokeRuntimePermission(mPkg, mPermissionInfo.name, currentUser); in injectEvent()