Lines Matching full:refcount
277 mBatteryAudio.refCount = 0;
2302 if (mBatteryAudio.refCount > 0) { // if playing audio
2322 if (mBatteryAudio.refCount == 0) {
2330 mBatteryAudio.refCount ++;
2334 if (mBatteryAudio.refCount <= 0) {
2335 ALOGW("Battery track warning: refCount is <= 0");
2341 if (mBatteryAudio.refCount == 1) {
2351 mBatteryAudio.refCount --;
2367 info.refCount = 0;
2380 info.refCount ++;
2384 info.refCount ++;
2387 if (info.refCount == 0) {
2388 ALOGW("Battery track warning: refCount is already 0");
2390 } else if (info.refCount < 0) {
2391 ALOGE("Battery track error: refCount < 0");
2398 info.refCount --;
2402 info.refCount --;
2406 if (info.refCount == 0) {
2454 if (info.refCount <= 0) {