/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | AddTrustedDevicePreferenceControllerTest.java | 97 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in refreshUi_hasPassword_preferenceEnabled() 108 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in refreshUi_noPassword_preferenceDisabled() 119 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in refreshUi_bluetoothAdapterEnabled_setsEmptySummary() 161 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser() 171 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_disabledForUser()
|
D | CredentialsResetPreferenceControllerTest.java | 72 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_noRestrictions_returnsAvailable() 80 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_userRestricted_returnsDisabledForUser()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 701 public boolean isCurrentProcessUserHasRestriction(String restriction) { in isCurrentProcessUserHasRestriction() method in CarUserManagerHelper 710 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS) in canCurrentProcessModifyAccounts() 719 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_ADD_USER); in canCurrentProcessAddUsers() 726 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_REMOVE_USER); in canCurrentProcessRemoveUsers() 739 isCurrentProcessUserHasRestriction(UserManager.DISALLOW_USER_SWITCH); in canCurrentProcessSwitchUsers()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | AddTrustedDevicePreferenceController.java | 60 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH) in isUserRestricted() 61 || mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in isUserRestricted()
|
D | CredentialsResetPreferenceController.java | 48 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_CONFIG_CREDENTIALS) in getAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | PairNewDevicePreferenceController.java | 85 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH) in isUserRestricted() 86 || mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in isUserRestricted()
|
D | BluetoothEntryPreferenceController.java | 55 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH) in getAvailabilityStatus()
|
D | BluetoothDevicePreferenceController.java | 78 return getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in getAvailabilityStatus()
|
D | BluetoothBondedDevicesPreferenceController.java | 50 if (!getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in createDevicePreference()
|
D | BluetoothNamePreferenceController.java | 72 preference.setSelectable(!getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in updateState()
|
D | BluetoothPreferenceController.java | 78 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH)) { in getAvailabilityStatus()
|
D | BluetoothUnbondedDevicesPreferenceController.java | 77 && getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in getAvailabilityStatus()
|
D | BluetoothSettingsFragment.java | 115 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH); in isUserRestricted()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothEntryPreferenceControllerTest.java | 73 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction(any())).thenReturn(false); in getAvailabilityStatus_bluetoothAvailable_available() 82 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_bluetoothAvailable_disallowBluetooth_disabledForUser()
|
D | PairNewDevicePreferenceControllerTest.java | 125 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser() 135 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_disabledForUser()
|
D | BluetoothBondedDevicesPreferenceControllerTest.java | 174 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment() 189 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in devicePreferenceButton_disallowConfigBluetooth_actionStaysHidden()
|
D | BluetoothSettingsFragmentTest.java | 171 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in stateChanged_on_userRestricted_setsSwitchDisabled() 218 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in stateChanged_off_userRestricted_setsSwitchDisabled()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceControllerTest.java | 107 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in setUp() 140 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_hasRestriction_disabledForUser() 151 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_hasMobileNetwork_isAdmin_noRestriction_available()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | MasterClearEntryPreferenceControllerTest.java | 92 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_adminUser_restricted_disabledForUser() 112 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_demoMode_demoUser_restricted_disabledForUser()
|
D | ResetNetworkEntryPreferenceControllerTest.java | 88 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus_adminUser_restricted_disabledForUser()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarUserManagerHelper.java | 157 protected boolean isCurrentProcessUserHasRestriction(String restriction) { in isCurrentProcessUserHasRestriction() method in ShadowCarUserManagerHelper 158 return sMockInstance.isCurrentProcessUserHasRestriction(restriction); in isCurrentProcessUserHasRestriction()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 242 enabled && !mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in updateForceStopButtonInner() 297 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in shouldDisableUninstallButton() 303 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in shouldDisableUninstallButton()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 166 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in onStart_appsControlUserRestriction_disablesForceStopButton() 445 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in onStart_appsControlUserRestriction_disablesUninstallButton() 457 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in onStart_uninstallAppsRestriction_disablesUninstallButton()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkEntryPreferenceController.java | 53 || mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_NETWORK_RESET); in isUserRestricted()
|
D | MasterClearEntryPreferenceController.java | 57 || mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_FACTORY_RESET); in isUserRestricted()
|