Searched refs:IDeviceIdleConstraint (Results 1 – 4 of 4) sorted by relevance
30 public interface IDeviceIdleConstraint { interface
56 mBluetoothConstraint, "bluetooth", IDeviceIdleConstraint.SENSING_OR_ABOVE); in start()
37 public class BluetoothConstraint implements IDeviceIdleConstraint {
92 import com.android.server.deviceidle.IDeviceIdleConstraint;320 private final ArrayMap<IDeviceIdleConstraint, DeviceIdleConstraintTracker>1524 final IDeviceIdleConstraint constraint = (IDeviceIdleConstraint) msg.obj; in handleMessage()1762 public void onConstraintStateChanged(IDeviceIdleConstraint constraint, boolean active) { in onConstraintStateChanged()1768 public void registerDeviceIdleConstraint(IDeviceIdleConstraint constraint, String name, in registerDeviceIdleConstraint()1769 @IDeviceIdleConstraint.MinimumState int minState) { in registerDeviceIdleConstraint()1773 public void unregisterDeviceIdleConstraint(IDeviceIdleConstraint constraint) { in unregisterDeviceIdleConstraint()2151 private void registerDeviceIdleConstraintInternal(IDeviceIdleConstraint constraint, in registerDeviceIdleConstraintInternal()2155 case IDeviceIdleConstraint.ACTIVE: in registerDeviceIdleConstraintInternal()2158 case IDeviceIdleConstraint.SENSING_OR_ABOVE: in registerDeviceIdleConstraintInternal()[all …]