Merge "Use hand-written counted loop for ArrayList" into rvc-dev am: 7e4cf533 am: 13a7ceb9 am: bee2dd08 Change-Id: Ib34bb20d58465179ec41fa368dc55bfa23ad5973