add findSettingMenu() method

Test: locally
bug: 175364823
Change-Id: Iefed324f0b9a6d440560bb840d41fdaf6549b7a4
diff --git a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoSettingHelper.java b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoSettingHelper.java
index 7f6a00d..2c1e527 100644
--- a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoSettingHelper.java
+++ b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoSettingHelper.java
@@ -16,6 +16,8 @@
 
 package android.platform.helpers;
 
+import android.support.test.uiautomator.UiObject2;
+
 /** Helper class for functional tests of Settings facet */
 public interface IAutoSettingHelper extends IAppHelper, Scrollable {
 
@@ -49,6 +51,13 @@
     }
 
     /**
+     * Setup expectations: The settings app is open
+     *
+     * @param setting option to find.
+     */
+    UiObject2 findSettingMenu(String setting);
+
+    /**
      * Setup expectations: The app is open and the settings facet is open
      *
      * @param setting option to open.
diff --git a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoVehicleHardKeysHelper.java b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoVehicleHardKeysHelper.java
index 81b64a7..85e1dcf 100644
--- a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoVehicleHardKeysHelper.java
+++ b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoVehicleHardKeysHelper.java
@@ -26,6 +26,14 @@
         Navigation,
     }
 
+    /** Enum class for driving state */
+    enum DrivingState {
+        UNKNOWN,
+        MOVING,
+        IDLING,
+        PARKED,
+    }
+
     /**
      * Setup expectations: incoming call in progress.
      *
@@ -105,4 +113,21 @@
      * @param type type of volume to get current volume level from.
      */
     int getCurrentVolumeLevel(VolumeType type);
+
+    /** Get driving state. */
+    DrivingState getDrivingState();
+
+    /**
+     * Set driving state.
+     *
+     * @param state to be set.
+     */
+    void setDrivingState(DrivingState state);
+
+    /**
+     * Set vehicle speed.
+     *
+     * @param speed to be set.
+     */
+    void setSpeed(int speed);
 }