/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ResetPasswordWithTokenTest.java | 57 UserManager um = mContext.getSystemService(UserManager.class); in testResetPasswordBeforeUnlock() local 58 assertFalse(um.isUserUnlocked()); in testResetPasswordBeforeUnlock() 73 UserManager um = mContext.getSystemService(UserManager.class); in testClearPasswordBeforeUnlock() local 74 assertFalse(um.isUserUnlocked()); in testClearPasswordBeforeUnlock() 89 assertTrue(um.isUserUnlocked()); in testClearPasswordBeforeUnlock()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityTest.java | 67 UserManager um = context.getSystemService(UserManager.class); in testIsUserVisible_differentContext_noPermission() local 69 assertThrows(SecurityException.class, () -> um.isUserVisible()); in testIsUserVisible_differentContext_noPermission() 77 UserManager um = context.getSystemService(UserManager.class); in testIsUserVisible_differentContext_withPermission() local 79 assertWithMessage("isUserVisible() for unknown user").that(um.isUserVisible()).isFalse(); in testIsUserVisible_differentContext_withPermission() 120 UserManager um = context.getSystemService(UserManager.class); in testIsUserVisible_stoppedProfileOfCurrentUser() local 123 profile.id()).that(um.isUserVisible()).isFalse(); in testIsUserVisible_stoppedProfileOfCurrentUser() 131 UserManager um = context.getSystemService(UserManager.class); in testGetVisibleUsers_noPermission() local 133 assertThrows(SecurityException.class, () -> um.getVisibleUsers()); in testGetVisibleUsers_noPermission() 184 UserManager um = context.getSystemService(UserManager.class); in testGetVisibleUsers_stoppedProfileOfCurrentUser() local
|
D | UserManagerTest.java | 183 UserManager um = userContext.getSystemService(UserManager.class); in testIsAdminUserForOtherUserContextFailsWithoutPermission() local 185 um.isAdminUser(); in testIsAdminUserForOtherUserContextFailsWithoutPermission() 209 UserManager um = userContext.getSystemService(UserManager.class); in testIsAdminUserForOtherUserContextWithPermission() local 210 assertFalse(um.isAdminUser()); in testIsAdminUserForOtherUserContextWithPermission() 252 UserManager um = context.getSystemService(UserManager.class); in testIsUserForeground_differentContext_noPermission() local 255 um.isUserForeground(); in testIsUserForeground_differentContext_noPermission() 271 UserManager um = userContext.getSystemService(UserManager.class); in testIsUserForeground_differentContext_withPermission() local 273 assertWithMessage("isUserForeground() for unknown user").that(um.isUserForeground()) in testIsUserForeground_differentContext_withPermission() 358 UserManager um = context.getSystemService(UserManager.class); in testIsUserRunning_stoppedProfileOfCurrentUser() local 361 profile.id()).that(um.isUserRunning(profile.userHandle())) in testIsUserRunning_stoppedProfileOfCurrentUser() [all …]
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | CujTestBase.java | 127 UserManager um = activity.getSystemService(UserManager.class); in isVisibleBackgroundNonProfileUser() local 128 if (!um.isVisibleBackgroundUsersSupported()) { in isVisibleBackgroundNonProfileUser() 132 return um.isUserVisible() && !um.isUserForeground() && !um.isProfile(); in isVisibleBackgroundNonProfileUser()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/user/ |
D | CarUserManagerPermissionTest.java | 119 (um) -> um.createUser("Thanos", UserInfo.FLAG_ADMIN))); in testCannotCreateAdminUserWithoutManageUsersPermission() 128 (um) -> um.createUser("Thanos", UserInfo.FLAG_ADMIN))); in testCannotCreateAdminUserWithTypeWithoutManageUsersPermission() 166 (um) -> um.addListener(Runnable::run, listener)); in testRemoveListenerPermission()
|
/cts/tests/app/src/android/app/cts/ |
D | KeyguardManagerStatusTest.java | 54 final UserManager um = instContext.getSystemService(UserManager.class); in testCommunalProfileIsConsideredUnlocked() local 55 final UserHandle communalUser = um.getCommunalProfile(); in testCommunalProfileIsConsideredUnlocked()
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 175 UserManager um = (UserManager) getSystemService(Context.USER_SERVICE); in getUserHandleArgument() local 178 return um.getUserForSerialNumber(serial); in getUserHandleArgument()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | BaseUserRestrictionsTest.java | 135 (um) -> um.hasBaseUserRestriction(restriction, userHandle)); in hasBaseUserRestriction()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 110 final UserManager um = (UserManager) getSystemService(Context.USER_SERVICE); in start() local 111 final Bundle restrictions = um.getApplicationRestrictions(getPackageName()); in start()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2019_2245.ts | 3019 dcd�tv�T��+��Jh"A����$�i�.�Jʮj&���#�ВI��$6�um�PXȒ�.���t���6�c��'�E�3.�>��/������e)Rq��… 6639 E㪴� QD�g�5�Lum��A��BFA����P���Rt�i��*��'c������Z�BEP �,�i3i�0i3�h�I�� 10641 ��C���bi]��4U��t/���umP�A�U
|
D | cve_2018_13925.ts | 3020 dcd�tv�T��+��Jh"A����$�i�.�Jʮj&���#�ВI��$6�um�PXȒ�.���t���6�c��'�E�3.�>��/������e)Rq��… 10741 ��C���bi]��4U��t/���umP�A�U
|
D | cve_2019_2244.ts | 3021 dcd�tv�T��+��Jh"A����$�i�.�Jʮj&���#�ВI��$6�um�PXȒ�.���t���6�c��'�E�3.�>��/������e)Rq��… 10747 ��C���bi]��4U��t/���umP�A�U
|