From d9396f64af4f36cfa396945fb5736ddc533a1b47 Mon Sep 17 00:00:00 2001 From: Tomasz Swierczek Date: Tue, 8 Oct 2024 16:10:45 +0200 Subject: [PATCH] Add robot privileges http://tizen.org/privilege/robot.depthsensor http://tizen.org/privilege/robot.map.get http://tizen.org/privilege/robot.map.set http://tizen.org/privilege/robot.movingpart http://tizen.org/privilege/robot.navigation.get http://tizen.org/privilege/robot.navigation.set http://tizen.org/privilege/robot.property.read http://tizen.org/privilege/robot.property.write http://tizen.org/privilege/robot.speaker http://tizen.org/privilege/robot.wheel Change-Id: I48a1e0e30ac5f8c69079d91a261eb2cccda2ade2 --- capi/res/dbspace/core_privilege_info.csv | 10 ++++ capi/res/dbspace/core_privilege_mapping.csv | 10 ++++ capi/res/string/en.po | 52 +++++++++++++++++++++ 3 files changed, 72 insertions(+) diff --git a/capi/res/dbspace/core_privilege_info.csv b/capi/res/dbspace/core_privilege_info.csv index 06681fc..894e9c9 100644 --- a/capi/res/dbspace/core_privilege_info.csv +++ b/capi/res/dbspace/core_privilege_info.csv @@ -100,6 +100,16 @@ core,public,yes,http://tizen.org/privilege/power,,IDS_TPLATFORM_BODY_MANAGING_PO core,public,yes,http://tizen.org/privilege/push,,IDS_TPLATFORM_BODY_RECEIVING_PUSH_NOTIFICATIONS,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_RECEIVE_NOTIFICATIONS_VIA_THE_INTERNET_THIS_MAY_RESULT_IN_ADDITIONAL_CHARGES_DEPENDING_ON_YOUR_PAYMENT_PLAN,IDS_TPLATFORM_BODY_NETWORK_CONNECTIONS_ABB core,platform,yes,http://tizen.org/privilege/reboot,,IDS_TPLATFORM_HEADER_RESTARTING_DEVICE,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_RESTART_THE_DEVICE,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB core,public,yes,http://tizen.org/privilege/recorder,,IDS_TPLATFORM_HEADER_RECORDING_VIDEO_AND_AUDIO,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_RECORD_VIDEO_AND_AUDIO,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.depthsensor,,IDS_TPLATFORM_HEADER_ROBOT_DEPTH_SENSOR,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_USE_DEPTH_SENSORS,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.map.get,,IDS_TPLATFORM_HEADER_ROBOT_MAP_DATA,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SEE_ROBOT_MAP_DATA,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.map.set,,IDS_TPLATFORM_HEADER_ROBOT_MAP_DATA,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_MAP_DATA,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.movingpart,,IDS_TPLATFORM_HEADER_ROBOT_PARTS,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_PARTS,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.navigation.get,,IDS_TPLATFORM_HEADER_ROBOT_NAVIGATION,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_ORIENTATION,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.navigation.set,,IDS_TPLATFORM_HEADER_ROBOT_NAVIGATION,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_ORIENTATION,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.property.read,,IDS_TPLATFORM_HEADER_ROBOT_PROPERTIES,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_PROPERTIES,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.property.write,,IDS_TPLATFORM_HEADER_ROBOT_PROPERTIES,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_PROPERTIES,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.speaker,,IDS_TPLATFORM_HEADER_ROBOT_SPEAKER,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_USE_ROBOT_SPEAKER,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB +core,platform,yes,http://tizen.org/privilege/robot.wheel,,IDS_TPLATFORM_HEADER_ROBOT_VELOCITY,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_VELOCITY,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB core,platform,yes,http://tizen.org/privilege/screenshot,,IDS_TPLATFORM_HEADER_CAPTURING_DEVICE_SCREEN,IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_CAPTURE_SCREENSHOTS,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB core,public,yes,http://tizen.org/privilege/secureelement,,IDS_TPLATFORM_BODY_ACCESSING_SECURE_ELEMENTS,IDS_TPLATFORM_SBODY_THIS_APPLICATION_CAN_ACCESS_SECURE_SMART_CARD_CHIPS_SUCH_AS_UICC_SIM_EMBEDDED_SECURE_ELEMENTS_AND_SECURE_SD_CARDS,IDS_TPLATFORM_BODY_HARDWARE_CONTROLS_ABB core,partner,yes,http://tizen.org/privilege/securesysteminfo,,WDS_TPLATFORM_BODY_READING_NON_RESETTABLE_SECURE_DEVICE_INFORMATION,WDS_TPLATFORM_BODY_THIS_APP_CAN_READ_YOUR_DEVICES_IMEI_MEID_AND_ICCID,IDS_TPLATFORM_BODY_SYSTEM_SETTINGS_ABB diff --git a/capi/res/dbspace/core_privilege_mapping.csv b/capi/res/dbspace/core_privilege_mapping.csv index 942bc82..fd007f4 100644 --- a/capi/res/dbspace/core_privilege_mapping.csv +++ b/capi/res/dbspace/core_privilege_mapping.csv @@ -114,6 +114,16 @@ common,http://tizen.org/privilege/push,2.3,99.9,http://tizen.org/privilege/push common,http://tizen.org/privilege/reboot,2.3,99.9,http://tizen.org/privilege/reboot common,http://tizen.org/privilege/recorder,2.3,99.9,http://tizen.org/privilege/recorder common,http://tizen.org/privilege/recorder,2.3,99.9,http://tizen.org/privilege/internal/buxton/camcorder +common,http://tizen.org/privilege/robot.depthsensor,2.3,99.9,http://tizen.org/privilege/robot.depthsensor +common,http://tizen.org/privilege/robot.map.get,2.3,99.9,http://tizen.org/privilege/robot.map.get +common,http://tizen.org/privilege/robot.map.set,2.3,99.9,http://tizen.org/privilege/robot.map.set +common,http://tizen.org/privilege/robot.movingpart,2.3,99.9,http://tizen.org/privilege/robot.movingpart +common,http://tizen.org/privilege/robot.navigation.get,2.3,99.9,http://tizen.org/privilege/robot.navigation.get +common,http://tizen.org/privilege/robot.navigation.set,2.3,99.9,http://tizen.org/privilege/robot.navigation.set +common,http://tizen.org/privilege/robot.property.read,2.3,99.9,http://tizen.org/privilege/robot.property.read +common,http://tizen.org/privilege/robot.property.write,2.3,99.9,http://tizen.org/privilege/robot.property.write +common,http://tizen.org/privilege/robot.speaker,2.3,99.9,http://tizen.org/privilege/robot.speaker +common,http://tizen.org/privilege/robot.wheel,2.3,99.9,http://tizen.org/privilege/robot.wheel common,http://tizen.org/privilege/screenshot,2.3,99.9,http://tizen.org/privilege/screenshot common,http://tizen.org/privilege/secureelement,2.3,99.9,http://tizen.org/privilege/secureelement common,http://tizen.org/privilege/securesysteminfo,2.3,99.9,http://tizen.org/privilege/securesysteminfo diff --git a/capi/res/string/en.po b/capi/res/string/en.po index 28bf852..0fdca7b 100644 --- a/capi/res/string/en.po +++ b/capi/res/string/en.po @@ -583,6 +583,36 @@ msgstr "This application can request to close applications running in the backgr msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_RESTART_THE_DEVICE" msgstr "This application can restart the device." +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_USE_DEPTH_SENSORS" +msgstr "This application can use depth sensors." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SEE_ROBOT_MAP_DATA" +msgstr "This application can see robot map data." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_MAP_DATA" +msgstr "This application can set robot map data." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_PARTS" +msgstr "This application can see details about robot moving parts." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_ORIENTATION" +msgstr "This application can see details about robot position and orientation." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_ORIENTATION" +msgstr "This application can manipulate robot position and orientation." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_GET_ROBOT_PROPERTIES" +msgstr "This application can read robot properties." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_PROPERTIES" +msgstr "This application can write robot properties." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_USE_ROBOT_SPEAKER" +msgstr "This application can use robot speaker." + +msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_SET_ROBOT_VELOCITY" +msgstr "This application can set robot linear/angular velocity." + msgid "IDS_TPLATFORM_BODY_THIS_APPLICATION_CAN_RESTRICT_BLUETOOTH_CONNECTIONS_MSG" msgstr "This application can restrict Bluetooth connections. This may prevent applications that use Bluetooth from working properly." @@ -973,6 +1003,28 @@ msgstr "Recording video and audio" msgid "IDS_TPLATFORM_HEADER_RESTARTING_DEVICE" msgstr "Restarting device" +msgid "IDS_TPLATFORM_HEADER_ROBOT_DEPTH_SENSOR" +msgstr "Robot depth sensor" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_MAP_DATA" +msgstr "Robot map data" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_PARTS" +msgstr "Robot parts information" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_NAVIGATION" +msgstr "Robot orientation & position" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_PROPERTIES" +msgstr "Robot properties" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_SPEAKER" +msgstr "Robot speaker" + +msgid "IDS_TPLATFORM_HEADER_ROBOT_VELOCITY" +msgstr "Robot velocity" + + msgid "IDS_TPLATFORM_HEADER_RESTRICTING_BLUETOOTH_CONNECTIONS" msgstr "Restricting Bluetooth connections" -- 2.34.1