Home
last modified time | relevance | path

Searched refs:startProfile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java840 assertThat(mUserController.startProfile(PROFILE1_ID, true, null)).isTrue(); in testStoppingExcessRunningUsersAfterSwitch_currentProfileNotStopped()
861 assertThat(mUserController.startProfile(PROFILE2_ID, true, null)).isTrue(); in testStoppingExcessRunningUsersAfterSwitch_currentProfileNotStopped()
918 assertThat(mUserController.startProfile(PROFILE1_ID, true, null)).isTrue(); in testRunningUsersListOrder_parentAfterProfile()
935 assertThat(mUserController.startProfile(PROFILE2_ID, true, null)).isTrue(); in testRunningUsersListOrder_parentAfterProfile()
979 assertThat(mUserController.startProfile(PROFILE_ID, true, null)).isTrue(); in testRunningUsersListOrder_currentAtEnd()
1084 () -> mUserController.startProfile(TEST_USER_ID1, /* evenWhenDisabled= */ false, in testStartProfile_fullUserFails()
1123 started = mUserController.startProfile(PROFILE_ID, true, null); in testStopProfile_doesNotStopItsParent()
1149 assertThat(mUserController.startProfile(TEST_USER_ID1, /* evenWhenDisabled=*/ false, in testStartProfile_disabledProfileFails()
1487 assertThat(mUserController.startProfile(userId, /* evenWhenDisabled=*/ false, in setUpAndStartProfileInBackground()
/frameworks/base/core/java/android/app/
DIActivityManager.aidl887 boolean startProfile(int userId); in startProfile() method
DActivityManager.java5413 public boolean startProfile(@NonNull UserHandle userHandle) { in startProfile() method in ActivityManager
5415 return getService().startProfile(userHandle.getIdentifier()); in startProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java270 final boolean isStarted = mActivityManager.startProfile(communal); in testCommunalProfile()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1673 boolean startProfile(@UserIdInt int userId, boolean evenWhenDisabled,
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1154 started = ActivityManager.getService().startProfile(communalProfileId); in startCommunalProfile()
/frameworks/base/core/api/
Dsystem-current.txt589 …droid.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public boolean startProfile(@NonNull androi…