Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DBindDeviceAdminServiceGoodSetupTest.java86 for (UserHandle targetUser : mTargetUsers) { in testCannotBind_implicitIntent()
88 bind(implicitIntent, EMPTY_SERVICE_CONNECTION, targetUser); in testCannotBind_implicitIntent()
89 fail("IllegalArgumentException should be thrown for target user " + targetUser); in testCannotBind_implicitIntent()
102 for (UserHandle targetUser : mTargetUsers) { in testCannotBind_notResolvableIntent()
103 assertFalse("Should not be allowed to bind to target user " + targetUser, in testCannotBind_notResolvableIntent()
104 bind(notResolvableIntent, EMPTY_SERVICE_CONNECTION, targetUser)); in testCannotBind_notResolvableIntent()
113 for (UserHandle targetUser : mTargetUsers) { in testCannotBind_unprotectedCrossUserService()
115 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, targetUser); in testCannotBind_unprotectedCrossUserService()
116 fail("SecurityException should be thrown for target user " + targetUser); in testCannotBind_unprotectedCrossUserService()
130 for (UserHandle targetUser : mTargetUsers) { in testCheckCannotBind_nonManagingPackage()
[all …]
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DQuietModeCommandReceiver.java42 final UserHandle targetUser = intent.getParcelableExtra(Intent.EXTRA_USER); in onReceive() local
46 userManager.requestQuietModeEnabled(enableQuietMode, targetUser); in onReceive()