/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsUidResolver.java | 139 final int refCount = mIsolatedUidRefCounts.get(uid, 0); in retainIsolatedUid() local 140 if (refCount <= 0) { in retainIsolatedUid() 147 mIsolatedUidRefCounts.put(uid, refCount + 1); in retainIsolatedUid() 159 final int refCount = mIsolatedUidRefCounts.get(isolatedUid, 0) - 1; in releaseIsolatedUid() local 160 if (refCount > 0) { in releaseIsolatedUid() 162 mIsolatedUidRefCounts.put(isolatedUid, refCount); in releaseIsolatedUid()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetHandle.java | 33 protected KeySetHandle(long id, int refCount) { in KeySetHandle() argument 35 mRefCount = refCount; in KeySetHandle()
|
D | KeySetManagerService.java | 92 private PublicKeyHandle(long id, int refCount, PublicKey key) { in PublicKeyHandle() argument 94 mRefCount = refCount; in PublicKeyHandle() 803 int refCount = 0; in readKeySetListLPw() local 804 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount)); in readKeySetListLPw() 816 int refCount = 0; in readPublicKeyLPw() local 820 PublicKeyHandle pkh = new PublicKeyHandle(identifier, refCount, pub); in readPublicKeyLPw()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | SimpleFrameManager.java | 97 int refCount = frame.decRefCount(); in releaseFrame() local 98 if (refCount == 0 && frame.hasNativeAllocation()) { in releaseFrame() 101 } else if (refCount < 0) { in releaseFrame()
|
D | CachedFrameManager.java | 71 int refCount = frame.decRefCount(); in releaseFrame() local 72 if (refCount == 0 && frame.hasNativeAllocation()) { in releaseFrame() 77 } else if (refCount < 0) { in releaseFrame()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 299 Integer refCount = mRefCounts.get(object); in addReferenceTo() local 300 if (refCount != null) { in addReferenceTo() 301 mRefCounts.put(object, refCount + 1); in addReferenceTo() 308 Integer refCount = mRefCounts.get(object); in removeReferenceTo() local 309 if (refCount != null && refCount > 0) { in removeReferenceTo() 310 --refCount; in removeReferenceTo() 311 mRefCounts.put(object, refCount); in removeReferenceTo() 312 return refCount == 0; in removeReferenceTo()
|
/frameworks/base/nfc/java/android/nfc/ |
D | NfcActivityManager.java | 56 int refCount = 0; field in NfcActivityManager.NfcApplicationState 62 refCount++; in register() 63 if (refCount == 1) { in register() 68 refCount--; in unregister() 69 if (refCount == 0) { in unregister() 71 } else if (refCount < 0) { in unregister()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 2868 mBatteryAudio.refCount = 0; in BatteryTracker() 2910 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData() 2930 if (mBatteryAudio.refCount == 0) { in addBatteryData() 2938 mBatteryAudio.refCount ++; in addBatteryData() 2942 if (mBatteryAudio.refCount <= 0) { in addBatteryData() 2949 if (mBatteryAudio.refCount == 1) { in addBatteryData() 2959 mBatteryAudio.refCount --; in addBatteryData() 2975 info.refCount = 0; in addBatteryData() 2988 info.refCount ++; in addBatteryData() 2992 info.refCount ++; in addBatteryData() [all …]
|
D | MediaPlayerService.h | 286 int refCount; member 312 int refCount; // how many audio streams are being played member
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 801 int refCount = mResourceImpls.size(); in findKeyForResourceImplLocked() local 802 for (int i = 0; i < refCount; i++) { in findKeyForResourceImplLocked() 1306 final int refCount = activityResources.activityResources.size(); in updateResourcesForActivity() local 1307 for (int i = 0; i < refCount; i++) { in updateResourcesForActivity()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 5424 size_t refCount = refs.value.size(); in writeIrefBox() local 5425 if (refCount > 65535) { in writeIrefBox() 5427 refCount = 65535; in writeIrefBox() 5429 writeInt16((uint16_t)refCount); in writeIrefBox() 5430 for (size_t refIndex = 0; refIndex < refCount; refIndex++) { in writeIrefBox()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 869 size_t refCount; member
|
D | CameraService.cpp | 4720 it->second.refCount++; in registerMonitorUid() 4725 monitoredUid.refCount = 1; in registerMonitorUid() 4745 it->second.refCount--; in unregisterMonitorUid() 4746 if (it->second.refCount == 0) { in unregisterMonitorUid()
|