Add on-device signing end-to-end test. am: 26a759688b am: 189c79e581

Original change: https://android-review.googlesource.com/c/platform/art/+/1654954

Change-Id: I1fc8292036c1e7c3714999394183a61d219ab810