Home
last modified time | relevance | path

Searched refs:DISABLED_FOR_USER (Results 1 – 25 of 113) sorted by relevance

12345

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearEntryPreferenceControllerTest.java22 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
79 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_nonAdminUser_disabledForUser()
95 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_adminUser_restricted_disabledForUser()
117 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_demoMode_demoUser_restricted_disabledForUser()
DResetNetworkEntryPreferenceControllerTest.java22 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
75 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_nonAdminUser_disabledForUser()
91 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_adminUser_restricted_disabledForUser()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DWriteSystemSettingsPreferenceController.java36 return DISABLED_FOR_USER; in getAvailabilityStatus()
40 return DISABLED_FOR_USER; in getAvailabilityStatus()
47 return DISABLED_FOR_USER; in getAvailabilityStatus()
DDrawOverlayDetailPreferenceController.java36 return DISABLED_FOR_USER; in getAvailabilityStatus()
40 return DISABLED_FOR_USER; in getAvailabilityStatus()
47 return DISABLED_FOR_USER; in getAvailabilityStatus()
DExternalSourceDetailPreferenceController.java40 return DISABLED_FOR_USER; in getAvailabilityStatus()
42 return isPotentialAppSource() ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()
DAppInstallerInfoPreferenceController.java43 return DISABLED_FOR_USER; in getAvailabilityStatus()
45 return mInstallerLabel != null ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DDrawOverlayDetailPreferenceController.java36 return DISABLED_FOR_USER; in getAvailabilityStatus()
40 return DISABLED_FOR_USER; in getAvailabilityStatus()
47 return DISABLED_FOR_USER; in getAvailabilityStatus()
DWriteSystemSettingsPreferenceController.java36 return DISABLED_FOR_USER; in getAvailabilityStatus()
40 return DISABLED_FOR_USER; in getAvailabilityStatus()
47 return DISABLED_FOR_USER; in getAvailabilityStatus()
DExternalSourceDetailPreferenceController.java40 return DISABLED_FOR_USER; in getAvailabilityStatus()
42 return isPotentialAppSource() ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()
DAppInstallerInfoPreferenceController.java43 return DISABLED_FOR_USER; in getAvailabilityStatus()
45 return mInstallerLabel != null ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarDisabledPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.DISABLED_FOR_USER;
89 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_somePackagesAllowed_shouldBeDisabledForUser()
97 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_allPackagesAllowed_shouldBeDisabledForUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DDrawOverlayDetailPreferenceControllerTest.java74 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_managedProfile_shouldReturnDisabled()
83 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_noPermissionRequested_shouldReturnDisabled()
94 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_noSystemAlertWindowPermission_shouldReturnDisabled()
DWriteSystemSettingsPreferenceControllerTest.java74 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_managedProfile_shouldReturnDisabled()
83 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_noPermissionRequested_shouldReturnDisabled()
94 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in getAvailabilityStatus_noWriteSettingsPermission_shouldReturnDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DVisiblePatternProfilePreferenceControllerTest.java24 import static com.android.settings.core.BasePreferenceController.DISABLED_FOR_USER;
98 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_notSecure_DISABLED()
107 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_secureWithPassword_DISABLED()
DSimLockPreferenceControllerTest.java89 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in isAvailable_notAdmin_false()
97 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in isAvailable_simIccNotReady_false()
109 .isEqualTo(BasePreferenceController.DISABLED_FOR_USER); in isAvailable_carrierConfigDisabled_false()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockScreenPreferenceControllerTest.java25 import static com.android.settings.core.BasePreferenceController.DISABLED_FOR_USER;
94 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_notSecure_lockscreenDisabled_DISABLED()
120 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_secure_noLockScreen_DISABLED()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DBasePreferenceControllerTest.java22 import static com.android.settings.core.BasePreferenceController.DISABLED_FOR_USER;
103 mPreferenceController.setAvailability(DISABLED_FOR_USER); in isAvailable_availableStatusDisabledForUser_returnsFalse()
131 mPreferenceController.setAvailability(DISABLED_FOR_USER); in isSupported_availableStatusDisabledForUser_returnsTrue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DAddTrustedDevicePreferenceControllerTest.java24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
164 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser()
174 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_disabledForUser()
DSecurityEntryPreferenceControllerTest.java20 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
68 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_guestUser_disabledForUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DPairNewDevicePreferenceControllerTest.java24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
128 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_disallowBluetoothUserRestriction_disabledForUser()
138 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_disabledForUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DMultiUserFooterPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.DISABLED_FOR_USER;
59 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_multiUserOn_shouldReturnDisabled()
/packages/apps/Settings/src/com/android/settings/users/
DAddUserWhenLockedPreferenceController.java53 return DISABLED_FOR_USER; in getAvailabilityStatus()
55 return DISABLED_FOR_USER; in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAddUserWhenLockedPreferenceController.java53 return DISABLED_FOR_USER; in getAvailabilityStatus()
55 return DISABLED_FOR_USER; in getAvailabilityStatus()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountsEntryPreferenceControllerTest.java20 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
68 assertThat(mController.getAvailabilityStatus()).isEqualTo(DISABLED_FOR_USER); in getAvailabilityStatus_cannotModifyAccounts_disabledForUser()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DLockScreenPreferenceController.java57 ? DISABLED_FOR_USER : AVAILABLE_UNSEARCHABLE; in getAvailabilityStatus()
61 ? DISABLED_FOR_USER : AVAILABLE_UNSEARCHABLE; in getAvailabilityStatus()

12345