Home
last modified time | relevance | path

Searched refs:addProfile (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java211 mUserManager.addProfile( in testGetFragments_whenOnlyPersonal_returnsOneFragment()
224 mUserManager.addProfile( in testGetFragments_whenPrivateDisabled_returnsOneFragment()
226 mUserManager.addProfile( in testGetFragments_whenPrivateDisabled_returnsOneFragment()
247 mUserManager.addProfile( in testGetFragments_whenPrivateEnabled_returnsTwoFragments()
249 mUserManager.addProfile( in testGetFragments_whenPrivateEnabled_returnsTwoFragments()
270 mUserManager.addProfile( in testGetFragments_whenManagedProfile_returnsTwoFragments()
272 mUserManager.addProfile( in testGetFragments_whenManagedProfile_returnsTwoFragments()
293 mUserManager.addProfile( in testGetFragments_whenAllProfiles_returnsThreeFragments()
295 mUserManager.addProfile( in testGetFragments_whenAllProfiles_returnsThreeFragments()
297 mUserManager.addProfile( in testGetFragments_whenAllProfiles_returnsThreeFragments()
[all …]
DProfileSelectLocationFragmentTest.java63 mUserManager.addProfile( in setUp()
65 mUserManager.addProfile( in setUp()
67 mUserManager.addProfile( in setUp()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java78 public void addProfile(UserInfo userInfo) { in addProfile() method in ShadowUserManager
102 public void addProfile( in addProfile() method in ShadowUserManager
105 addProfile(profileUserInfo); in addProfile()
233 addProfile(new UserInfo(id, "managed" + id, null, 0, USER_TYPE_PROFILE_MANAGED)); in setManagedProfiles()
240 addProfile(new UserInfo(id, name, null, flags, USER_TYPE_PROFILE_PRIVATE)); in setPrivateProfile()
247 addProfile(getPrimaryUser()); in addPrimaryUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationInjectedServicesPreferenceControllerTest.java131 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
132 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
162 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in workProfileDisallowShareLocationOff_getAllUserLocationServices()
163 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOff_getAllUserLocationServices()
192 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in privateProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
227 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in privateProfileDisallowShareLocationOff_getAllUserLocationServices()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesSettingsTest.java105 mShadowUserManager.addProfile( in collectConfigurableApps_fromPersonal_returnsCombinedPackages()
130 mShadowUserManager.addProfile( in collectConfigurableApps_fromWork_returnsCombinedPackages()
171 mShadowUserManager.addProfile( in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
DInteractAcrossProfilesDetailsTest.java81 mShadowUserManager.addProfile( in getPreferenceSummary_appOpAllowed_returnsAllowed()
104 mShadowUserManager.addProfile( in getPreferenceSummary_appOpNotAllowed_returnsNotAllowed()
DInteractAcrossProfilesControllerTest.java53 shadowOf(mUserManager).addProfile( in getAvailabilityStatus_multipleProfiles_returnsAvailable()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantControllerTest.java161 shadowOf(mUserManager).addProfile( in setRunningOnParentProfile()
166 shadowOf(mUserManager).addProfile( in setRunningOnManagedProfile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java112 sum.addProfile( in managedProfileNoRestrictionsTest()
127 sum.addProfile( in managedProfileUnredactedRestrictionTest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java782 mUserManager.addProfile(mUserInfo); in setupSelectedUser()
791 mUserManager.addProfile(mUserInfo); in setupSelectedMainUser()
800 mUserManager.addProfile(mUserInfo); in setupSelectedAdminUser()
809 mUserManager.addProfile(mUserInfo); in setupSelectedGuest()
818 mUserManager.addProfile(mUserInfo); in setupSelectedRestrictedUser()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java134 doNothing().when(mAdapterService).addProfile(any()); in setUp()
273 .addProfile(start.capture()); in testProfileServiceRegisterUnregister()
DAdapterServiceTest.java493 adapter.addProfile(service); in doEnable()
783 mAdapterService.addProfile(service); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController()
835 mAdapterService.addProfile(mMockService); in testProfileStartTimeout()
837 mAdapterService.addProfile(mMockService2); in testProfileStartTimeout()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java194 userManagerShadow.addProfile(new UserInfo(123, null, 0)); in testSetAdminSupportDetailsNotAdmin()
241 userManagerShadow.addProfile(new UserInfo(123, null, 0)); in createShadowWorkProfile()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java60 public void addProfile( in addProfile() method in ShadowUserManager
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/
DSendDpcBroadcastServiceTest.java110 shadowOf(mUserManager).addProfile( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettingsFragmentTest.java198 ShadowUserManager.getShadow().addProfile(new UserInfo(userId, "", 0)); in setUpFragment()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java322 shadowOf(userManager).addProfile(0, 10, "profile name", FLAG_MANAGED_PROFILE); in activity_profileOwner_adminIntegrated_returnsIntermediateResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java420 public void addProfile(ProfileService profile) { in addProfile() method in AdapterService
1117 addProfile(mGattService); in startGattProfileService()
1546 addProfile(profileService); in setProfileServiceState()