Lines Matching refs:refCount
2827 mBatteryAudio.refCount = 0; in BatteryTracker()
2869 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2889 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2897 mBatteryAudio.refCount ++; in addBatteryData()
2901 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2908 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2918 mBatteryAudio.refCount --; in addBatteryData()
2934 info.refCount = 0; in addBatteryData()
2947 info.refCount ++; in addBatteryData()
2951 info.refCount ++; in addBatteryData()
2954 if (info.refCount == 0) { in addBatteryData()
2957 } else if (info.refCount < 0) { in addBatteryData()
2965 info.refCount --; in addBatteryData()
2969 info.refCount --; in addBatteryData()
2973 if (info.refCount == 0) { in addBatteryData()
3021 if (info.refCount <= 0) { in pullBatteryData()