Merge "Add common CollectionUtils.{any,all} methods." am: b138129920 am: f054043507 am: a2734b0830

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1563453

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I577e004f18147f47d58b4d9ec26fe2cf4562cb79