Loading system/btif/src/btif_core.c +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ bt_status_t btif_init_bluetooth() { bt_jni_workqueue_thread = thread_new(BT_JNI_WORKQUEUE_NAME); if (bt_jni_workqueue_thread == NULL) { LOG_ERROR("%s Unable to create thread %s\n", __func__, BT_JNI_WORKQUEUE_NAME); LOG_ERROR("%s Unable to create thread %s", __func__, BT_JNI_WORKQUEUE_NAME); goto error_exit; } Loading system/stack/btu/btu_task.c +6 −6 Original line number Diff line number Diff line Loading @@ -494,7 +494,7 @@ void btu_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_sec) { alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -539,7 +539,7 @@ void btu_stop_timer(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -589,7 +589,7 @@ void btu_start_quick_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_ti alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -620,7 +620,7 @@ void btu_stop_quick_timer(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -652,7 +652,7 @@ void btu_start_timer_oneshot(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_ alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading @@ -674,7 +674,7 @@ void btu_stop_timer_oneshot(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading Loading
system/btif/src/btif_core.c +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ bt_status_t btif_init_bluetooth() { bt_jni_workqueue_thread = thread_new(BT_JNI_WORKQUEUE_NAME); if (bt_jni_workqueue_thread == NULL) { LOG_ERROR("%s Unable to create thread %s\n", __func__, BT_JNI_WORKQUEUE_NAME); LOG_ERROR("%s Unable to create thread %s", __func__, BT_JNI_WORKQUEUE_NAME); goto error_exit; } Loading
system/stack/btu/btu_task.c +6 −6 Original line number Diff line number Diff line Loading @@ -494,7 +494,7 @@ void btu_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_sec) { alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -539,7 +539,7 @@ void btu_stop_timer(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -589,7 +589,7 @@ void btu_start_quick_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_ti alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -620,7 +620,7 @@ void btu_stop_quick_timer(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading Loading @@ -652,7 +652,7 @@ void btu_start_timer_oneshot(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_ alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_ERROR("%s Unable to create alarm\n", __func__); LOG_ERROR("%s Unable to create alarm", __func__); return; } alarm_cancel(alarm); Loading @@ -674,7 +674,7 @@ void btu_stop_timer_oneshot(TIMER_LIST_ENT *p_tle) { // Get the alarm for the timer list entry. alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); if (alarm == NULL) { LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__); LOG_WARN("%s Unable to find expected alarm in hashmap", __func__); return; } alarm_cancel(alarm); Loading