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

/frameworks/base/core/java/android/net/
H A DConnectivityManager.java834 * @param percentage The quality of the connection 0 is bad, 100 is good
837 public void reportInetCondition(int networkType, int percentage) { argument
839 mService.reportInetCondition(networkType, percentage);
H A DIConnectivityManager.aidl106 void reportInetCondition(int networkType, int percentage);
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp690 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
691 if (percentage > 100) {
692 percentage = 100;
695 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
740 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
741 if (percentage > 100) {
742 percentage = 100;
745 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java2958 public void reportInetCondition(int networkType, int percentage) { argument
2959 if (VDBG) log("reportNetworkCondition(" + networkType + ", " + percentage + ")");
2968 (percentage > 50 ? "connected" : "disconnected") + " (" + percentage + ") on " +
2976 EVENT_INET_CONDITION_CHANGE, networkType, percentage));

Completed in 75 milliseconds