Searched refs:refCount (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DKeySetHandle.java33 protected KeySetHandle(long id, int refCount) { argument
35 mRefCount = refCount;
H A DKeySetManagerService.java82 private PublicKeyHandle(long id, int refCount, PublicKey key) { argument
84 mRefCount = refCount;
755 int refCount = 0;
756 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount));
770 int refCount = 0;
774 PublicKeyHandle pkh = new PublicKeyHandle(identifier, refCount, pub);
/frameworks/base/libs/hwui/
H A DResourceCache.cpp37 ALOGD(" ResourceCache: mCache(%zu): refCount, destroyed, type = %d, %d, %d",
38 i, ref->refCount, ref->destroyed, ref->resourceType);
76 ref->refCount++;
95 ref->refCount--;
96 if (ref->refCount == 0) {
125 if (ref->refCount == 0) {
H A DResourceCache.h46 refCount = 0; destroyed = false; resourceType = type;
49 int refCount; member in class:android::uirenderer::ResourceReference
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrameManager.java97 int refCount = frame.decRefCount();
98 if (refCount == 0 && frame.hasNativeAllocation()) {
101 } else if (refCount < 0) {
H A DCachedFrameManager.java71 int refCount = frame.decRefCount();
72 if (refCount == 0 && frame.hasNativeAllocation()) {
77 } else if (refCount < 0) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java299 Integer refCount = mRefCounts.get(object);
300 if (refCount != null) {
301 mRefCounts.put(object, refCount + 1);
308 Integer refCount = mRefCounts.get(object);
309 if (refCount != null && refCount > 0) {
310 --refCount;
311 mRefCounts.put(object, refCount);
312 return refCount == 0;
/frameworks/base/core/java/android/nfc/
H A DNfcActivityManager.java58 int refCount = 0; field in class:NfcActivityManager.NfcApplicationState
64 refCount++;
65 if (refCount == 1) {
70 refCount--;
71 if (refCount == 0) {
73 } else if (refCount < 0) {
/frameworks/base/core/java/android/app/
H A DResourcesManager.java394 final int refCount = mResourceImpls.size();
395 for (int i = 0; i < refCount; i++) {
445 final int refCount = activityResources.activityResources.size();
446 for (int i = 0; i < refCount; i++) {
478 final int refCount = mResourceReferences.size();
479 for (int i = 0; i < refCount; i++) {
770 final int refCount = activityResources.activityResources.size();
771 for (int i = 0; i < refCount; i++) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp2484 mBatteryAudio.refCount = 0;
2526 if (mBatteryAudio.refCount > 0) { // if playing audio
2546 if (mBatteryAudio.refCount == 0) {
2554 mBatteryAudio.refCount ++;
2558 if (mBatteryAudio.refCount <= 0) {
2559 ALOGW("Battery track warning: refCount is <= 0");
2565 if (mBatteryAudio.refCount == 1) {
2575 mBatteryAudio.refCount --;
2591 info.refCount = 0;
2604 info.refCount
[all...]
H A DMediaPlayerService.h265 int refCount; member in struct:android::MediaPlayerService::BatteryTracker::BatteryUsageInfo
291 int refCount; // how many audio streams are being played member in struct:android::MediaPlayerService::BatteryTracker::BatteryAudioFlingerUsageInfo
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp469 entry->refCount += 1;
659 if (entry->refCount == 1) {
679 entry->refCount += 1;
737 entry->refCount += 1;
774 entry->refCount += 1;
2367 splitMotionEntry->injectionState->refCount += 1;
2699 injectionState->refCount += 1;
3852 refCount(1),
3862 refCount -= 1;
3863 if (refCount
[all...]
H A DInputDispatcher.h414 mutable int32_t refCount; member in struct:android::InputDispatcher::InjectionState
437 mutable int32_t refCount; member in struct:android::InputDispatcher::EventEntry
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp4371 int refCount = dupOutputDesc->mRefCount[j]; local
4372 outputDesc2->changeRefCount((audio_stream_type_t)j,-refCount);

Completed in 1667 milliseconds