Searched refs:AlwaysOnDisplayPolicy (Results 1 – 8 of 8) sorted by relevance
63 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNull_containsDefaultValue()79 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNotNull_containsValue()
40 when(params.getPolicy()).thenReturn(mock(AlwaysOnDisplayPolicy.class)); in createMockParameters()
78 private AlwaysOnDisplayPolicy mAlwaysOnDisplayPolicy;
31 private final AlwaysOnDisplayPolicy mPolicy;34 AlwaysOnDisplayPolicy policy) { in DozePauser()
37 public class AlwaysOnDisplayPolicy { class118 public AlwaysOnDisplayPolicy(Context context) { in AlwaysOnDisplayPolicy() method in AlwaysOnDisplayPolicy
83 Callback callback, Consumer<Boolean> proxCallback, AlwaysOnDisplayPolicy policy) { in DozeSensors()258 final AlwaysOnDisplayPolicy mPolicy;261 public ProxSensor(AlwaysOnDisplayPolicy policy) { in ProxSensor()
96 Handler handler, AlwaysOnDisplayPolicy policy) { in DozeScreenBrightness()
32 import com.android.systemui.doze.AlwaysOnDisplayPolicy;53 private final AlwaysOnDisplayPolicy mAlwaysOnPolicy;69 mAlwaysOnPolicy = new AlwaysOnDisplayPolicy(mContext); in DozeParameters()254 public AlwaysOnDisplayPolicy getPolicy() { in getPolicy()