Lines Matching refs:refCount
2623 mBatteryAudio.refCount = 0; in BatteryTracker()
2665 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2685 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2693 mBatteryAudio.refCount ++; in addBatteryData()
2697 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2704 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2714 mBatteryAudio.refCount --; in addBatteryData()
2730 info.refCount = 0; in addBatteryData()
2743 info.refCount ++; in addBatteryData()
2747 info.refCount ++; in addBatteryData()
2750 if (info.refCount == 0) { in addBatteryData()
2753 } else if (info.refCount < 0) { in addBatteryData()
2761 info.refCount --; in addBatteryData()
2765 info.refCount --; in addBatteryData()
2769 if (info.refCount == 0) { in addBatteryData()
2817 if (info.refCount <= 0) { in pullBatteryData()