Change-Id: I636e63e2494f0675d4d4a6ecab067fb3766602e5
Signed-off-by: pr.jung <pr.jung@samsung.com>
iface_len = strlen(iface) + 1;
signal_len = strlen(signal) + 1;
iface_len = strlen(iface) + 1;
signal_len = strlen(signal) + 1;
- if (strncmp(iface, STORAGE_EXT_IFACE, iface_len))
+ if (strncmp(iface, STORAGE_EXT_IFACE_MANAGER, iface_len))
return;
if (!strncmp(signal, STORAGE_EXT_DEVICE_CHANGED, signal_len))
return;
if (!strncmp(signal, STORAGE_EXT_DEVICE_CHANGED, signal_len))
block_id = g_dbus_connection_signal_subscribe(conn,
STORAGE_EXT_BUS_NAME,
block_id = g_dbus_connection_signal_subscribe(conn,
STORAGE_EXT_BUS_NAME,
+ STORAGE_EXT_IFACE_MANAGER,
result = dbus_method_call_sync(STORAGE_EXT_BUS_NAME,
STORAGE_EXT_PATH_MANAGER,
STORAGE_EXT_IFACE_MANAGER,
result = dbus_method_call_sync(STORAGE_EXT_BUS_NAME,
STORAGE_EXT_PATH_MANAGER,
STORAGE_EXT_IFACE_MANAGER,
g_variant_new("(i)", storage_id));
if (!result) {
_E("There is no storage with the storage id (%d)", storage_id); //LCOV_EXCL_LINE
g_variant_new("(i)", storage_id));
if (!result) {
_E("There is no storage with the storage id (%d)", storage_id); //LCOV_EXCL_LINE
#include "list.h"
#define STORAGE_EXT_BUS_NAME "org.tizen.system.storage"
#include "list.h"
#define STORAGE_EXT_BUS_NAME "org.tizen.system.storage"
-#define STORAGE_EXT_PATH "/Org/Tizen/System/Storage/Block"
-#define STORAGE_EXT_PATH_DEVICES STORAGE_EXT_PATH"/Devices"
-#define STORAGE_EXT_PATH_MANAGER STORAGE_EXT_PATH"/Manager"
-#define STORAGE_EXT_IFACE STORAGE_EXT_BUS_NAME".Block"
+#define STORAGE_EXT_PATH_MANAGER "/Org/Tizen/System/Storage/Block/Manager"
#define STORAGE_EXT_IFACE_MANAGER STORAGE_EXT_BUS_NAME".BlockManager"
enum mount_state {
#define STORAGE_EXT_IFACE_MANAGER STORAGE_EXT_BUS_NAME".BlockManager"
enum mount_state {