[automerger skipped] [DO NOT MERGE] ImuCal refactored open-source code. am: 6acf8258cc am: bc46b2afdb -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/contexthub/+/15750166

Change-Id: I4301efb2acd39336f13f091294f60791e0d832b0