Home
last modified time | relevance | path

Searched defs:userRestriction (Results 1 – 25 of 218) sorted by relevance

123456789

/aosp_15_r20/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java41 private String userRestriction; field in RestrictedAppPreference
48 public RestrictedAppPreference(Context context, String userRestriction) { in RestrictedAppPreference()
53 public RestrictedAppPreference(Context context, AttributeSet attrs, String userRestriction) { in RestrictedAppPreference()
58 private void initialize(AttributeSet attrs, String userRestriction) { in initialize()
128 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
132 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
/aosp_15_r20/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DRestrictedLockUtilsTest.java113 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_deviceOwner() local
138 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_profileOwner() local
162 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_getEnforcingAdminExists() local
187 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_getEnforcingAdminReturnsNull_deviceOwner() local
214 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_getEnforcingAdminReturnsNull_profileOwner() local
238 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in isPolicyEnforcedByAdvancedProtection_notEnforced_returnsFalse() local
267 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in isPolicyEnforcedByAdvancedProtection_enforced_returnsTrue() local
H A DRestrictedPreferenceHelperTest.java135 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in bindPreference_disabled_byAdvancedProtection_shouldDisplayDisabledSummary() local
164 final String userRestriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY; in bindPreference_disabled_byAdmin_shouldDisplayDisabledSummary() local
275 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in isRestrictionEnforcedByAdvancedProtection_notEnforced_returnsFalse() local
298 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in isRestrictionEnforcedByAdvancedProtection_enforced_returnsTrue() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/accounts/
DAccountRestrictionHelper.java51 String userRestriction, @UserIdInt int userId) { in enforceRestrictionOnPreference()
67 public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId) { in hasBaseUserRestriction()
81 private EnforcedAdmin getEnforcedAdmin(String userRestriction, int userId) { in getEnforcedAdmin()
/aosp_15_r20/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
H A DDualSuspendTests.java148 private void assertDpmCanSuspendUnderUserRestriction(String userRestriction) throws Exception { in assertDpmCanSuspendUnderUserRestriction()
183 private void assertUnsuspendedOnUserRestriction(String userRestriction) throws Exception { in assertUnsuspendedOnUserRestriction()
220 private void assertCannotSuspendUnderUserRestriction(String userRestriction) throws Exception { in assertCannotSuspendUnderUserRestriction()
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/qs/tiles/base/interactor/
DRestrictedLockProxy.java35 public final boolean hasBaseUserRestriction(int userId, @org.jetbrains.annotations.Nullable() in hasBaseUserRestriction()
42 …estrictedLockUtils.EnforcedAdmin getEnforcedAdmin(int userId, @org.jetbrains.annotations.Nullable() in getEnforcedAdmin()
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/utils/
DUserRestrictionChecker.java21 android.content.Context context, @org.jetbrains.annotations.NotNull() in checkIfRestrictionEnforced()
27 android.content.Context context, @org.jetbrains.annotations.NotNull() in hasBaseUserRestriction()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogTest.java119 final String userRestriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY; in testGetAdminDetailsFromIntent_nullComponent_advancedProtection_launchesNewDialog() local
147 final String userRestriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY; in testGetAdminDetailsFromIntent_nullComponent_notAdvancedProtection_retrievesAdmin() local
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedTopLevelPreference.java84 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
94 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
H A DRestrictedSelectorWithWidgetPreference.java117 public void checkRestrictionAndSetDisabled(@NonNull String userRestriction) { in checkRestrictionAndSetDisabled()
127 public void checkRestrictionAndSetDisabled(@NonNull String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
H A DRestrictedPreference.java99 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
103 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
H A DRestrictedPreferenceHelper.java77 final TypedValue userRestriction = in RestrictedPreferenceHelper() local
196 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
H A DRestrictedSwitchPreference.java210 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
214 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
/aosp_15_r20/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRestrictedPreferenceAdapter.java80 String userRestriction) { in RestrictedPreferenceAdapter()
92 String userRestriction) { in adapt()
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DInjectedSetting.java72 public final String userRestriction; field in InjectedSetting
173 public Builder setUserRestriction(String userRestriction) { in setUserRestriction()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictedLockUtilsInternal.java97 String userRestriction, int userId) { in hasBaseUserRestriction()
103 String userRestriction, int userId) { in checkIfRestrictionEnforced()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
H A DPolicyTransparencyTestActivity.java161 final String userRestriction = getIntent().getStringExtra( in updateTestInstructions() local
221 final String userRestriction = getIntent().getStringExtra( in onCheckedChanged() local
/aosp_15_r20/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java81 String userRestriction, int userId) { in checkIfRestrictionEnforced()
125 String userRestriction, int userId) { in hasBaseUserRestriction()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java459 private SliceData getMockData(Class prefController, int sliceType, String userRestriction) { in getMockData()
471 String screenTitle, int icon, String unavailableSliceSubtitle, String userRestriction) { in getMockData()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DShadowRestrictedPreference.java28 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/security/
DRestrictedEncryptionPreferenceController.java34 public RestrictedEncryptionPreferenceController(Context context, String userRestriction) { in RestrictedEncryptionPreferenceController()
/aosp_15_r20/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DWifiTile.java60 String userRestriction = UserManager.DISALLOW_CONFIG_WIFI; in getQCItem() local
DBluetoothSwitch.java54 String userRestriction = UserManager.DISALLOW_CONFIG_BLUETOOTH; in getQCItem() local
DWifiRow.java67 String userRestriction = UserManager.DISALLOW_CONFIG_WIFI; in getQCItem() local
DMobileDataTile.java65 String userRestriction = UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS; in getQCItem() local

123456789