Support APIs for arrays of interfaces am: 3b31ccac97 am: 56bdf28ac3 am: 46d6cb94a7 am: fde5f61f7c

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1878148

Change-Id: I43b4ab8f0d0a1d2de453573f3a9947ecf5f4d07a