#define HAL_ABI_VERSION_MAX 10
-enum hal_abi_version g_platform_curr_abi_version = HAL_ABI_VERSION_TIZEN_6_5;
+enum hal_abi_version g_platform_curr_abi_version = HAL_ABI_VERSION_TIZEN_7_0;
static struct hal_abi_version_match abi_version_match_data[HAL_MODULE_END][HAL_ABI_VERSION_MAX] = {
/* HAL_GROUP_GRAPHICS */
[HAL_MODULE_TBM] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_TDM] = {
/* FIXME: Need to be filled from configuration file. */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_AUDIO] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_CAMERA] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_RADIO] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_BLUETOOTH] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_WIFI] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_NFC] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_ZIGBEE] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_UWB] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_TELEPHONY] = {
/* FIXME: Need to be determined whehter support HAL API or not. */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_LOCATION] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_POWER] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_SENSOR] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_PERIPHERAL] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_BATTERY] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_BEZEL] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_DISPLAY] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_IR] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_TOUCHSCREEN] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_LED] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_BOARD] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_EXTERNAL_CONNECTION] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_THERMAL] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_USB_GADGET] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_HAPTIC] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
[HAL_MODULE_DEVICE_MEMORY] = {
/* FIXME: Need to be initialized by configuration file like xml */
[0] = {
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
},
},
TEST(CommonHaltest, test_check_backend_abi_version_invalid_parameter) {
int ret;
- ret = hal_common_check_backend_abi_version(HAL_MODULE_UNKNOWN, HAL_ABI_VERSION_TIZEN_6_5);
+ ret = hal_common_check_backend_abi_version(HAL_MODULE_UNKNOWN, HAL_ABI_VERSION_TIZEN_7_0);
EXPECT_EQ(ret, TIZEN_ERROR_INVALID_PARAMETER);
- ret = hal_common_check_backend_abi_version(HAL_MODULE_END, HAL_ABI_VERSION_TIZEN_6_5);
+ ret = hal_common_check_backend_abi_version(HAL_MODULE_END, HAL_ABI_VERSION_TIZEN_7_0);
EXPECT_EQ(ret, TIZEN_ERROR_INVALID_PARAMETER);
ret = hal_common_check_backend_abi_version(HAL_MODULE_TBM, HAL_ABI_VERSION_UNKNOWN);
"HAL_MODULE_TBM", "/hal/lib/libhal-backend-tbm.so",
"/hal/lib64/libhal-backend-tbm.so", "hal_backend_tbm_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_TDM", "/hal/lib/libhal-backend-tdm.so",
"/hal/lib64/libhal-backend-tdm.so", "hal_backend_tdm_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_AUDIO", "/hal/lib/libhal-backend-audio.so",
"/hal/lib64/libhal-backend-audio.so", "hal_backend_audio_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_CAMERA", "/hal/lib/libhal-backend-camera.so",
"/hal/lib64/libhal-backend-camera.so", "hal_backend_camera_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_RADIO", "/hal/lib/libhal-backend-radio.so",
"/hal/lib64/libhal-backend-radio.so", "hal_backend_radio_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_BLUETOOTH", "/hal/lib/libhal-backend-bluetooth.so",
"/hal/lib64/libhal-backend-bluetooth.so", "hal_backend_bluetooth_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_WIFI", "/hal/lib/libhal-backend-wifi.so",
"/hal/lib64/libhal-backend-wifi.so", "hal_backend_wifi_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_NFC", "/hal/lib/libhal-backend-nfc.so",
"/hal/lib64/libhal-backend-nfc.so", "hal_backend_nfc_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_ZIGBEE", "/hal/lib/libhal-backend-zigbee.so",
"/hal/lib64/libhal-backend-zigbee.so", "hal_backend_zigbee_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_UWB", "/hal/lib/libhal-backend-uwb.so",
"/hal/lib64/libhal-backend-uwb.so", "hal_backend_uwb_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_LOCATION", "/hal/lib/libhal-backend-location.so",
"/hal/lib64/libhal-backend-location.so", "hal_backend_location_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_POWER", "/hal/lib/libhal-backend-power.so",
"/hal/lib64/libhal-backend-power.so", "hal_backend_power_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_SENSOR", "/hal/lib/libhal-backend-sensor.so",
"/hal/lib64/libhal-backend-sensor.so", "hal_backend_sensor_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_BATTERY", "/hal/lib/libhal-backend-device-battery.so",
"/hal/lib64/libhal-backend-device-battery.so", "hal_backend_device_battery_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_BEZEL", "/hal/lib/libhal-backend-device-bezel.so",
"/hal/lib64/libhal-backend-device-bezel.so", "hal_backend_device_bezel_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_DISPLAY", "/hal/lib/libhal-backend-device-display.so",
"/hal/lib64/libhal-backend-device-display.so", "hal_backend_device_display_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_IR", "/hal/lib/libhal-backend-device-ir.so",
"/hal/lib64/libhal-backend-device-ir.so", "hal_backend_device_ir_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_TOUCHSCREEN", "/hal/lib/libhal-backend-device-touchscreen.so",
"/hal/lib64/libhal-backend-device-touchscreen.so", "hal_backend_device_touchscreen_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_LED", "/hal/lib/libhal-backend-device-led.so",
"/hal/lib64/libhal-backend-device-led.so", "hal_backend_device_led_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_BOARD", "/hal/lib/libhal-backend-device-board.so",
"/hal/lib64/libhal-backend-device-board.so", "hal_backend_device_board_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_EXTERNAL_CONNECTION", "/hal/lib/libhal-backend-device-external-connection.so",
"/hal/lib64/libhal-backend-device-external-connection.so", "hal_backend_device_external_connection_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_THERMAL", "/hal/lib/libhal-backend-device-thermal.so",
"/hal/lib64/libhal-backend-device-thermal.so", "hal_backend_device_thermal_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_USB_GADGET", "/hal/lib/libhal-backend-device-usb-gadget.so",
"/hal/lib64/libhal-backend-device-usb-gadget.so", "hal_backend_device_usb_gadget_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_HAPTIC", "/hal/lib/libhal-backend-device-haptic.so",
"/hal/lib64/libhal-backend-device-haptic.so", "hal_backend_device_haptic_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
),
"HAL_MODULE_DEVICE_MEMORY", "/hal/lib/libhal-backend-device-memory.so",
"/hal/lib64/libhal-backend-device-memory.so", "hal_backend_device_memory_data",
vector<struct hal_abi_version_match>{{
- .platform_abi_version = HAL_ABI_VERSION_TIZEN_6_5,
+ .platform_abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.backend_min_abi_version = HAL_ABI_VERSION_TIZEN_6_5
}}
)