Searched refs:setScreenCaptureDisabled (Results 1 – 5 of 5) sorted by relevance
38 mDevicePolicyManager.setScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT, false); in testSetScreenCaptureDisabled_false()44 mDevicePolicyManager.setScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT, true); in testSetScreenCaptureDisabled_true()
50 mDevicePolicyManager.setScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT, true); in testScreenCaptureDisabled()60 mDevicePolicyManager.setScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT, false); in testScreenCaptureDisabled()
75 setScreenCaptureDisabled(mUserId, true); in testScreenCaptureDisabled_allowedPrimaryUser()
660 setScreenCaptureDisabled(mUserId, true); in testScreenCaptureDisabled()662 setScreenCaptureDisabled(mUserId, false); in testScreenCaptureDisabled()1973 protected void setScreenCaptureDisabled(int userId, boolean disabled) throws Exception { in setScreenCaptureDisabled() method in DeviceAndProfileOwnerTest
552 mDevicePolicyManager.setScreenCaptureDisabled(mComponent, true); in testSetScreenCaptureDisabled_failIfNotProfileOwner()