/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | EnterpriseUtilsTest.java | 32 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/ |
D | ShadowDevicePolicyManager.java | 37 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()
|
D | ShadowRestrictedLockUtils.java | 32 protected static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 72 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()
|
D | ActionDisabledByAdminDialog.java | 49 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/ |
D | DeviceAdminAddActionPreferenceController.java | 66 ComponentName admin = mDeviceAdminInfo.getComponent(); in handlePreferenceClicked() local 82 ComponentName admin = mDeviceAdminInfo.getComponent(); in setIsActive() local
|
D | ActionDisabledByAdminDialogFragment.java | 123 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()
|
D | EnterpriseUtils.java | 59 public static DeviceAdminInfo getDeviceAdminInfo(Context context, ComponentName admin) { in getDeviceAdminInfo()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/ |
D | ParentalControlsUtilsTest.java | 92 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/ |
D | ActionDisabledByAdminDialog.java | 52 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 59 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
|
D | ActionDisabledByAdminDialogHelper.java | 59 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/ |
D | UninstallPreference.java | 74 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/ |
D | EditProxySettingsActivity.java | 81 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in onCreate() local 93 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate() local
|
D | EditIpSettingsActivity.java | 80 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in onCreate() local 92 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate() local
|
D | NetworkRequestDialogActivity.java | 43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 229 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/ |
D | ActionDisabledByAdminDialogHelperTest.java | 145 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/ |
D | KnownNetworkState.java | 133 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(getActivity(), in onGuidedActionClicked() local 135 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getActivity(), admin); in onGuidedActionClicked() local
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenTimeoutPreferenceController.java | 60 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/ |
D | AboutFragment.java | 302 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/ |
D | ExternalSources.java | 87 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/ |
D | AccessoriesFragment.java | 119 RestrictedLockUtils.EnforcedAdmin admin = in updateAccessories() local 125 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), admin); in updateAccessories() local
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ProviderPreference.java | 50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentManager.java | 62 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/ |
D | FactoryResetActivity.java | 54 RestrictedLockUtils.EnforcedAdmin admin = in onCreate() local
|