Merge "libdm: Add helper classes for loop control."
am: 516ec4c257

Change-Id: I8412530900df6a36435903d6ec4123924ec2c486