Update the signature of init function to include whether the device is am: 3e7b35ee18

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I0a65a192cd4461d324e184cd14d0f4daf50afaea