wifi: Create our version of ArrayUtils

Wifi stack uses only a few simple utility methods from the internal
ArrayUtils class. Internal ArrayUtils class has a bunch of @hide
dependencies, so can't easily jar-jar it. So, create our version of
ArrayUtils with only the methods we currently use. Most of these are
very trivial helper methods, so duplication should be ok.

Bug: 142809066
Test: atest com.android.server.wifi
Change-Id: I498321bf8d4f4b3eb1c33309d7b3b30153855aea
12 files changed
tree: dbdede4572ccb789c19fb1ae74608bacc904e15a
  1. apex/
  2. service/
  3. PREUPLOAD.cfg