Home
last modified time | relevance | path

Searched refs:DevicePolicyGroup (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DDevicePolicyGroupTest.java30 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()
DDevicePolicyGroupViewHolderTest.java79 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()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDevicePolicyGroup.java26 final class DevicePolicyGroup { class
32 DevicePolicyGroup(int groupTitleTextId, List<DevicePolicy> devicePolicyList) { in DevicePolicyGroup() method in DevicePolicyGroup
50 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()
DDevicePolicyGroupListAdapter.java39 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()
DDevicePoliciesViewModel.java45 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;
DDevicePolicyGroupViewHolder.java46 void bind(DevicePolicyGroup devicePolicyGroup, int maxDevicePolicy, String providerName) { in bind()