Searched refs:DevicePolicy (Results 1 – 5 of 5) sorted by relevance
30 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()
43 assertThat(group.getDevicePolicyList().get(0)).isEqualTo(new DevicePolicy(1, 2)); in builder_buildWithParameters_usesGivenParameters()
30 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()
25 final class DevicePolicy { class30 DevicePolicy(int drawableId, int textId) { in DevicePolicy() method in DevicePolicy48 if (!(obj instanceof DevicePolicy)) { in equals()51 DevicePolicy that = (DevicePolicy) obj; in equals()
52 DevicePolicy devicePolicy = devicePolicyGroup.getDevicePolicyList().get(i); in bind()