From af279bc295f68cbd19d9e07351e6523ce3207135 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Fri, 11 Mar 2016 15:51:37 +0900 Subject: [PATCH] Add softap vconf keys Change-Id: I6bb059f1e440411f9ad289e56fe9023dc9dae388 Signed-off-by: Seonah Moon --- data/vconf-internal-softap-keys.xml | 36 ++++++++++++++++++ include/vconf-internal-keys.h | 1 + include/vconf-internal-softap-keys.h | 40 ++++++++++++++++++++ report/vconf-internal-softap-keys.html | 67 ++++++++++++++++++++++++++++++++++ scripts/vconf-internal-softap-keys.sh | 9 +++++ 5 files changed, 153 insertions(+) create mode 100644 data/vconf-internal-softap-keys.xml create mode 100644 include/vconf-internal-softap-keys.h create mode 100644 report/vconf-internal-softap-keys.html create mode 100644 scripts/vconf-internal-softap-keys.sh diff --git a/data/vconf-internal-softap-keys.xml b/data/vconf-internal-softap-keys.xml new file mode 100644 index 0000000..48a8182 --- /dev/null +++ b/data/vconf-internal-softap-keys.xml @@ -0,0 +1,36 @@ + + + + +
VCONFKEY_SOFTAP_CONNECTED_DEVICE
+ Seonah Moon + seonah1.moon@samsung.com + +
+ +
VCONFKEY_SOFTAP_SECURITY
+ Seonah Moon + seonah1.moon@samsung.com + + + VCONFKEY_SOFTAP_SECURITY_OFF + VCONFKEY_SOFTAP_SECURITY_ON + +
+ +
VCONFKEY_SOFTAP_HIDE
+ Seonah Moon + seonah1.moon@samsung.com + + + VCONFKEY_SOFTAP_HIDE_OFF + VCONFKEY_SOFTAP_HIDE_ON + +
+ +
VCONFKEY_SOFTAP_SSID
+ Seonah Moon + seonah1.moon@samsung.com + +
+
diff --git a/include/vconf-internal-keys.h b/include/vconf-internal-keys.h index bf1457e..99c6b52 100644 --- a/include/vconf-internal-keys.h +++ b/include/vconf-internal-keys.h @@ -29,6 +29,7 @@ #include "vconf-internal-nfc-keys.h" #include "vconf-internal-pm-keys.h" #include "vconf-internal-setting-keys.h" +#include "vconf-internal-softap-keys.h" #include "vconf-internal-sound-keys.h" #include "vconf-internal-starter-keys.h" #include "vconf-internal-sysman-keys.h" diff --git a/include/vconf-internal-softap-keys.h b/include/vconf-internal-softap-keys.h new file mode 100644 index 0000000..b86d0b2 --- /dev/null +++ b/include/vconf-internal-softap-keys.h @@ -0,0 +1,40 @@ +/* + * vconf-internal-keys + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#ifndef __VCONF_INTERNAL_SOFTAP_KEYS_H__ +#define __VCONF_INTERNAL_SOFTAP_KEYS_H__ +#define VCONFKEY_SOFTAP_CONNECTED_DEVICE "memory/softap/connected_device" + +#define VCONFKEY_SOFTAP_SECURITY "db/softap/security" + +enum { + VCONFKEY_SOFTAP_SECURITY_OFF = 0x00, + VCONFKEY_SOFTAP_SECURITY_ON +}; + +#define VCONFKEY_SOFTAP_HIDE "db/softap/hide" + +enum { + VCONFKEY_SOFTAP_HIDE_OFF = 0x00, + VCONFKEY_SOFTAP_HIDE_ON +}; + +#define VCONFKEY_SOFTAP_SSID "memory/private/softap/ssid" + +#endif /* __VCONF_INTERNAL_SOFTAP_KEYS_H__ */ diff --git a/report/vconf-internal-softap-keys.html b/report/vconf-internal-softap-keys.html new file mode 100644 index 0000000..55be2c5 --- /dev/null +++ b/report/vconf-internal-softap-keys.html @@ -0,0 +1,67 @@ + + + Vconf key list + + + +

vconf key list

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ID Keyname Type Value Smack Label Maintainer Comment Header Only Private Spec
VCONFKEY_SOFTAP_CONNECTED_DEVICEmemory/softap/connected_deviceint320Seonah Moon To notify clients which are connected through softap
VCONFKEY_SOFTAP_SECURITYdb/softap/securityint321Seonah Moon To notify softap security type
VCONFKEY_SOFTAP_HIDEdb/softap/hideint320Seonah Moon To notify softap visibility mode(visible/invisible)
VCONFKEY_SOFTAP_SSIDmemory/private/softap/ssidstringSeonah Moon Softap device's SSID
+ + diff --git a/scripts/vconf-internal-softap-keys.sh b/scripts/vconf-internal-softap-keys.sh new file mode 100644 index 0000000..40d319a --- /dev/null +++ b/scripts/vconf-internal-softap-keys.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +/usr/bin/buxton2ctl -i -d create-int32 "memory" "memory/softap/connected_device" "0" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin" + +/usr/bin/buxton2ctl -i -d create-int32 "system" "db/softap/security" "1" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin" + +/usr/bin/buxton2ctl -i -d create-int32 "system" "db/softap/hide" "0" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin" + +/usr/bin/buxton2ctl -i -d create-string "memory" "memory/private/softap/ssid" "" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin" -- 2.7.4