Lines Matching refs:refCount
210 mBatteryAudio.refCount = 0;
1904 if (mBatteryAudio.refCount > 0) { // if playing audio
1924 if (mBatteryAudio.refCount == 0) {
1932 mBatteryAudio.refCount ++;
1936 if (mBatteryAudio.refCount <= 0) {
1937 ALOGW("Battery track warning: refCount is <= 0");
1943 if (mBatteryAudio.refCount == 1) {
1953 mBatteryAudio.refCount --;
1969 info.refCount = 0;
1982 info.refCount ++;
1986 info.refCount ++;
1989 if (info.refCount == 0) {
1990 ALOGW("Battery track warning: refCount is already 0");
1992 } else if (info.refCount < 0) {
1993 ALOGE("Battery track error: refCount < 0");
2000 info.refCount --;
2004 info.refCount --;
2008 if (info.refCount == 0) {
2056 if (info.refCount <= 0) {