Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DWorkPolicyInfoPreferenceControllerTest.java53 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetPreferenceType()
61 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureDisabled(); in testGetAvailabilityStatus_noFeature()
68 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_noAdmin()
76 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_adminWithoutReceiver()
85 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_adminWithReceiver()
94 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureDisabled(); in testUpdateStatus_noFeature()
104 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_noAdmin()
114 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_adminWithoutReceiver()
125 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_adminWithReceiver()
135 private WorkPolicyInfoPreferenceController newControllerWithFeatureDisabled() { in newControllerWithFeatureDisabled()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java60 WorkPolicyInfoPreferenceController controller = in getAvailabilityStatus_noWorkPolicyInfo_shouldReturnUnsupported()
61 new WorkPolicyInfoPreferenceController(mContext, "test_key"); in getAvailabilityStatus_noWorkPolicyInfo_shouldReturnUnsupported()
69 WorkPolicyInfoPreferenceController controller = in getAvailabilityStatus_haveWorkPolicyInfo_shouldReturnAvailableUnsearchable()
70 new WorkPolicyInfoPreferenceController(mContext, "test_key"); in getAvailabilityStatus_haveWorkPolicyInfo_shouldReturnAvailableUnsearchable()
78 WorkPolicyInfoPreferenceController controller = in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
79 new WorkPolicyInfoPreferenceController(mContext, "test_key"); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
89 WorkPolicyInfoPreferenceController controller = in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
90 new WorkPolicyInfoPreferenceController(mContext, "test_key"); in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DWorkPolicyInfoPreferenceController.java41 public final class WorkPolicyInfoPreferenceController extends PreferenceController<Preference> { class
43 private static final Logger LOG = new Logger(WorkPolicyInfoPreferenceController.class);
54 public WorkPolicyInfoPreferenceController(Context context, String preferenceKey, in WorkPolicyInfoPreferenceController() method in WorkPolicyInfoPreferenceController
/packages/apps/Settings/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceController.java28 public class WorkPolicyInfoPreferenceController extends BasePreferenceController { class
32 public WorkPolicyInfoPreferenceController(Context context, String preferenceKey) { in WorkPolicyInfoPreferenceController() method in WorkPolicyInfoPreferenceController