Home
last modified time | relevance | path

Searched refs:createAndManageUser (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java78 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser()
85 UserManager.UserOperationException.class, () -> createAndManageUser()); in testCreateAndManageUser_MaxUsers()
108 UserHandle newUserHandle = createAndManageUser(); in testCreateAndManageUser_GetSecondaryUsers()
121 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser_SwitchUser()
130 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser_CannotStopCurrentUser()
138 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser_StartInBackground()
146 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser_StartInBackground_MaxRunningUsers()
154 UserHandle userHandle = createAndManageUser(); in testCreateAndManageUser_StopUser()
166 UserHandle userHandle = createAndManageUser(DevicePolicyManager.MAKE_USER_EPHEMERAL); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
225 UserHandle newUser = createAndManageUser(); in testCreateAndManageUser_LogoutUser_systemApi()
[all …]
DDevicePolicySafetyCheckerIntegrationTest.java147 dpm.createAndManageUser(admin, /* name= */ null, admin, /* adminExtras= */ null,
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCreateAndManageUserTest.java68 .createAndManageUser( in createAndManageUser_userExists()
85 () -> sDeviceState.dpc().devicePolicyManager().createAndManageUser( in createAndManageUser_lowStorage_throwOperationException()
101 .createAndManageUser(sDeviceState.dpc().componentName(), in createAndManageUser_newUserDisclaimerIsNotAcknowledged()
115 .createAndManageUser(sDeviceState.dpc().componentName(), in createAndManageUser_notAllowed_throwsException()
126 .createAndManageUser(sDeviceState.dpc().componentName(), in acknowledgeNewUserDisclaimer_newUserDisclaimerIsAcknowledged()
147 .createAndManageUser( in createAndManageUser_switchToUser_showsDisclaimer()
DDevicePolicyManagementRoleHolderTest.java118 sDeviceState.dpc().devicePolicyManager().createAndManageUser( in createAndManageUser_roleHolderIsInManagedUser()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DManagementTest.java77 assertNotNull(mDevicePolicyManager.createAndManageUser(admin, "secondary-user", in testCreateSecondaryUser()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java541 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in onCreate()
561 mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, extras, /* flags */ 0); in onCreate()
583 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in onCreate()
849 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in createAndSwitchUserWithMessage()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java165 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java120 doAnswer(answer).when(spy).createAndManageUser(any(), any(), any(), any(), anyInt()); in getWrapper()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt7995 …method @Nullable public android.os.UserHandle createAndManageUser(@NonNull android.content.Compone…