Home
last modified time | relevance | path

Searched refs:addDevicePolicy (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDevicePoliciesViewModel.java48 .addDevicePolicy(R.drawable.ic_lock_outline_24px,
50 .addDevicePolicy(R.drawable.ic_file_download_24px,
52 .addDevicePolicy(R.drawable.ic_bug_report_24px,
59 .addDevicePolicy(R.drawable.ic_local_hospital_24px,
61 .addDevicePolicy(R.drawable.ic_phone_callback_outlined_24px,
63 .addDevicePolicy(R.drawable.ic_settings_applications_24px,
65 .addDevicePolicy(R.drawable.ic_settings_backup_restore_24px,
72 .addDevicePolicy(R.drawable.ic_delete_24px,
74 .addDevicePolicy(R.drawable.ic_lock_open_24px,
76 .addDevicePolicy(R.drawable.ic_block_24px,
DDevicePolicyGroup.java91 private Builder addDevicePolicy(DevicePolicy devicePolicy) { in addDevicePolicy() method in DevicePolicyGroup.Builder
96 Builder addDevicePolicy(int drawableId, int textId) { in addDevicePolicy() method in DevicePolicyGroup.Builder
97 addDevicePolicy(new DevicePolicy(drawableId, textId)); in addDevicePolicy()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DDevicePolicyGroupViewHolderTest.java81 .addDevicePolicy(DRAWABLE_ID, POLICY_ID) in bind_bindsIdsToItemView()
97 .addDevicePolicy(DRAWABLE_ID, POLICY_ID) in bind_makesItemGroupFocusableButChildrenNotFocusable()
98 .addDevicePolicy(DRAWABLE_ID, POLICY_ID) in bind_makesItemGroupFocusableButChildrenNotFocusable()
114 .addDevicePolicy(DRAWABLE_ID, POLICY_WITH_PROVIDER_NAME_ID) in bind_bindsIdWithProviderNameToView()
128 .addDevicePolicy(DRAWABLE_ID, POLICY_WITH_PROVIDER_NAME_AND_URL_ID) in bind_bindsIdWithProviderNameAndUrlToView()
146 policyGroupBuilder.addDevicePolicy(DRAWABLE_ID, POLICY_ID); in bind_policyAtMaxItems_allItemViewsVisible()
161 .addDevicePolicy(DRAWABLE_ID, POLICY_ID) in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
162 .addDevicePolicy(DRAWABLE_ID, POLICY_ID) in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
DDevicePolicyGroupTest.java39 .addDevicePolicy(1, 2) in builder_buildWithParameters_usesGivenParameters()
66 .addDevicePolicy(1, 2) in equals_withSameGroupTitleTextId_withSameDevicePolicyList_returnsTrue()
70 .addDevicePolicy(1, 2) in equals_withSameGroupTitleTextId_withSameDevicePolicyList_returnsTrue()
80 .addDevicePolicy(1, 2) in equals_withSameGroupTitleTextId_withDifferentDevicePolicyList_returnsFalse()
84 .addDevicePolicy(3, 4) in equals_withSameGroupTitleTextId_withDifferentDevicePolicyList_returnsFalse()