Searched refs:refCount (Results 1 - 17 of 17) 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.java84 private PublicKeyHandle(long id, int refCount, PublicKey key) { argument
86 mRefCount = refCount;
792 int refCount = 0;
793 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount));
807 int refCount = 0;
811 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", i,
38 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.h45 refCount = 0;
50 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.java544 final int refCount = mResourceImpls.size();
545 for (int i = 0; i < refCount; i++) {
600 final int refCount = activityResources.activityResources.size();
601 for (int i = 0; i < refCount; i++) {
633 final int refCount = mResourceReferences.size();
634 for (int i = 0; i < refCount; i++) {
913 final int refCount = activityResources.activityResources.size();
914 for (int i = 0; i < refCount; i++) {
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java90 if (++network.refCount == 1) {
103 if (--network.refCount == 1) {
237 long refCount = 0; field in class:EthernetNetworkFactory.NetworkInterfaceState
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp2626 mBatteryAudio.refCount = 0;
2668 if (mBatteryAudio.refCount > 0) { // if playing audio
2688 if (mBatteryAudio.refCount == 0) {
2696 mBatteryAudio.refCount ++;
2700 if (mBatteryAudio.refCount <= 0) {
2701 ALOGW("Battery track warning: refCount is <= 0");
2707 if (mBatteryAudio.refCount == 1) {
2717 mBatteryAudio.refCount --;
2733 info.refCount = 0;
2746 info.refCount
[all...]
H A DMediaPlayerService.h274 int refCount; member in struct:android::MediaPlayerService::BatteryTracker::BatteryUsageInfo
300 int refCount; // how many audio streams are being played member in struct:android::MediaPlayerService::BatteryTracker::BatteryAudioFlingerUsageInfo
/frameworks/base/tests/net/java/com/android/server/
H A DIpSecServiceRefcountedResourceTest.java67 int refCount,
74 assertEquals(refCount, resource.mRefCount);
65 assertResourceState( RefcountedResource<IResource> resource, int refCount, int userReleaseCallCount, int releaseReferenceCallCount, int invalidateCallCount, int freeUnderlyingResourcesCallCount) argument
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp508 entry->refCount += 1;
698 if (entry->refCount == 1) {
718 entry->refCount += 1;
777 entry->refCount += 1;
814 entry->refCount += 1;
2402 splitMotionEntry->injectionState->refCount += 1;
2757 injectionState->refCount += 1;
3914 refCount(1),
3924 refCount -= 1;
3925 if (refCount
[all...]
H A DInputDispatcher.h413 mutable int32_t refCount; member in struct:android::InputDispatcher::InjectionState
436 mutable int32_t refCount; member in struct:android::InputDispatcher::EventEntry
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp4375 size_t refCount = refs.value.size(); local
4376 if (refCount > 65535) {
4378 refCount = 65535;
4380 writeInt16((uint16_t)refCount);
4381 for (size_t refIndex = 0; refIndex < refCount; refIndex++) {
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp4609 int refCount = dupOutputDesc->mRefCount[j]; local
4610 outputDesc2->changeRefCount((audio_stream_type_t)j,-refCount);

Completed in 339 milliseconds