HomeSort by relevance Sort by last modified time
    Searched refs:profileUserId (Results 1 - 9 of 9) sorted by null

  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
MixedDeviceOwnerHostSideTransferTest.java 56 final int profileUserId = setupManagedProfileOnDeviceOwner(TRANSFER_OWNER_OUTGOING_APK,
59 setSameAffiliationId(profileUserId, mOutgoingTestClassName);
61 installAppAsUser(TRANSFER_OWNER_INCOMING_APK, profileUserId);
65 "testTransferOwnership", profileUserId);
79 final int profileUserId = setupManagedProfileOnDeviceOwner(TRANSFER_OWNER_OUTGOING_APK,
82 setSameAffiliationId(profileUserId, mOutgoingTestClassName);
84 installAppAsUser(TRANSFER_OWNER_INCOMING_APK, profileUserId);
88 "testTransferOwnership", profileUserId);
96 assertAffiliationIdsAreIntact(profileUserId, mIncomingTestClassName);
104 private void assertAffiliationIdsAreIntact(int profileUserId,
    [all...]
DeviceOwnerPlusProfileOwnerTest.java 89 int profileUserId = setupManagedProfile(COMP_DPC_APK, COMP_DPC_PKG, COMP_DPC_ADMIN);
92 verifyBindDeviceAdminServiceAsUserFails(profileUserId);
95 setSameAffiliationId(profileUserId);
96 assertOtherProfilesEqualsBindTargetUsers(profileUserId);
97 verifyBindDeviceAdminServiceAsUser(profileUserId);
100 setDifferentAffiliationId(profileUserId);
101 verifyBindDeviceAdminServiceAsUserFails(profileUserId);
113 int profileUserId = provisionCorpOwnedManagedProfile();
114 setSameAffiliationId(profileUserId);
119 profileUserId);
    [all...]
UserRestrictionsTest.java 135 final int profileUserId = createManagedProfile(mDeviceOwnerUserId /* parentUserId */);
137 startUser(profileUserId);
138 setPoAsUser(profileUserId);
141 "testDefaultRestrictions", profileUserId);
143 "testSetAllRestrictions", profileUserId);
145 "testBroadcast", profileUserId);
ManagedProfileTest.java 313 private void startDummyActivity(int profileUserId, boolean keepScreenOn) throws Exception {
316 profileUserId, keepScreenOn, MANAGED_PROFILE_PKG));
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/display/
TimeoutPreferenceControllerTest.java 93 final int profileUserId = UserHandle.myUserId();
95 when(mUserManager.getProfiles(profileUserId)).thenReturn(Collections.emptyList());
96 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(profileUserId, timeout);
104 final int profileUserId = UserHandle.myUserId();
106 when(mUserManager.getProfiles(profileUserId)).thenReturn(Collections.emptyList());
107 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(profileUserId, timeout);
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
CrossProfileAppsServiceImplTest.java 101 int profileUserId = -1;
103 profileUserId = PROFILE_OF_PRIMARY_USER;
105 profileUserId = PRIMARY_USER;
108 if (profileUserId != -1 && mUserEnabled.get(profileUserId)) {
109 users.add(profileUserId);
  /packages/apps/Settings/src/com/android/settings/
RestrictedListPreference.java 126 public void setProfileUserId(int profileUserId) {
127 mProfileUserId = profileUserId;
  /frameworks/base/services/core/java/com/android/server/am/
UserController.java     [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java     [all...]

Completed in 359 milliseconds