Searched refs:CONSTRAINT_CHARGING (Results 1 – 2 of 2) sorted by relevance
69 static final int CONSTRAINT_CHARGING = JobInfo.CONSTRAINT_FLAG_CHARGING; field in JobStatus749 return (requiredConstraints&CONSTRAINT_CHARGING) != 0; in hasChargingConstraint()757 return (requiredConstraints&(CONSTRAINT_CHARGING|CONSTRAINT_BATTERY_NOT_LOW)) != 0; in hasPowerConstraint()848 return setConstraintSatisfied(CONSTRAINT_CHARGING, state); in setChargingConstraintSatisfied()952 static final int CONSTRAINTS_OF_INTEREST = CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW958 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW1106 if ((constraints&CONSTRAINT_CHARGING) != 0) { in dumpConstraints()1145 if ((constraints & CONSTRAINT_CHARGING) != 0) { in dumpConstraints()1146 proto.write(fieldId, JobStatusDumpProto.CONSTRAINT_CHARGING); in dumpConstraints()
597 CONSTRAINT_CHARGING = 1; enumerator