question: private void writeConstraintsToXml ( XmlSerializer out , JobStatus jobStatus ) throws IOException { out . startTag ( null , XML_TAG_PARAMS_CONSTRAINTS ) ; if ( jobStatus . hasUnmeteredConstraint ( ) ) { out . attribute ( null , "unmetered" , Boolean . toString ( true ) ) ; } if ( jobStatus . hasConnectivityConstraint ( ) ) { out . attribute ( null , "connectivity" , Boolean . toString ( true ) ) ; } if ( jobStatus . hasIdleConstraint ( ) ) { out . attribute ( null , "idle" , Boolean . toString ( true ) ) ; } if ( jobStatus . hasChargingConstraint ( ) ) { out . attribute ( null , "charging" , Boolean . toString ( true ) ) ; } out . endTag ( null , XML_TAG_PARAMS_CONSTRAINTS ) ; }
target:  Write out a tag with data identifying this job's constraints. If the constraint isn't here it doesn't apply.