Searched refs:percentage (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
H A DIConnectivityManager.aidl104 void reportInetCondition(int networkType, int percentage);
H A DConnectivityManager.java763 * @param percentage The quality of the connection 0 is bad, 100 is good
766 public void reportInetCondition(int networkType, int percentage) { argument
768 mService.reportInetCondition(networkType, percentage);
/frameworks/base/media/libstagefright/
H A DAwesomePlayer.cpp677 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
678 if (percentage > 100) {
679 percentage = 100;
682 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
728 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
729 if (percentage > 100) {
730 percentage = 100;
733 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewPlayerBase.cpp586 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
587 if (percentage > 100) {
588 percentage = 100;
591 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java2595 public void reportInetCondition(int networkType, int percentage) { argument
2596 if (VDBG) log("reportNetworkCondition(" + networkType + ", " + percentage + ")");
2605 (percentage > 50 ? "connected" : "disconnected") + " (" + percentage + ") on " +
2613 EVENT_INET_CONDITION_CHANGE, networkType, percentage));

Completed in 217 milliseconds