Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DInputMethodsTest.java31 private final ComponentName badAdmin = new ComponentName("com.foo.bar", ".BazQuxReceiver"); field in InputMethodsTest
79 mDevicePolicyManager.setPermittedInputMethods(badAdmin, null); in testPermittedInputMethodsThrowsIfWrongAdmin()
84 mDevicePolicyManager.getPermittedInputMethods(badAdmin); in testPermittedInputMethodsThrowsIfWrongAdmin()
DSecondaryLockscreenTest.java144 final ComponentName badAdmin = new ComponentName("com.foo.bar", ".NonProfileOwnerReceiver"); in testSetSecondaryLockscreen_ineligibleAdmin_throwsSecurityException() local
145 mDevicePolicyManager.setSecondaryLockscreenEnabled(badAdmin, true); in testSetSecondaryLockscreen_ineligibleAdmin_throwsSecurityException()