Flow utility functions: pairwise + setChanges Bug: 241121499 Test: atest PairwiseFlowTest Change-Id: I5c7c81c7889a388bcede2a9fa25ff48b2be5c92b