Searched refs:plugged (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/SDL2/src/power/android/ |
A D | SDL_syspower.c | 35 int plugged; in SDL_GetPowerInfo_Android() local 38 if (Android_JNI_GetPowerInfo(&plugged, &charged, &battery, seconds, percent) != -1) { in SDL_GetPowerInfo_Android() 39 if (plugged) { in SDL_GetPowerInfo_Android()
|
/AliOS-Things-master/components/SDL2/src/power/psp/ |
A D | SDL_syspower.c | 36 int plugged = scePowerIsPowerOnline(); in SDL_GetPowerInfo_PSP() local 51 } else if (plugged) { in SDL_GetPowerInfo_PSP()
|
/AliOS-Things-master/components/SDL2/src/core/android/ |
A D | SDL_android.h | 86 int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seconds, int* percent);
|
A D | SDL_android.c | 2302 int Android_JNI_GetPowerInfo(int *plugged, int *charged, int *battery, int *seconds, int *percent) in Android_JNI_GetPowerInfo() argument 2359 if (plugged) { in Android_JNI_GetPowerInfo() 2368 *plugged = (0 < plug) ? 1 : 0; in Android_JNI_GetPowerInfo()
|
Completed in 14 milliseconds