From d30210153d8f19a0ca825b33f2282b9ae071c6ec Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sun, 22 Jul 2012 15:24:24 +0200 Subject: jellybeaned --- audio/ril_interface.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'audio/ril_interface.c') diff --git a/audio/ril_interface.c b/audio/ril_interface.c index 4e1e2a1..89a0aef 100755 --- a/audio/ril_interface.c +++ b/audio/ril_interface.c @@ -14,8 +14,8 @@ * limitations under the License. */ -#define LOG_TAG "audio_hw_primary" -/*#define LOG_NDEBUG 0*/ +#define ALOG_TAG "audio_hw_primary" +/*#define ALOG_NDEBUG 0*/ #include #include @@ -72,7 +72,7 @@ static int ril_connect_if_required(struct ril_handle *ril) return 0; if (_ril_connect(ril->client) != RIL_CLIENT_ERR_SUCCESS) { - LOGE("ril_connect() failed"); + ALOGE("ril_connect() failed"); return -1; } @@ -94,7 +94,7 @@ int ril_open(struct ril_handle *ril) ril->handle = dlopen(RIL_CLIENT_LIBPATH, RTLD_NOW); if (!ril->handle) { - LOGE("Cannot open '%s'", RIL_CLIENT_LIBPATH); + ALOGE("Cannot open '%s'", RIL_CLIENT_LIBPATH); return -1; } @@ -115,14 +115,14 @@ int ril_open(struct ril_handle *ril) !_ril_is_connected || !_ril_disconnect || !_ril_set_call_volume || !_ril_set_call_audio_path || !_ril_set_call_clock_sync || !_ril_register_unsolicited_handler) { - LOGE("Cannot get symbols from '%s'", RIL_CLIENT_LIBPATH); + ALOGE("Cannot get symbols from '%s'", RIL_CLIENT_LIBPATH); dlclose(ril->handle); return -1; } ril->client = _ril_open_client(); if (!ril->client) { - LOGE("ril_open_client() failed"); + ALOGE("ril_open_client() failed"); dlclose(ril->handle); return -1; } @@ -148,7 +148,7 @@ int ril_close(struct ril_handle *ril) if ((_ril_disconnect(ril->client) != RIL_CLIENT_ERR_SUCCESS) || (_ril_close_client(ril->client) != RIL_CLIENT_ERR_SUCCESS)) { - LOGE("ril_disconnect() or ril_close_client() failed"); + ALOGE("ril_disconnect() or ril_close_client() failed"); return -1; } -- cgit v1.1