diff options
author | dukan.kim <dukan.kim@samsung.com> | 2013-04-19 20:39:48 +0900 |
---|---|---|
committer | dukan.kim <dukan.kim@samsung.com> | 2013-04-19 20:39:48 +0900 |
commit | 840357583481cc346d823508aa146aa88841862c (patch) | |
tree | 96ca65e987176b2d8bc69c9611a810941fc33142 | |
parent | 52dd9c74aa993165bd277476c124a5969a53e953 (diff) | |
download | bluetooth-840357583481cc346d823508aa146aa88841862c.tar.gz bluetooth-840357583481cc346d823508aa146aa88841862c.tar.bz2 bluetooth-840357583481cc346d823508aa146aa88841862c.zip |
Applys secure log.submit/tizen_2.1/20130424.232348submit/tizen/20130517.045505accepted/tizen_2.1/20130425.034841accepted/tizen/20130520.1014592.1b_releasetizen_2.1
Change-Id: I6291e033481587dde3f37c0e848c49701781da2f
Signed-off-by: dukan.kim <dukan.kim@samsung.com>
-rwxr-xr-x | src/FNetBt_BluetoothDeviceImpl.cpp | 2 | ||||
-rwxr-xr-x | src/FNetBt_BluetoothGapSystemAdapter.cpp | 2 | ||||
-rwxr-xr-x | src/FNetBt_BluetoothHdpSystemAdapter.cpp | 8 | ||||
-rwxr-xr-x | src/FNetBt_BluetoothIpcProxy.cpp | 2 | ||||
-rwxr-xr-x | src/FNetBt_BluetoothSppSystemAdapter.cpp | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/FNetBt_BluetoothDeviceImpl.cpp b/src/FNetBt_BluetoothDeviceImpl.cpp index 4b7af09..d8bb405 100755 --- a/src/FNetBt_BluetoothDeviceImpl.cpp +++ b/src/FNetBt_BluetoothDeviceImpl.cpp @@ -305,7 +305,7 @@ _BluetoothDeviceImpl::GetAddressByteBuffer(const Tizen::Base::String& srcAddr, c SysTryReturnResult(NID_NET_BT, r == E_SUCCESS, E_SYSTEM, "The ByteBuffer argument is invalid."); } - SysLog(NID_NET_BT, "Translated address is [%ls]", GetAddressString(dstAddr).GetPointer()); + SysSecureLog(NID_NET_BT, "Translated address is [%ls]", GetAddressString(dstAddr).GetPointer()); return E_SUCCESS; } diff --git a/src/FNetBt_BluetoothGapSystemAdapter.cpp b/src/FNetBt_BluetoothGapSystemAdapter.cpp index c0f67a9..de5faf3 100755 --- a/src/FNetBt_BluetoothGapSystemAdapter.cpp +++ b/src/FNetBt_BluetoothGapSystemAdapter.cpp @@ -916,7 +916,7 @@ _BluetoothGapSystemAdapter::OnPairedDeviceFound(bt_device_info_s* pDeviceInfo, v // converts the UTF8 multibyte string to Unicode String (void) StringUtil::Utf8ToString(pDeviceInfo->remote_name, convertedName); - SysLog(NID_NET_BT, "Paired Device - (name: %ls)", convertedName.GetPointer()); + SysSecureLog(NID_NET_BT, "Paired Device - (name: %ls)", convertedName.GetPointer()); _BluetoothDeviceImpl* pDevImpl = _BluetoothDeviceImpl::GetInstance(*pPairedDevice); diff --git a/src/FNetBt_BluetoothHdpSystemAdapter.cpp b/src/FNetBt_BluetoothHdpSystemAdapter.cpp index 0ea320a..8045ae1 100755 --- a/src/FNetBt_BluetoothHdpSystemAdapter.cpp +++ b/src/FNetBt_BluetoothHdpSystemAdapter.cpp @@ -257,7 +257,7 @@ _BluetoothHdpSystemAdapter::ConnectToSource(const Tizen::Base::ByteBuffer& sourc SysTryReturnResult(NID_NET_BT, pSourceAddress != null, E_OPERATION_FAILED, "Converting address to char* fails."); err = bt_hdp_connect_to_source(pSourceAddress, pAppId); - SysLog(NID_NET_BT, "Connecting to the remote source device [%s] %s.", pSourceAddress, + SysSecureLog(NID_NET_BT, "Connecting to the remote source device [%s] %s.", pSourceAddress, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -284,7 +284,7 @@ _BluetoothHdpSystemAdapter::Disconnect(int channelId) SysTryReturnResult(NID_NET_BT, pSourceAddress != null, E_OPERATION_FAILED, "Address converting fails."); err = bt_hdp_disconnect(pSourceAddress, channelId); - SysLog(NID_NET_BT, "Disconnecting from the remote source device [%s] with channel id [%d] %s.", pSourceAddress, channelId, + SysSecureLog(NID_NET_BT, "Disconnecting from the remote source device [%s] with channel id [%d] %s.", pSourceAddress, channelId, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -309,7 +309,7 @@ _BluetoothHdpSystemAdapter::SendData(int channelId, const Tizen::Base::ByteBuffe healthDataLength = data.GetRemaining(); err = bt_hdp_send_data(channelId, (char*)pHealthData, healthDataLength); - SysLog(NID_NET_BT, "Sending data to the remote source with channel id [%d] of length [%d] %s.", channelId, healthDataLength, + SysSecureLog(NID_NET_BT, "Sending data to the remote source with channel id [%d] of length [%d] %s.", channelId, healthDataLength, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -433,7 +433,7 @@ _BluetoothHdpSystemAdapter::OnHdpDataReceived(unsigned int channelId, const char // Fire the data received event using the _BluetoothHealthImpl handle pHealthImpl->OnBluetoothHealthDataReceived(channelId, dataBuffer); - SysLog(NID_NET_BT, " Received Health data of (%d bytes) through the channel (ID: %d) is received.", dataSize, channelId); + SysSecureLog(NID_NET_BT, " Received Health data of (%d bytes) through the channel (ID: %d) is received.", dataSize, channelId); } } } } // Tizen::Net::Bluetooth diff --git a/src/FNetBt_BluetoothIpcProxy.cpp b/src/FNetBt_BluetoothIpcProxy.cpp index 5fa6056..c501d53 100755 --- a/src/FNetBt_BluetoothIpcProxy.cpp +++ b/src/FNetBt_BluetoothIpcProxy.cpp @@ -110,7 +110,7 @@ _BluetoothIpcProxy::GetLocalDeviceName(Tizen::Base::String& deviceName) const SysTryReturnResult(NID_NET_BT, r == E_SUCCESS, E_SYSTEM, "A system error occurred."); SysTryReturnResult(NID_NET_BT, ret == E_SUCCESS, ret, "Propagating."); - SysLog(NID_NET_BT, "The Bluetooth name obtained through IPC is [%ls].", deviceName.GetPointer()); + SysSecureLog(NID_NET_BT, "The Bluetooth name obtained through IPC is [%ls].", deviceName.GetPointer()); return E_SUCCESS; } diff --git a/src/FNetBt_BluetoothSppSystemAdapter.cpp b/src/FNetBt_BluetoothSppSystemAdapter.cpp index 11fcc36..3358546 100755 --- a/src/FNetBt_BluetoothSppSystemAdapter.cpp +++ b/src/FNetBt_BluetoothSppSystemAdapter.cpp @@ -426,7 +426,7 @@ _BluetoothSppSystemAdapter::OnSocketConnectionStateChanged(int status, bt_socket case BT_SOCKET_CONNECTED: if (pConnectionInfo->local_role == BT_SOCKET_CLIENT) { - SysLog(NID_NET_BT, "Connected event from [address: %s, uuid: %s] is received.", + SysSecureLog(NID_NET_BT, "Connected event from [address: %s, uuid: %s] is received.", pConnectionInfo->remote_address, pConnectionInfo->service_uuid); String address(pConnectionInfo->remote_address); |