* Use full name for UDT.
* Add build target for vibrate profiler.
Test: make libvts_profiler_hidl_vibrator@1.0
Test: make vts.
Change-Id: I8a1fac3273cd95c1de12e10b232e7d979c3912ae
name: "sendEvent"
arg: {
type: TYPE_ENUM
- predefined_type: "NfcEvent"
+ predefined_type: "::android::hardware::nfc::V1_0::NfcEvent"
}
arg: {
type: TYPE_ENUM
- predefined_type: "NfcStatus"
+ predefined_type: "::android::hardware::nfc::V1_0::NfcStatus"
}
}
package: "android.hardware.nfc"
+
attribute: {
- name: "NfcEvent"
+ name: "::android::hardware::nfc::V1_0::NfcEvent"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
}
attribute: {
- name: "NfcStatus"
+ name: "::android::hardware::nfc::V1_0::NfcStatus"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
LOCAL_MULTILIB := both
include $(BUILD_SHARED_LIBRARY)
+
+# build profiler for vibrator.
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libvts_profiler_hidl_vibrator@1.0
+
+LOCAL_SRC_FILES := \
+ Vibrator.vts \
+ types.vts \
+
+LOCAL_C_INCLUDES += \
+ test/vts/drivers/libprofiling \
+
+LOCAL_VTS_MODE := PROFILER
+
+LOCAL_SHARED_LIBRARIES := \
+ android.hardware.vibrator@1.0 \
+ libbase \
+ libcutils \
+ liblog \
+ libhidl \
+ libhwbinder \
+ libprotobuf-cpp-full \
+ libvts_common \
+ libvts_multidevice_proto \
+ libvts_profiling \
+ libutils \
+
+LOCAL_PROTOC_OPTIMIZE_TYPE := full
+
+include $(BUILD_SHARED_LIBRARY)
name: "on"
return_type_hidl: {
type: TYPE_ENUM
- predefined_type: "Status"
+ predefined_type: "::android::hardware::vibrator::V1_0::Status"
}
arg: {
type: TYPE_SCALAR
name: "off"
return_type_hidl: {
type: TYPE_ENUM
- predefined_type: "Status"
+ predefined_type: "::android::hardware::vibrator::V1_0::Status"
}
}
attribute: {
- name: "Status"
+ name: "::android::hardware::vibrator::V1_0::Status"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"