Searched refs:createAndManageUser (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | CreateAndManageUserTest.java | 78 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 …]
|
D | DevicePolicySafetyCheckerIntegrationTest.java | 147 dpm.createAndManageUser(admin, /* name= */ null, admin, /* adminExtras= */ null,
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CreateAndManageUserTest.java | 68 .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()
|
D | DevicePolicyManagementRoleHolderTest.java | 118 sDeviceState.dpc().devicePolicyManager().createAndManageUser( in createAndManageUser_roleHolderIsInManagedUser()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | ManagementTest.java | 77 assertNotNull(mDevicePolicyManager.createAndManageUser(admin, "secondary-user", in testCreateSecondaryUser()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 541 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/ |
D | SessionCommitBroadcastTest.java | 165 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 120 doAnswer(answer).when(spy).createAndManageUser(any(), any(), any(), any(), anyInt()); in getWrapper()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 7995 …method @Nullable public android.os.UserHandle createAndManageUser(@NonNull android.content.Compone…
|