Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME

If set, $ANDROID_AVD_HOME will replace the default path
$ANDROID_SDK_HOME(or $HOME)/.android/avd.
If set, $ANDROID_EMULATOR_HOME will replace the default path
$ANDROID_SDK_HOME(or $HOME)/.android.

issue:78577

Change-Id: Ifb6e45aa63cd9e89b9c372f1acdc4e5d38e1a536
(cherry picked from commit 2a6e0b96aafb11db1b535554d908cc02769d09bb)
Merge "Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME" into studio-1.0-dev
Merge "Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME" into studio-1.0-dev
automerge: 1c4e66a

* commit '1c4e66a2216f5493adf8f11460b62d39b3bf1311':
  Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME