/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()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 707 public boolean isCurrentProcessUserHasRestriction(String restriction) { in isCurrentProcessUserHasRestriction() method in CarUserManagerHelper 716 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS) in canCurrentProcessModifyAccounts() 725 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_ADD_USER); in canCurrentProcessAddUsers() 732 return !isCurrentProcessUserHasRestriction(UserManager.DISALLOW_REMOVE_USER); in canCurrentProcessRemoveUsers() 745 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()
|
/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 | BluetoothUnbondedDevicesPreferenceController.java | 73 && getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in getAvailabilityStatus()
|
D | BluetoothNamePreferenceController.java | 72 preference.setSelectable(!getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in updateState()
|
D | BluetoothBondedDevicesPreferenceController.java | 50 if (!getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in createDevicePreference()
|
D | BluetoothPreferenceController.java | 78 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH)) { in getAvailabilityStatus()
|
D | BluetoothSettingsFragment.java | 116 return mCarUserManagerHelper.isCurrentProcessUserHasRestriction(DISALLOW_BLUETOOTH); in isUserRestricted()
|
D | BluetoothScanningDevicesGroupPreferenceController.java | 98 return !getCarUserManagerHelper().isCurrentProcessUserHasRestriction( in shouldEnableScanning()
|
/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 | BluetoothSettingsFragmentTest.java | 169 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in stateChanged_on_userRestricted_setsSwitchDisabled() 216 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in stateChanged_off_userRestricted_setsSwitchDisabled()
|
D | BluetoothBondedDevicesPreferenceControllerTest.java | 174 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment() 189 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in devicePreferenceButton_disallowConfigBluetooth_actionStaysHidden()
|
/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 | 246 enabled && !mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in updateForceStopButtonInner() 301 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in shouldDisableUninstallButton() 307 if (mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in shouldDisableUninstallButton()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 164 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in onStart_appsControlUserRestriction_disablesForceStopButton() 443 when(mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in onStart_appsControlUserRestriction_disablesUninstallButton() 455 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()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceController.java | 79 boolean hasRestriction = mCarUserManagerHelper.isCurrentProcessUserHasRestriction( in getAvailabilityStatus()
|