Home
last modified time | relevance | path

Searched refs:DevicePolicy (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DDevicePolicyTest.java30 DevicePolicy p1 = new DevicePolicy(/* drawableId= */0, /* textId= */1); in equals_withDifferentFieldValues_returnsFalse()
31 DevicePolicy p2 = new DevicePolicy(/* drawableId= */100, /* textId= */101); in equals_withDifferentFieldValues_returnsFalse()
38 DevicePolicy p1 = new DevicePolicy(/* drawableId= */0, /* textId= */1); in equals_withSameFieldValues_returnsTrue()
39 DevicePolicy p2 = new DevicePolicy(/* drawableId= */0, /* textId= */1); in equals_withSameFieldValues_returnsTrue()
DDevicePolicyGroupTest.java43 assertThat(group.getDevicePolicyList().get(0)).isEqualTo(new DevicePolicy(1, 2)); in builder_buildWithParameters_usesGivenParameters()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDevicePolicyGroup.java30 private final List<DevicePolicy> mDevicePolicyList;
32 DevicePolicyGroup(int groupTitleTextId, List<DevicePolicy> devicePolicyList) { in DevicePolicyGroup()
41 List<DevicePolicy> getDevicePolicyList() { in getDevicePolicyList()
84 private final List<DevicePolicy> mDevicePolicyList = new ArrayList<>();
91 private Builder addDevicePolicy(DevicePolicy devicePolicy) { in addDevicePolicy()
97 addDevicePolicy(new DevicePolicy(drawableId, textId)); in addDevicePolicy()
DDevicePolicy.java25 final class DevicePolicy { class
30 DevicePolicy(int drawableId, int textId) { in DevicePolicy() method in DevicePolicy
48 if (!(obj instanceof DevicePolicy)) { in equals()
51 DevicePolicy that = (DevicePolicy) obj; in equals()
DDevicePolicyGroupViewHolder.java52 DevicePolicy devicePolicy = devicePolicyGroup.getDevicePolicyList().get(i); in bind()