Lines Matching refs:orig
57 * If <var>orig</var> is null, an empty WorkSource is created.
59 public WorkSource(WorkSource orig) {
60 if (orig == null) {
65 mNum = orig.mNum;
66 if (orig.mUids != null) {
67 mUids = orig.mUids.clone();
68 mNames = orig.mNames != null ? orig.mNames.clone() : null;
74 if (orig.mChains != null) {
75 // Make a copy of all WorkChains that exist on |orig| since they are mutable.
76 mChains = new ArrayList<>(orig.mChains.size());
77 for (WorkChain chain : orig.mChains) {