Searched refs:WorkPolicyInfoPreferenceController (Results 1 – 4 of 4) sorted by relevance
53 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 …]
60 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()
41 public final class WorkPolicyInfoPreferenceController extends PreferenceController<Preference> { class43 private static final Logger LOG = new Logger(WorkPolicyInfoPreferenceController.class);54 public WorkPolicyInfoPreferenceController(Context context, String preferenceKey, in WorkPolicyInfoPreferenceController() method in WorkPolicyInfoPreferenceController
28 public class WorkPolicyInfoPreferenceController extends BasePreferenceController { class32 public WorkPolicyInfoPreferenceController(Context context, String preferenceKey) { in WorkPolicyInfoPreferenceController() method in WorkPolicyInfoPreferenceController