/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UserDetailsBaseFragmentTest.java | 103 getShadowUserManager().setUserRestriction( in testRemoveUserButtonVisible_whenAllowedToRemoveUsers() 112 getShadowUserManager().setUserRestriction( in testRemoveUserButtonHidden_whenNotAllowedToRemoveUsers() 121 getShadowUserManager().setUserRestriction( in testRemoveUserButtonHidden_whenUserIsSystemUser() 131 getShadowUserManager().setUserRestriction( in testRemoveUserButtonHidden_demoUser() 141 getShadowUserManager().setUserRestriction( in testRemoveUserButtonClick_createsRemovalDialog() 159 getShadowUserManager().addUser(testUser.id, "testUser", /* flags= */ 0); in createUserDetailsBaseFragment() 172 getShadowUserManager().addUser(userInfo.id, userInfo.name, userInfo.flags); in setCurrentUserWithFlags() 175 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in UserDetailsBaseFragmentTest
|
D | PermissionsPreferenceControllerTest.java | 96 getShadowUserManager().setUserRestriction( in testRefreshUi_setToFalse() 107 getShadowUserManager().setUserRestriction( in testRefreshUi_setToTrue() 117 getShadowUserManager().setUserRestriction( in testOnPreferenceChange_changeToFalse() 128 getShadowUserManager().setUserRestriction( in testOnPreferenceChange_changeToTrue() 147 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in PermissionsPreferenceControllerTest
|
D | UserIconProviderTest.java | 74 assertThat(getShadowUserManager().getUserIcon(mUserInfo.id)).isNotNull(); in getRoundedUserIcon_AssignsIconIfNotPresent() 85 assertThat(getShadowUserManager().getUserIcon(mUserInfo.id)).isNotNull(); in assignDefaultIcon_AssignsIconForNonGuest() 98 assertThat(getShadowUserManager().getUserIcon(guestUserInfo.id)).isNotNull(); in assignDefaultIcon_AssignsIconForGuest() 101 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in UserIconProviderTest
|
D | UsersListPreferenceControllerTest.java | 76 getShadowUserManager().addUser(TEST_CURRENT_USER.id, TEST_CURRENT_USER.name, in setUp() 78 getShadowUserManager().switchUser(TEST_CURRENT_USER.id); in setUp() 117 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in UsersListPreferenceControllerTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceControllerTest.java | 102 getShadowUserManager().setIsAdminUser(true); in setUp() 103 getShadowUserManager().setUserRestriction( in setUp() 125 getShadowUserManager().setIsAdminUser(false); in getAvailabilityStatus_notAdmin_disabledForUser() 134 getShadowUserManager().setIsAdminUser(true); in getAvailabilityStatus_hasRestriction_disabledForUser() 135 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_hasRestriction_disabledForUser() 145 getShadowUserManager().setIsAdminUser(true); in getAvailabilityStatus_hasMobileNetwork_isAdmin_noRestriction_available() 146 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_hasMobileNetwork_isAdmin_noRestriction_available() 289 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in MobileNetworkEntryPreferenceControllerTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | ResetNetworkEntryPreferenceControllerTest.java | 63 getShadowUserManager().setIsAdminUser(false); in getAvailabilityStatus_nonAdminUser_disabledForUser() 70 getShadowUserManager().setIsAdminUser(true); in getAvailabilityStatus_adminUser_available() 77 getShadowUserManager().setIsAdminUser(true); in getAvailabilityStatus_adminUser_restricted_disabledForUser() 78 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_adminUser_restricted_disabledForUser() 84 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in ResetNetworkEntryPreferenceControllerTest
|
D | MasterClearEntryPreferenceControllerTest.java | 87 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_adminUser_restricted_disabledForUser() 105 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_demoMode_demoUser_restricted_disabledForUser() 114 getShadowUserManager().addUser(SECONDARY_USER_ID, "test name", flags); in createAndSwitchToSecondaryUserWithFlags() 115 getShadowUserManager().switchUser(SECONDARY_USER_ID); in createAndSwitchToSecondaryUserWithFlags() 118 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in MasterClearEntryPreferenceControllerTest
|
D | MasterClearAccountsPreferenceControllerTest.java | 64 getShadowUserManager().addProfile(mUserId, mUserId, in setUp() 106 getShadowUserManager().addProfile(mUserId, profileId1, in refreshUi_multipleProfiles_showsAllAccounts() 112 getShadowUserManager().addProfile(mUserId, profileId2, in refreshUi_multipleProfiles_showsAllAccounts() 178 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in MasterClearAccountsPreferenceControllerTest
|
D | DeveloperOptionsEntryPreferenceControllerTest.java | 68 getShadowUserManager().addUser(UserHandle.myUserId(), "test name", UserInfo.FLAG_ADMIN); in setUp() 86 getShadowUserManager().setUserRestriction( in testGetAvailabilityStatus_devOptionsEnabled_hasUserRestriction_isUnavailable() 103 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in DeveloperOptionsEntryPreferenceControllerTest
|
D | BuildNumberPreferenceControllerTest.java | 66 getShadowUserManager() in setUp() 177 getShadowUserManager().addUser(userInfo.id, userInfo.name, userInfo.flags); in setCurrentUserWithFlags() 180 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BuildNumberPreferenceControllerTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtilTest.java | 87 getShadowUserManager().setUserRestriction( in isEnabled_hasDisallowDebuggingRestriction_shouldReturnFalse() 103 getShadowUserManager().setUserRestriction( in isEnabled_doesNotHaveDisallowDebuggingRestriction_shouldReturnTrue() 149 getShadowUserManager().addUser(UserHandle.myUserId(), "test name", flags); in setCurrentUserWithFlags() 152 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in DevelopmentSettingsUtilTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | SecurityEntryPreferenceControllerTest.java | 57 getShadowUserManager().addUser(UserHandle.myUserId(), "name", UserInfo.FLAG_GUEST); in getAvailabilityStatus_guestUser_disabledForUser() 64 getShadowUserManager().addUser(UserHandle.myUserId(), "name", /* flags= */ 0); in getAvailabilityStatus_nonGuestUser_available() 69 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in SecurityEntryPreferenceControllerTest
|
D | CredentialsResetPreferenceControllerTest.java | 62 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_noRestrictions_returnsAvailable() 70 getShadowUserManager().setUserRestriction(mMyUserHandle, DISALLOW_CONFIG_CREDENTIALS, true); in getAvailabilityStatus_userRestricted_returnsDisabledForUser() 77 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in CredentialsResetPreferenceControllerTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 103 getShadowUserManager().addUser(userId, "userName", /* flags= */ 0); in setUp() 104 getShadowUserManager().addProfile(userId, userId, "profileName", /* profileFlags= */ 0); in setUp() 155 getShadowUserManager().setUserRestriction( in onStart_appsControlUserRestriction_disablesForceStopButton() 434 getShadowUserManager().setUserRestriction( in onStart_appsControlUserRestriction_disablesUninstallButton() 446 getShadowUserManager().setUserRestriction( in onStart_uninstallAppsRestriction_disablesUninstallButton() 593 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in ApplicationDetailsFragmentTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | PairNewDevicePreferenceControllerTest.java | 121 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser() 131 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_disabledForUser() 192 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in PairNewDevicePreferenceControllerTest
|
D | BluetoothSettingsFragmentTest.java | 170 getShadowUserManager().setUserRestriction( in stateChanged_on_userRestricted_setsSwitchDisabled() 217 getShadowUserManager().setUserRestriction( in stateChanged_off_userRestricted_setsSwitchDisabled() 252 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothSettingsFragmentTest
|
D | BluetoothBondedDevicesPreferenceControllerTest.java | 174 getShadowUserManager().setUserRestriction(mMyUserHandle, DISALLOW_CONFIG_BLUETOOTH, false); in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment() 188 getShadowUserManager().setUserRestriction(mMyUserHandle, DISALLOW_CONFIG_BLUETOOTH, true); in devicePreferenceButton_disallowConfigBluetooth_actionStaysHidden() 230 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothBondedDevicesPreferenceControllerTest
|
D | BluetoothEntryPreferenceControllerTest.java | 71 getShadowUserManager().setUserRestriction(mMyUserHandle, DISALLOW_BLUETOOTH, true); in getAvailabilityStatus_bluetoothAvailable_disallowBluetooth_disabledForUser() 84 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothEntryPreferenceControllerTest
|
D | BluetoothDevicePreferenceControllerTest.java | 102 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_disallowConfigBluetooth_disabledForUser() 147 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothDevicePreferenceControllerTest
|
D | BluetoothNamePreferenceControllerTest.java | 106 getShadowUserManager().setUserRestriction( in refreshUi_userHasConfigRestriction_setsNotSelectable() 163 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothNamePreferenceControllerTest
|
D | BluetoothPreferenceControllerTest.java | 104 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser() 158 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothPreferenceControllerTest
|
D | BluetoothUnbondedDevicesPreferenceControllerTest.java | 203 getShadowUserManager().setUserRestriction( in getAvailabilityStatus_disallowConfigBluetooth_disabledForUser() 214 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothUnbondedDevicesPreferenceControllerTest
|
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 121 getShadowUserManager().setUserRestriction( in disallowConfigBluetooth_doesNotStartScanning() 315 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in BluetoothScanningDevicesGroupPreferenceControllerTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSettingsFragmentTest.java | 124 getShadowUserManager().addProfile(mUserId, mUserId, in clickAddAccountButton_shouldNotOpenChooseAccountFragmentWhenOneType() 140 getShadowUserManager().addProfile(mUserId, mUserId, in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenTwoTypes() 169 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in AccountSettingsFragmentTest
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainAppPreferenceControllerTest.java | 84 getShadowUserManager().addProfile(mUserId, mUserId, "Test Name", /* profileFlags= */ in setUp() 159 private ShadowUserManager getShadowUserManager() { in getShadowUserManager() method in DomainAppPreferenceControllerTest
|