Adjust data dir set up in `CommonArtTestImpl::SetUpAndroidRootEnvVars`.

Don't set up the `ANDROID_DATA` dir as a subdirectory of
`/data/dalvik-cache` in
`art::CommonArtTestImpl::SetUpAndroidRootEnvVars` (used in some ART
gtests), as it is not accessible on `user` builds; instead, use a
subdirectory of `/data/local/tmp`, which does not require any special
permission.

(cherry picked from commit 7ffab8106445905d30fdef6291ebd18765c961f0)

Test: m art_chroot && atest ArtGtestsTargetChroot
Test: Run ART gtests as described in `test/README.chroot.md`
Bug: 193218514
Bug: 162834439
Change-Id: I19c7015b0140610a6fd2150a7f7a057465312b0c
Merged-In: I19c7015b0140610a6fd2150a7f7a057465312b0c
1 file changed