/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragmentTest.java | 211 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 …]
|
D | ProfileSelectLocationFragmentTest.java | 63 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/ |
D | ShadowUserManager.java | 78 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/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 131 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/ |
D | InteractAcrossProfilesSettingsTest.java | 105 mShadowUserManager.addProfile( in collectConfigurableApps_fromPersonal_returnsCombinedPackages() 130 mShadowUserManager.addProfile( in collectConfigurableApps_fromWork_returnsCombinedPackages() 171 mShadowUserManager.addProfile( in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
|
D | InteractAcrossProfilesDetailsTest.java | 81 mShadowUserManager.addProfile( in getPreferenceSummary_appOpAllowed_returnsAllowed() 104 mShadowUserManager.addProfile( in getPreferenceSummary_appOpNotAllowed_returnsNotAllowed()
|
D | InteractAcrossProfilesControllerTest.java | 53 shadowOf(mUserManager).addProfile( in getAvailabilityStatus_multipleProfiles_returnsAvailable()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/ota/ |
D | CrossProfileAppsPregrantControllerTest.java | 161 shadowOf(mUserManager).addProfile( in setRunningOnParentProfile() 166 shadowOf(mUserManager).addProfile( in setRunningOnManagedProfile()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RedactionInterstitialTest.java | 112 sum.addProfile( in managedProfileNoRestrictionsTest() 127 sum.addProfile( in managedProfileUnredactedRestrictionTest()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserDetailsSettingsTest.java | 782 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/ |
D | ProfileServiceTest.java | 134 doNothing().when(mAdapterService).addProfile(any()); in setUp() 273 .addProfile(start.capture()); in testProfileServiceRegisterUnregister()
|
D | AdapterServiceTest.java | 493 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/ |
D | ActionDisabledByAdminDialogHelperTest.java | 194 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/ |
D | ShadowUserManager.java | 60 public void addProfile( in addProfile() method in ShadowUserManager
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/ |
D | SendDpcBroadcastServiceTest.java | 110 shadowOf(mUserManager).addProfile( in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettingsFragmentTest.java | 198 ShadowUserManager.getShadow().addProfile(new UserInfo(userId, "", 0)); in setUpFragment()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityRoboTest.java | 322 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/ |
D | AdapterService.java | 420 public void addProfile(ProfileService profile) { in addProfile() method in AdapterService 1117 addProfile(mGattService); in startGattProfileService() 1546 addProfile(profileService); in setProfileServiceState()
|