Home | History | Annotate | Download | only in libmediaplayerservice

Lines Matching full:refcount

221     mBatteryAudio.refCount = 0;
1746 if (mBatteryAudio.refCount > 0) { // if playing audio
1766 if (mBatteryAudio.refCount == 0) {
1774 mBatteryAudio.refCount ++;
1778 if (mBatteryAudio.refCount <= 0) {
1779 LOGW("Battery track warning: refCount is <= 0");
1785 if (mBatteryAudio.refCount == 1) {
1795 mBatteryAudio.refCount --;
1811 info.refCount = 0;
1824 info.refCount ++;
1828 info.refCount ++;
1831 if (info.refCount == 0) {
1832 LOGW("Battery track warning: refCount is already 0");
1834 } else if (info.refCount < 0) {
1835 LOGE("Battery track error: refCount < 0");
1842 info.refCount --;
1846 info.refCount --;
1850 if (info.refCount == 0) {
1898 if (info.refCount <= 0) {