BT_DBG("App-wise data transaction details:");
for (GSList *l = battery_data->atm_list; l != NULL; l = g_slist_next(l)) {
bt_battery_app_info_s *t = (bt_battery_app_info_s *)(l->data);
- BT_DBG("%ld %ld %d %d", (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes);
+ BT_DBG("%ld %ld %d %d %u", (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes, t->time);
}
return error_code;
}
TC_PRT("Displaying app-wise transaction details");
for (GSList *l = data->atm_list; l != NULL; l = g_slist_next(l)) {
bt_battery_app_info_s *t = (bt_battery_app_info_s *)(l->data);
- TC_PRT("uid: %ld, pid: %ld, received bytes: %d, sent bytes: %d",
- (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes);
+ TC_PRT("uid: %ld, pid: %ld, received bytes: %d, sent bytes: %d, time: %u",
+ (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes, t->time);
}
}
TC_PRT("Displaying app-wise transaction details");
for (GSList *l = data.atm_list; l != NULL; l = g_slist_next(l)) {
bt_battery_app_info_s *t = (bt_battery_app_info_s *)(l->data);
- TC_PRT("uid: %ld, pid: %ld, received bytes: %d, sent bytes: %d",
- (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes);
+ TC_PRT("uid: %ld, pid: %ld, received bytes: %d, sent bytes: %d, time: %u",
+ (long int)(t->uid), (long int)(t->pid), t->rx_bytes, t->tx_bytes, t->time);
}
}
- break;
+ break;
}
case BT_UNIT_TEST_FUNCTION_ADAPTER_INIT_BATTERY_MONITOR: {
int ret = bt_adapter_init_battery_monitor(__bt_adapter_disable_battery_cb, NULL);