Searched refs:deviceAdminInfo (Results 1 – 4 of 4) sorted by relevance
76 DeviceAdminInfo deviceAdminInfo = getDeviceAdminInfo(context, admin); in onAttach() local77 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()
77 DeviceAdminInfo deviceAdminInfo) { in setDeviceAdmin() argument78 mDeviceAdminInfo = Objects.requireNonNull(deviceAdminInfo); in setDeviceAdmin()
260 final DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo(mContext, ai); in addActiveAdminsForProfile() local261 if (deviceAdminInfo == null) { in addActiveAdminsForProfile()264 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addActiveAdminsForProfile()296 DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo( in addDeviceAdminBroadcastReceiversForProfile() local299 if (deviceAdminInfo != null && deviceAdminInfo.isVisible()) { in addDeviceAdminBroadcastReceiversForProfile()300 if (!deviceAdminInfo.getActivityInfo().applicationInfo.isInternal()) { in addDeviceAdminBroadcastReceiversForProfile()303 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addDeviceAdminBroadcastReceiversForProfile()
253 final DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo(mContext, ai); in addActiveAdminsForProfile() local254 if (deviceAdminInfo == null) { in addActiveAdminsForProfile()257 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addActiveAdminsForProfile()289 DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo( in addDeviceAdminBroadcastReceiversForProfile() local292 if (deviceAdminInfo != null && deviceAdminInfo.isVisible()) { in addDeviceAdminBroadcastReceiversForProfile()293 if (!deviceAdminInfo.getActivityInfo().applicationInfo.isInternal()) { in addDeviceAdminBroadcastReceiversForProfile()296 mAdmins.add(new DeviceAdminListItem(mContext, deviceAdminInfo)); in addDeviceAdminBroadcastReceiversForProfile()