Searched refs:currentChange (Results 1 – 2 of 2) sorted by relevance
210 static int mergeWithPendingChange(int currentChange, int pendingChange) { in mergeWithPendingChange() argument212 if ((currentChange & (UidRecord.CHANGE_IDLE | UidRecord.CHANGE_ACTIVE)) == 0) { in mergeWithPendingChange()213 currentChange |= (pendingChange & (UidRecord.CHANGE_IDLE in mergeWithPendingChange()217 if ((currentChange & (UidRecord.CHANGE_CACHED | UidRecord.CHANGE_UNCACHED)) == 0) { in mergeWithPendingChange()218 currentChange |= (pendingChange & (UidRecord.CHANGE_CACHED in mergeWithPendingChange()224 if ((currentChange & UidRecord.CHANGE_GONE) != 0) { in mergeWithPendingChange()225 currentChange &= ~(UidRecord.CHANGE_ACTIVE | UidRecord.CHANGE_CACHED); in mergeWithPendingChange()228 currentChange |= UidRecord.CHANGE_CAPABILITY; in mergeWithPendingChange()231 currentChange |= UidRecord.CHANGE_PROCSTATE; in mergeWithPendingChange()234 currentChange |= UidRecord.CHANGE_PROCADJ; in mergeWithPendingChange()[all …]
142 final int currentChange = changesToVerify.valueAt(i).first; in testMergeWithPendingChange() local144 assertEquals("current=" + changeToStr(currentChange) + ", pending=" in testMergeWithPendingChange()147 currentChange, pendingChange)); in testMergeWithPendingChange()