Searched refs:DevicePolicyGroup (Results 1 – 6 of 6) sorted by relevance
30 DevicePolicyGroup group = new DevicePolicyGroup.Builder().build(); in builder_buildWithoutParameters_usesDefaultValues()37 DevicePolicyGroup group = new DevicePolicyGroup.Builder() in builder_buildWithParameters_usesGivenParameters()48 DevicePolicyGroup g1 = new DevicePolicyGroup.Builder().setTitleTextId(0).build(); in equals_withDifferentGroupTitleTextId_returnsFalse()49 DevicePolicyGroup g2 = new DevicePolicyGroup.Builder().setTitleTextId(1).build(); in equals_withDifferentGroupTitleTextId_returnsFalse()56 DevicePolicyGroup g1 = new DevicePolicyGroup.Builder().setTitleTextId(0).build(); in equals_withSameGroupTitleTextId_withEmptyDevicePolicyList_returnsTrue()57 DevicePolicyGroup g2 = new DevicePolicyGroup.Builder().setTitleTextId(0).build(); in equals_withSameGroupTitleTextId_withEmptyDevicePolicyList_returnsTrue()64 DevicePolicyGroup g1 = new DevicePolicyGroup.Builder() in equals_withSameGroupTitleTextId_withSameDevicePolicyList_returnsTrue()68 DevicePolicyGroup g2 = new DevicePolicyGroup.Builder() in equals_withSameGroupTitleTextId_withSameDevicePolicyList_returnsTrue()78 DevicePolicyGroup g1 = new DevicePolicyGroup.Builder() in equals_withSameGroupTitleTextId_withDifferentDevicePolicyList_returnsFalse()82 DevicePolicyGroup g2 = new DevicePolicyGroup.Builder() in equals_withSameGroupTitleTextId_withDifferentDevicePolicyList_returnsFalse()
79 DevicePolicyGroup policyGroup = new DevicePolicyGroup.Builder() in bind_bindsIdsToItemView()95 DevicePolicyGroup policyGroup = new DevicePolicyGroup.Builder() in bind_makesItemGroupFocusableButChildrenNotFocusable()112 DevicePolicyGroup policyGroup = new DevicePolicyGroup.Builder() in bind_bindsIdWithProviderNameToView()126 DevicePolicyGroup policyGroup = new DevicePolicyGroup.Builder() in bind_bindsIdWithProviderNameAndUrlToView()143 DevicePolicyGroup.Builder policyGroupBuilder = new DevicePolicyGroup.Builder() in bind_policyAtMaxItems_allItemViewsVisible()148 DevicePolicyGroup policyGroup = policyGroupBuilder.build(); in bind_policyAtMaxItems_allItemViewsVisible()159 DevicePolicyGroup policyGroup = new DevicePolicyGroup.Builder() in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
26 final class DevicePolicyGroup { class32 DevicePolicyGroup(int groupTitleTextId, List<DevicePolicy> devicePolicyList) { in DevicePolicyGroup() method in DevicePolicyGroup50 if (!(obj instanceof DevicePolicyGroup)) { in equals()53 DevicePolicyGroup that = (DevicePolicyGroup) obj; in equals()101 DevicePolicyGroup build() { in build()102 return new DevicePolicyGroup(mGroupTitleTextId, mDevicePolicyList); in build()
39 ListAdapter<DevicePolicyGroup, DevicePolicyGroupViewHolder> {53 public boolean areItemsTheSame(DevicePolicyGroup oldItem, in DevicePolicyGroupListAdapter()54 DevicePolicyGroup newItem) { in DevicePolicyGroupListAdapter()59 public boolean areContentsTheSame(DevicePolicyGroup oldItem, in DevicePolicyGroupListAdapter()60 DevicePolicyGroup newItem) { in DevicePolicyGroupListAdapter()94 public void submitList(@Nullable List<DevicePolicyGroup> list) { in submitList()100 for (DevicePolicyGroup devicePolicyGroup : list) { in submitList()
45 private static final DevicePolicyGroup CONTROL_POLICY_GROUP =46 new DevicePolicyGroup.Builder()56 private static final DevicePolicyGroup LOCK_POLICY_GROUP =57 new DevicePolicyGroup.Builder()69 private static final DevicePolicyGroup EXPOSURE_POLICY_GROUP =70 new DevicePolicyGroup.Builder()80 private static final List<DevicePolicyGroup> DEVICE_POLICY_GROUPS = Arrays.asList(85 final MediatorLiveData<List<DevicePolicyGroup>> mDevicePolicyGroupListLiveData;
46 void bind(DevicePolicyGroup devicePolicyGroup, int maxDevicePolicy, String providerName) { in bind()