Searched refs:targetUser (Results 1 – 2 of 2) sorted by relevance
86 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 …]
42 final UserHandle targetUser = intent.getParcelableExtra(Intent.EXTRA_USER); in onReceive() local46 userManager.requestQuietModeEnabled(enableQuietMode, targetUser); in onReceive()