Searched refs:NetworkSpeed (Results 1 - 8 of 8) sorted by relevance

/external/qemu/android/protocol/
H A Dcore-commands-api.h49 /* Requests a NetworkSpeed instance from the Core.
51 * index - Index of an entry in the NetworkSpeed array.
52 * netspeed - Upon success contains allocated and initialized NetworkSpeed
54 * "display" fileds in the returned NetworkSpeed instance are containd
55 * inside the buffer allocated for the returned NetworkSpeed instance.
61 extern int corecmd_get_netspeed(int index, NetworkSpeed** netspeed);
H A Dcore-commands-qemu.c65 corecmd_get_netspeed(int index, NetworkSpeed** netspeed)
71 *netspeed = (NetworkSpeed*)malloc(sizeof(NetworkSpeed));
72 memcpy(*netspeed, &android_netspeeds[index], sizeof(NetworkSpeed));
H A Dcore-commands-proxy.c166 corecmd_get_netspeed(int index, NetworkSpeed** netspeed)
186 NetworkSpeed* ret;
187 // Allocate memory for the returning NetworkSpeed instance.
188 // It includes: NetworkSpeed structure +
191 *netspeed = malloc(sizeof(NetworkSpeed) + 1 +
195 // Copy data obtained from the core to the returning NetworkSpeed
199 ret->name = (char*)ret + sizeof(NetworkSpeed);
H A Dcore-commands-impl.c217 const NetworkSpeed* netspeed = &android_netspeeds[cmd->index];
/external/qemu/android/
H A Dandroid.h40 } NetworkSpeed; typedef in typeref:struct:__anon10147
42 extern const NetworkSpeed android_netspeeds[];
H A Dhelp.c770 NetworkSpeed* android_netspeed;
H A Dconsole.c705 const NetworkSpeed* speed = android_netspeeds;
/external/qemu/
H A Dnet-android.c139 const NetworkSpeed android_netspeeds[] = {

Completed in 76 milliseconds