Searched refs:targetDpm (Results 1 – 2 of 2) sorted by relevance
116 DevicePolicyManagerInterface targetDpm = mDpcFactory.getDevicePolicyManager(target); in uiAddUserRestriction() local118 if (targetDpm == null) { in uiAddUserRestriction()124 targetDpm.addUserRestriction(restriction); in uiAddUserRestriction()125 showToast("%s: addUserRestriction(%s)", targetDpm.getUser(), restriction); in uiAddUserRestriction()
196 DevicePolicyManagerInterface targetDpm = mDpcFactory.getDevicePolicyManager(target); in runAddUserRestriction() local198 if (targetDpm == null) { in runAddUserRestriction()203 Log.d(TAG, targetDpm.getUser() + ": addUserRestriction(" + restriction + ")"); in runAddUserRestriction()205 targetDpm.addUserRestriction(restriction); in runAddUserRestriction()