Home
last modified time | relevance | path

Searched refs:CONSTRAINT_CHARGING (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java69 static final int CONSTRAINT_CHARGING = JobInfo.CONSTRAINT_FLAG_CHARGING; field in JobStatus
749 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_LOW
958 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW
1106 if ((constraints&CONSTRAINT_CHARGING) != 0) { in dumpConstraints()
1145 if ((constraints & CONSTRAINT_CHARGING) != 0) { in dumpConstraints()
1146 proto.write(fieldId, JobStatusDumpProto.CONSTRAINT_CHARGING); in dumpConstraints()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto597 CONSTRAINT_CHARGING = 1; enumerator