From bb8dd89eb74de364a4d9e9a8f7e547b428277e94 Mon Sep 17 00:00:00 2001 From: Sangwan Kwon Date: Mon, 9 Mar 2020 10:28:15 +0900 Subject: [PATCH] Add device-policy-manager api Signed-off-by: Sangwan Kwon --- doc/:q | 25 +++++++++++++++++++++++++ doc/tizen-dpm-api.md | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 doc/:q create mode 100644 doc/tizen-dpm-api.md diff --git a/doc/:q b/doc/:q new file mode 100644 index 0000000..d659723 --- /dev/null +++ b/doc/:q @@ -0,0 +1,25 @@ + + 7 +--------------------------------+----------------------+----------------------------------------------------------+ + 8 | Policy Name | Policy state | Query API | + 9 +--------------------------------+----------------------+----------------------------------------------------------+ + 10 | wifi | allowed / disallowed | dpm_restriction_get_wifi_state | + 11 | wifi-hotspot | allowed / disallowed | dpm_restriction_get_wifi_hotspot | + 12 | wifi-profile-change | allowed / disallowed | dpm_wifi_is_profile_change_restricted | + 13 | wifi-ssid-restriction | allowed / disallowed | dpm_wifi_is_network_access_restricted | + 14 | bluetooth | allowed / disallowed | dpm_restriction_get_bluetooth_mode_change_state | + 15 | bluetooth-tethering | allowed / disallowed | dpm_restriction_get_bluetooth_tethering_state | + 16 | bluetooth-desktop-connectivity | allowed / disallowed | dpm_restriction_get_bluetooth_desktop_connectivity_state | + 17 | bluetooth-pairing | allowed / disallowed | dpm_restriction_get_bluetooth_pairing_state | + 18 | bluetooth-device-restriction | allowed / disallowed | dpm_bluetooth_is_device_restricted | + 19 | bluetooth-uuid-restriction | allowed / disallowed | dpm_bluetooth_is_uuid_restricted | + 20 | usb | allowed / disallowed | dpm_restriction_get_usb_state | + 21 | usb-tethering | allowed / disallowed | dpm_restriction_get_usb_tethering_state | + 22 | usb-debugging | allowed / disallowed | dpm_restriction_get_usb_debugging_state | + 23 | settings-changes | allowed / disallowed | dpm_restriction_get_setting_changes_state | + 24 | external-storage | allowed / disallowed | dpm_restriction_get_external_storage_state | + 25 | camera | allowed / disallowed | dpm_restriction_get_camera_state | + 26 | clipboard | allowed / disallowed | dpm_restriction_get_clipboard_state | + 27 | location | allowed / disallowed | dpm_restriction_get_location_state | + 28 | microphone | allowed / disallowed | dpm_restriction_get_microphone_state | + 29 +--------------------------------+----------------------+----------------------------------------------------------+ + diff --git a/doc/tizen-dpm-api.md b/doc/tizen-dpm-api.md new file mode 100644 index 0000000..a1e76fc --- /dev/null +++ b/doc/tizen-dpm-api.md @@ -0,0 +1,25 @@ +``` ++--------------------------------+----------------------+----------------------------------------------------------+ +| Policy Name | Policy state | Query API | ++--------------------------------+----------------------+----------------------------------------------------------+ +| wifi | allowed / disallowed | dpm_restriction_get_wifi_state | +| wifi-hotspot | allowed / disallowed | dpm_restriction_get_wifi_hotspot | +| wifi-profile-change | allowed / disallowed | dpm_wifi_is_profile_change_restricted | +| wifi-ssid-restriction | allowed / disallowed | dpm_wifi_is_network_access_restricted | +| bluetooth | allowed / disallowed | dpm_restriction_get_bluetooth_mode_change_state | +| bluetooth-tethering | allowed / disallowed | dpm_restriction_get_bluetooth_tethering_state | +| bluetooth-desktop-connectivity | allowed / disallowed | dpm_restriction_get_bluetooth_desktop_connectivity_state | +| bluetooth-pairing | allowed / disallowed | dpm_restriction_get_bluetooth_pairing_state | +| bluetooth-device-restriction | allowed / disallowed | dpm_bluetooth_is_device_restricted | +| bluetooth-uuid-restriction | allowed / disallowed | dpm_bluetooth_is_uuid_restricted | +| usb | allowed / disallowed | dpm_restriction_get_usb_state | +| usb-tethering | allowed / disallowed | dpm_restriction_get_usb_tethering_state | +| usb-debugging | allowed / disallowed | dpm_restriction_get_usb_debugging_state | +| settings-changes | allowed / disallowed | dpm_restriction_get_setting_changes_state | +| external-storage | allowed / disallowed | dpm_restriction_get_external_storage_state | +| camera | allowed / disallowed | dpm_restriction_get_camera_state | +| clipboard | allowed / disallowed | dpm_restriction_get_clipboard_state | +| location | allowed / disallowed | dpm_restriction_get_location_state | +| microphone | allowed / disallowed | dpm_restriction_get_microphone_state | ++--------------------------------+----------------------+----------------------------------------------------------+ +``` -- 2.7.4