Home
last modified time | relevance | path

Searched refs:deviceAdminInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragment.java76 DeviceAdminInfo deviceAdminInfo = getDeviceAdminInfo(context, admin); in onAttach() local
77 LOG.d("Admin: " + admin + " DeviceAdminInfo: " + deviceAdminInfo); in onAttach()
79 if (deviceAdminInfo == null) { in onAttach()
87 R.string.pk_device_admin_add_header).setDeviceAdmin(deviceAdminInfo); in onAttach()
90 R.string.pk_device_admin_add_explanation).setDeviceAdmin(deviceAdminInfo)) in onAttach()
94 R.string.pk_device_admin_add_warning).setDeviceAdmin(deviceAdminInfo); in onAttach()
96 R.string.pk_device_admin_add_policies).setDeviceAdmin(deviceAdminInfo); in onAttach()
98 R.string.pk_device_admin_add_support).setDeviceAdmin(deviceAdminInfo); in onAttach()
100 R.string.pk_device_admin_add_action).setDeviceAdmin(deviceAdminInfo); in onAttach()
102 R.string.pk_device_admin_add_cancel).setDeviceAdmin(deviceAdminInfo); in onAttach()
DBaseDeviceAdminAddPreferenceController.java77 DeviceAdminInfo deviceAdminInfo) { in setDeviceAdmin() argument
78 mDeviceAdminInfo = Objects.requireNonNull(deviceAdminInfo); in setDeviceAdmin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListPreferenceController.java260 final DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo(mContext, ai); in addActiveAdminsForProfile() local
261 if (deviceAdminInfo == null) { in addActiveAdminsForProfile()
264 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addActiveAdminsForProfile()
296 DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo( in addDeviceAdminBroadcastReceiversForProfile() local
299 if (deviceAdminInfo != null && deviceAdminInfo.isVisible()) { in addDeviceAdminBroadcastReceiversForProfile()
300 if (!deviceAdminInfo.getActivityInfo().applicationInfo.isInternal()) { in addDeviceAdminBroadcastReceiversForProfile()
303 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addDeviceAdminBroadcastReceiversForProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java253 final DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo(mContext, ai); in addActiveAdminsForProfile() local
254 if (deviceAdminInfo == null) { in addActiveAdminsForProfile()
257 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addActiveAdminsForProfile()
289 DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo( in addDeviceAdminBroadcastReceiversForProfile() local
292 if (deviceAdminInfo != null && deviceAdminInfo.isVisible()) { in addDeviceAdminBroadcastReceiversForProfile()
293 if (!deviceAdminInfo.getActivityInfo().applicationInfo.isInternal()) { in addDeviceAdminBroadcastReceiversForProfile()
296 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addDeviceAdminBroadcastReceiversForProfile()