similarity index 74%
rename from tests/extension/light/2.0/IExtLight.hal
rename to tests/extension/light/2.0/ILight.hal
index 1515b869c040e05c095eb1c380a461575daad56c..94781c0838654a9df18e35d5aa9fc3e3fec1f3b6 100644 (file)
rename from tests/extension/light/2.0/IExtLight.hal
rename to tests/extension/light/2.0/ILight.hal
index 1515b869c040e05c095eb1c380a461575daad56c..94781c0838654a9df18e35d5aa9fc3e3fec1f3b6 100644 (file)
// vendor partition.
package android.hardware.tests.extension.light@2.0;
-import android.hardware.light@2.0;
+import android.hardware.light@2.0::ILight;
+import android.hardware.light@2.0::Status;
+import android.hardware.light@2.0::Type;
-interface IExtLight extends android.hardware.light@2.0::ILight {
+interface ILight extends android.hardware.light@2.0::ILight {
/**
* Set the provided lights to the provided values.
*
+ * If this was a minor version extension, the recommended
+ * name would be setLight_2_1.
+ *
* @param type logical light to set
* @param state describes what the light should look like.
* @return status result of applying state transformation.
*/
- setExtLight(Type type, ExtLightState state) generates (Status status);
-
+ setLightExt(Type type, LightState state) generates (Status status);
};