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()
655 setScreenCaptureDisabled(mUserId, true); in testScreenCaptureDisabled()657 setScreenCaptureDisabled(mUserId, false); in testScreenCaptureDisabled()1851 protected void setScreenCaptureDisabled(int userId, boolean disabled) throws Exception { in setScreenCaptureDisabled() method in DeviceAndProfileOwnerTest
553 mDevicePolicyManager.setScreenCaptureDisabled(mComponent, true); in testSetScreenCaptureDisabled_failIfNotProfileOwner()