/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountPreferenceControllerTest.java | 148 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_twoProfiles_shouldAddTwoAccountCategory() 162 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() 185 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_oneNewProfile_shouldAddOneAccountCategory() 196 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_oneProfileRemoved_shouldRemoveOneAccountCategory() 212 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_oneProfile_shouldSetAccountTitleWithUserName() 296 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in updateDynamicRawDataToIndex_managedUser_shouldAddTwo() 309 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in updateDynamicRawDataToIndex_disallowRemove_shouldAddOne() 325 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in updateDynamicRawDataToIndex_disallowModify_shouldAddTwo() 499 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_oneNewAccountType_shouldAddOneAccountPreference()
|
D | AccountDashboardFragmentTest.java | 89 infos.add(new UserInfo(PROFILE_ID, PROFILE_NAME, UserInfo.FLAG_MANAGED_PROFILE)); in searchIndexProvider_hasManagedProfile_shouldNotIndex()
|
D | EmergencyInfoPreferenceControllerTest.java | 145 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in updateState_shouldSetSummary()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/ota/ |
D | CrossProfileAppsPregrantControllerTest.java | 19 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 162 MY_USER_ID, OTHER_USER_ID, /* profileName= */"otherUser", FLAG_MANAGED_PROFILE); in setRunningOnParentProfile() 167 MY_USER_ID, OTHER_USER_ID, /* profileName= */"otherUser", FLAG_MANAGED_PROFILE); in setRunningOnManagedProfile()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesSettingsTest.java | 107 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in collectConfigurableApps_fromPersonal_returnsCombinedPackages() 132 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in collectConfigurableApps_fromWork_returnsCombinedPackages() 173 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
|
D | InteractAcrossProfilesDetailsTest.java | 83 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in getPreferenceSummary_appOpAllowed_returnsAllowed() 106 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in getPreferenceSummary_appOpNotAllowed_returnsNotAllowed()
|
D | InteractAcrossProfilesControllerTest.java | 57 UserInfo.FLAG_MANAGED_PROFILE); in getAvailabilityStatus_multipleProfiles_returnsAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 133 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsInCompMode() 224 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsAlwaysOnVpnSetInManagedProfileProfile() 257 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testGetMaximumFailedPasswordsForWipeInManagedProfile() 319 new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile() 353 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testGetNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile() 418 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/ |
D | UserManagerHelper.java | 57 public static final int FLAG_MANAGED_PROFILE = UserInfo.FLAG_MANAGED_PROFILE; field in UserManagerHelper
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RedactionInterstitialTest.java | 114 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in managedProfileNoRestrictionsTest() 129 "work-profile"/* profileName */, UserInfo.FLAG_MANAGED_PROFILE); in managedProfileUnredactedRestrictionTest()
|
D | RedactNotificationPreferenceControllerTest.java | 112 new UserInfo(10, "", UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE))); in setUp()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/ |
D | SendDpcBroadcastServiceTest.java | 25 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 114 /* profileFlags= */ FLAG_MANAGED_PROFILE); in setUp()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/ |
D | UtilsTest.java | 53 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 133 UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE)); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() 164 UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE)); in workProfileDisallowShareLocationOff_getAllUserLocationServices()
|
D | LocationEnablerTest.java | 207 .thenReturn(new UserInfo(5, "user 5", UserInfo.FLAG_MANAGED_PROFILE)); in mockManagedProfile()
|
D | LocationForWorkPreferenceControllerTest.java | 183 .thenReturn(new UserInfo(5, "user 5", UserInfo.FLAG_MANAGED_PROFILE)); in mockManagedProfile()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintProfileStatusPreferenceControllerTest.java | 78 new UserInfo(1234, "", UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE))); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | AutoSyncWorkDataPreferenceControllerTest.java | 114 MANAGED_PROFILE_ID, "work profile", UserInfo.FLAG_MANAGED_PROFILE)); in multipleProfile_shouldInitWithWorkProfileUserHandle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | VisiblePatternProfilePreferenceControllerTest.java | 89 FAKE_PROFILE_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE))); in setUp()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityRoboTest.java | 33 import static org.robolectric.shadows.ShadowUserManager.FLAG_MANAGED_PROFILE; 322 shadowOf(userManager).addProfile(0, 10, "profile name", FLAG_MANAGED_PROFILE); in activity_profileOwner_adminIntegrated_returnsIntermediateResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | VisibilityPreferenceControllerTest.java | 171 UserInfo userInfo = new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE); in testUpdateState_disabledByAdmin_disableSecure() 193 UserInfo userInfo = new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE); in testUpdateState_disabledByAdmin_disableUnredacted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
D | DefaultAutofillPickerTest.java | 195 MANAGED_PROFILE_UID, "managed", UserInfo.FLAG_MANAGED_PROFILE); in setupUserManager()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 236 UserInfo ui = new UserInfo(userId, null, UserInfo.FLAG_MANAGED_PROFILE); in addManagedProfile()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 107 if (profileFlags == UserInfo.FLAG_MANAGED_PROFILE) { in addProfile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 281 new UserInfo(WORK_USER_ID, "user10", UserInfo.FLAG_MANAGED_PROFILE);
|