Home
last modified time | relevance | path

Searched defs:admin (Results 1 – 25 of 120) sorted by relevance

12345

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterpriseUtilsTest.java32 ComponentName admin = getAdminWithinPackage(mSpiedContext, mPackageName); in testGetAdminWithinPackage_notFound() local
41 ComponentName admin = getAdminWithinPackage(mSpiedContext, mPackageName); in testGetAdminWithinPackage_found() local
48 ComponentName admin = new ComponentName("Bond", "James Bond"); in testGetDeviceAdminInfo_notFound() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java37 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) { in setShortSupportMessageForUser()
42 protected @Nullable CharSequence getShortSupportMessageForUser(@NonNull ComponentName admin, in getShortSupportMessageForUser()
48 protected boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
58 protected long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) { in getMaximumTimeToLock()
79 public void setDeviceOwnerComponentOnAnyUser(ComponentName admin) { in setDeviceOwnerComponentOnAnyUser()
83 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType()
89 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType()
DShadowRestrictedLockUtils.java32 protected static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java72 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId()
104 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
116 ComponentName admin = enforcedAdmin.component; in initializeDialogViews() local
140 private boolean isNotCurrentUserOrProfile(ComponentName admin, int userId) { in isNotCurrentUserOrProfile()
146 void setAdminSupportIcon(View root, ComponentName admin, int userId) { in setAdminSupportIcon()
DActionDisabledByAdminDialog.java49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local
56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddActionPreferenceController.java66 ComponentName admin = mDeviceAdminInfo.getComponent(); in handlePreferenceClicked() local
82 ComponentName admin = mDeviceAdminInfo.getComponent(); in setIsActive() local
DActionDisabledByAdminDialogFragment.java123 private static @UserIdInt int getEnforcementAdminUserId(@Nullable EnforcedAdmin admin) { in getEnforcementAdminUserId()
130 ComponentName admin = null; in initializeDialogViews() local
152 private boolean isNotCurrentUserOrProfile(Context context, ComponentName admin, in isNotCurrentUserOrProfile()
159 ComponentName admin, @UserIdInt int userId) { in setAdminSupportIcon()
DEnterpriseUtils.java59 public static DeviceAdminInfo getDeviceAdminInfo(Context context, ComponentName admin) { in getDeviceAdminInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
DParentalControlsUtilsTest.java92 RestrictedLockUtils.EnforcedAdmin admin = getEnforcedAdminForCombination( in testEnforcedAdmin_whenDpmDisablesBiometricsAndSupervisionComponentExists() local
104 RestrictedLockUtils.EnforcedAdmin admin = getEnforcedAdminForCombination( in testNoEnforcedAdmin_whenNoSupervisionComponent() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionDisabledByAdminDialog.java52 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local
59 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
DActionDisabledByAdminDialogHelper.java59 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId()
98 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
108 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallPreference.java74 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in refresh() local
104 RestrictedLockUtils.EnforcedAdmin admin = in isUninstallRestricted() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEditProxySettingsActivity.java81 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in onCreate() local
93 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate() local
DEditIpSettingsActivity.java80 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in onCreate() local
92 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate() local
DNetworkRequestDialogActivity.java43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java229 private void setDeviceOwner(int userId, ComponentName admin) { in setDeviceOwner()
234 private void addManagedProfile(int userId, ComponentName admin) { in addManagedProfile()
242 private void addManagedUser(int userId, ComponentName admin) { in addManagedUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java145 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetails() local
166 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetails_shortSupportMessageIsNull() local
188 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetailsNotAdmin() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DKnownNetworkState.java133 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(getActivity(), in onGuidedActionClicked() local
135 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getActivity(), admin); in onGuidedActionClicked() local
/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutPreferenceController.java60 final RestrictedLockUtils.EnforcedAdmin admin = getPreferenceDisablingAdmin(maxTimeout); in updateState() local
94 RestrictedLockUtils.EnforcedAdmin admin = null; in getPreferenceDisablingAdmin() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java302 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in onPreferenceTreeClick() local
307 admin); in onPreferenceTreeClick() local
332 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in onPreferenceTreeClick() local
336 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), admin); in onPreferenceTreeClick() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DExternalSources.java87 EnforcedAdmin admin = checkIfRestrictionEnforcedByAdmin(entry); in bindPreference() local
100 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoriesFragment.java119 RestrictedLockUtils.EnforcedAdmin admin = in updateAccessories() local
125 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), admin); in updateAccessories() local
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java62 public RestrictedLockUtils.EnforcedAdmin admin = null; field in TrustAgentManager.TrustAgentComponentInfo
117 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in getActiveTrustAgents() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/oemlink/
DFactoryResetActivity.java54 RestrictedLockUtils.EnforcedAdmin admin = in onCreate() local

12345