Thanks Ken and Roman,
Commenting out _GetAdbRoot() gets me further, but now my phone crashes trying to run the tests. Logcat below.
Have you ever seen a null dereference in ANativeWindow_setBuffersGeometry?
--------- beginning of crash
09-19 13:45:37.656 25849 25876 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98 in tid 25876 (Thread-2), pid 25849 (st:test_process)
09-19 13:45:37.746 25880 25880 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-19 13:45:37.747 921 921 I tombstoned: received crash request for pid 25876
09-19 13:45:37.753 25880 25880 I crash_dump64: performing dump of process 25849 (target tid = 25876)
09-19 13:45:37.768 25880 25880 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-19 13:45:37.769 25880 25880 F DEBUG : Build fingerprint: 'google/crosshatch/crosshatch:11/RQ3A.210905.001/7511028:user/release-keys'
09-19 13:45:37.769 25880 25880 F DEBUG : Revision: 'MP1.0'
09-19 13:45:37.769 25880 25880 F DEBUG : ABI: 'arm64'
09-19 13:45:37.770 25880 25880 F DEBUG : Timestamp: 2022-09-19 13:45:37-0600
09-19 13:45:37.770 25880 25880 F DEBUG : pid: 25849, tid: 25876, name: Thread-2 >>> com.android.angle.test:test_process <<<
09-19 13:45:37.770 25880 25880 F DEBUG : uid: 10255
09-19 13:45:37.770 25880 25880 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98
09-19 13:45:37.770 25880 25880 F DEBUG : Cause: null pointer dereference
09-19 13:45:37.770 25880 25880 F DEBUG : x0 0000000000000000 x1 0000000000000080 x2 0000000000000080 x3 0000000000000000
09-19 13:45:37.770 25880 25880 F DEBUG : x4 000000756efb9b11 x5 000000756efb9a21 x6 655420454c474e41 x7 5345202d20737473
09-19 13:45:37.770 25880 25880 F DEBUG : x8 00000075eef53350 x9 0000000000000002 x10 0000000000000001 x11 0000000000000000
09-19 13:45:37.770 25880 25880 F DEBUG : x12 61636f4c6c657869 x13 656761726f74536c x14 00000077c0d4dd22 x15 0000000029851c8f
09-19 13:45:37.770 25880 25880 F DEBUG : x16 00000074c3ef8438 x17 0000007526e5e078 x18 00000074c110a000 x19 000000756efb9770
09-19 13:45:37.770 25880 25880 F DEBUG : x20 00000074c3ef9800 x21 00000074c3ef9000 x22 00000074c3879000 x23 000000759f00dab0
09-19 13:45:37.770 25880 25880 F DEBUG : x24 00000074c3879000 x25 0000000000000000 x26 00000000000000c4 x27 00000000000000c3
09-19 13:45:37.770 25880 25880 F DEBUG : x28 0000000000000058 x29 00000074c16900d0
09-19 13:45:37.770 25880 25880 F DEBUG : lr 00000074c3ecaac8 sp 00000074c16900d0 pc 0000007526e5e088 pst 0000000080000000
09-19 13:45:37.772 25880 25880 F DEBUG : backtrace:
09-19 13:45:37.772 25880 25880 F DEBUG : #00 pc 000000000001b088 /system/lib64/libandroid.so (ANativeWindow_setBuffersGeometry+16) (BuildId: 38312aef9bf39f6a76bef9f4e156a5a8)
09-19 13:45:37.772 25880 25880 F DEBUG : #01 pc 0000000000043ac4 /data/app/~~BhGtrv5HnpaGsWsAfiPrBg==/com.android.angle.test-Z9Vwb0hnaWXs0WIGN32ODQ==/lib/arm64/libangle_util.so (BuildId: 369d4b063a14b8ff)
09-19 13:45:38.066 3127 3151 D DeviceStateHelper: Audo mode: 0
09-19 13:45:38.067 3127 3151 D DeviceStateHelper: Audo mode: 0
09-19 13:45:38.543 921 921 E tombstoned: Tombstone written to: /data/tombstones/tombstone_09
09-19 13:45:38.545 1509 25883 W ActivityTaskManager: Force finishing activity com.android.angle.test/.AngleUnitTestActivity