builtin_modules += policy
builtin_sources += plugins/policy.c
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
builtin_modules += dbusoob
builtin_sources += plugins/dbusoob.c \
src/oob.h src/oob.c
[enable_experimental=${enableval}])
AM_CONDITIONAL(EXPERIMENTAL, test "${enable_experimental}" = "yes")
-# Start of __TIZEN_PATCH__
+# Start of TIZEN_FEATURE_BLUEZ_MODIFY
AC_ARG_ENABLE(wearable, AC_HELP_STRING([--enable-wearable],
[enable wearable profile]), [enable_wearable=${enableval}])
AM_CONDITIONAL(WEARABLE, test "${enable_wearable}" = "yes")
[Enable SAP Plugin]), [enable_sap=${enableval}])
AM_CONDITIONAL(TIZEN_SAP_PLUGIN, test "${enable_sap}" = "yes")
-# End of __TIZEN_PATCH__
-
+# End of TIZEN_FEATURE_BLUEZ_MODIFY
AC_ARG_ENABLE(sixaxis, AC_HELP_STRING([--enable-sixaxis],
[enable sixaxis plugin]), [enable_sixaxis=${enableval}])
AM_CONDITIONAL(SIXAXIS, test "${enable_sixaxis}" = "yes" &&
{
struct ftp_session *ftp = user_data;
const char *name = obex_get_name(os);
-#ifdef TIZEN_PATCH
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
char *folder;
int32_t time;
int err;
if (obex_get_size(os) == OBJECT_SIZE_DELETE)
return 0;
-#ifdef TIZEN_PATCH
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
time = 0;
err = manager_request_authorization(os, time, &folder, &name);
if (err < 0)
return 0;
}
-#ifdef TIZEN_PATCH
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
static gboolean is_valid_name(const char *name)
{
char *forbid_chars = "[*\"<>;?|\\^:/]";
return -EPERM;
}
-#ifdef TIZEN_PATCH
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
/* Check if the folder name is valid or not */
if (!is_valid_name(name)) {
error("Set path failed: Invalid folder name!");
if (missed > 0) {
#else
if (pbap->params->required_missedcall_call_header == TRUE) {
-#endif /* _TIZEN_PATCH__ */
+#endif /* TIZEN_FEATURE_BLUEZ_MODIFY */
DBG("missed %d", missed);
pbap->obj->firstpacket = TRUE;
# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
Class = 0x40414 # HIVE
#else
#Class = 0x000100
# 'false'.
#FastConnectable = false
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
# Enable the LE Privacy feature. If value is true, i.e. LE Privacy is enabled
# otherwise the feature is disabled by default for the local device.
EnableLEPrivacy = true
# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
Class = 0x00020C # Smart phone
#else
#Class = 0x000100
# 'false'.
#FastConnectable = false
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
# Enable the LE Privacy feature. If value is true, i.e. LE Privacy is enabled
# otherwise the feature is disabled by default for the local device.
EnableLEPrivacy = false
# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
Class = 0x000704 # Wearable, Wrist Watch
#else
#Class = 0x000100
# 'false'.
#FastConnectable = false
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
# Enable the LE Privacy feature. If value is true, i.e. LE Privacy is enabled
# otherwise the feature is disabled by default for the local device.
EnableLEPrivacy = false
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
-#ifdef __TIZEN_PATCH__
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
ReconnectUUIDs=
#else
#ReconnectUUIDs=