Searched defs:percentage (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp369 int32_t percentage; local
370 CHECK(msg->findInt32("percentage", &percentage));
372 notify->setInt32("percentage", percentage);
H A DGenericSource.cpp583 void NuPlayer::GenericSource::notifyBufferingUpdate(int32_t percentage) { argument
587 // percentage and don't allow it to go backward.
588 if (percentage < mPrevBufferPercentage) {
589 percentage = mPrevBufferPercentage;
590 } else if (percentage > 100) {
591 percentage = 100;
594 mPrevBufferPercentage = percentage;
596 ALOGV("notifyBufferingUpdate: buffering %d%%", percentage);
600 msg->setInt32("percentage", percentage);
710 int percentage = 100.0 * cachedPosUs / mDurationUs; local
[all...]
H A DNuPlayer.cpp2098 int32_t percentage; local
2099 CHECK(msg->findInt32("percentage", &percentage));
2101 notifyListener(MEDIA_BUFFERING_UPDATE, percentage, 0);
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp743 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
744 if (percentage > 100) {
745 percentage = 100;
748 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
793 int percentage = 100.0 * (double)cachedDurationUs / mDurationUs; local
794 if (percentage > 100) {
795 percentage = 100;
798 notifyListener_l(MEDIA_BUFFERING_UPDATE, percentage);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp2246 void LiveSession::notifyBufferingUpdate(int32_t percentage) { argument
2247 if (percentage < mPrevBufferPercentage) {
2248 percentage = mPrevBufferPercentage;
2249 } else if (percentage > 100) {
2250 percentage = 100;
2253 mPrevBufferPercentage = percentage;
2255 ALOGV("notifyBufferingUpdate: percentage=%d%%", percentage);
2259 notify->setInt32("percentage", percentage);
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java1891 * @param percentage The quality of the connection 0 is bad, 100 is good
1894 public void reportInetCondition(int networkType, int percentage) { argument
1896 mService.reportInetCondition(networkType, percentage);
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java2707 public void reportInetCondition(int networkType, int percentage) { argument
2710 reportNetworkConnectivity(nai.network, percentage > 50);

Completed in 143 milliseconds