Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/app/
DApplicationLoaders.java188 CachedClassLoader cached = mSystemLibsCacheMap.get(dependencyPath); in createAndCacheNonBootclasspathSystemClassLoader() local
190 if (cached == null) { in createAndCacheNonBootclasspathSystemClassLoader()
195 sharedLibraries.add(cached.loader); in createAndCacheNonBootclasspathSystemClassLoader()
210 CachedClassLoader cached = new CachedClassLoader(); in createAndCacheNonBootclasspathSystemClassLoader() local
211 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader()
212 cached.sharedLibraries = sharedLibraries; in createAndCacheNonBootclasspathSystemClassLoader()
215 mSystemLibsCacheMap.put(path, cached); in createAndCacheNonBootclasspathSystemClassLoader()
243 CachedClassLoader cached = mSystemLibsCacheMap.get(zip); in getCachedNonBootclasspathSystemLib() local
244 if (cached == null) { in getCachedNonBootclasspathSystemLib()
249 if (!sharedLibrariesEquals(sharedLibraries, cached.sharedLibraries)) { in getCachedNonBootclasspathSystemLib()
[all …]
DIUidObserver.aidl75 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged() argument
DUidObserver.java32 public void onUidCachedChanged(int uid, boolean cached) { in onUidCachedChanged() argument
/frameworks/base/apct-tests/perftests/core/src/android/text/
DBoringLayoutIsBoringPerfTest.java49 for (boolean cached : BOOLEANS) { in cases()
54 length, boring, textType, cached}); in cases()
72 boolean cached) { in BoringLayoutIsBoringPerfTest() argument
75 mCached = cached; in BoringLayoutIsBoringPerfTest()
DPaintMeasureDrawPerfTest.java50 for (boolean cached : BOOLEANS) { in cases()
51 params.add(new Object[]{length, cached}); in cases()
65 public PaintMeasureDrawPerfTest(int length, boolean cached) { in PaintMeasureDrawPerfTest() argument
67 mCached = cached; in PaintMeasureDrawPerfTest()
DStaticLayoutCreateDrawPerfTest.java58 for (boolean cached : BOOLEANS) { in cases()
61 params.add(new Object[]{textType.name(), length, textType, cached}); in cases()
75 boolean cached) { in StaticLayoutCreateDrawPerfTest() argument
78 mCached = cached; in StaticLayoutCreateDrawPerfTest()
DBoringLayoutCreateDrawPerfTest.java54 for (boolean cached : BOOLEANS) { in cases()
57 params.add(new Object[]{textType.name(), length, textType, cached}); in cases()
73 boolean cached) { in BoringLayoutCreateDrawPerfTest() argument
75 mCached = cached; in BoringLayoutCreateDrawPerfTest()
DTextViewSetTextMeasurePerfTest.java61 for (boolean cached : BOOLEANS) { in cases()
64 params.add(new Object[]{textType.name(), length, textType, cached}); in cases()
78 boolean cached) { in TextViewSetTextMeasurePerfTest() argument
81 mCached = cached; in TextViewSetTextMeasurePerfTest()
/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java39 final Integer cached = mBucketCache.get(key); in getStandbyBucket() local
40 if (cached != null) { in getStandbyBucket()
41 return cached; in getStandbyBucket()
/frameworks/base/services/core/java/com/android/server/pm/
DProcessLoggingHandler.java77 LoggingInfo cached = mLoggingInfo.get(apkFile); in logAppProcessStart() local
78 requestChecksums = cached == null; in logAppProcessStart()
81 cached = new LoggingInfo(); in logAppProcessStart()
82 mLoggingInfo.put(apkFile, cached); in logAppProcessStart()
84 loggingInfo = cached; in logAppProcessStart()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayShapeTest.java78 final DisplayShape cached = DisplayShape.fromSpecString( in testFromSpecString_cache() local
81 sameInstance(cached)); in testFromSpecString_cache()
86 final Path cached = DisplayShape.fromSpecString( in testGetPath_cache() local
90 sameInstance(cached)); in testGetPath_cache()
DRoundedCornersTest.java198 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_cache() local
200 assertThat(RoundedCorners.fromRadii(radius, 200, 400), sameInstance(cached)); in testFromRadius_cache()
206 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfRadiusChanged() local
209 not(sameInstance(cached))); in testFromRadius_wontCacheIfRadiusChanged()
215 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfDisplayWidthChanged() local
218 not(sameInstance(cached))); in testFromRadius_wontCacheIfDisplayWidthChanged()
224 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfDisplayHeightChanged() local
227 not(sameInstance(cached))); in testFromRadius_wontCacheIfDisplayHeightChanged()
DDisplayCutoutTest.java365 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets, null); in fromSpec_caches() local
368 sameInstance(cached)); in fromSpec_caches()
373 DisplayCutout cached = fromSpec("L1,0 L1000,1000 L0,1 z", 200, 400, 1f, Insets.NONE, null); in fromSpec_wontCacheIfSpecChanges() local
376 not(sameInstance(cached))); in fromSpec_wontCacheIfSpecChanges()
381 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f, Insets.NONE, null); in fromSpec_wontCacheIfScreenWidthChanges() local
384 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenWidthChanges()
389 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f, Insets.NONE, null); in fromSpec_wontCacheIfScreenHeightChanges() local
392 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenHeightChanges()
397 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE, null); in fromSpec_wontCacheIfDensityChanges() local
400 not(sameInstance(cached))); in fromSpec_wontCacheIfDensityChanges()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapperTest.kt91 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT) in testGetCachedValues_component() constant
94 assertEquals(expected, cached) in testGetCachedValues_component()
99 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT_OTHER) in testGetCachedValues_componentOther() constant
102 assertEquals(expected, cached) in testGetCachedValues_componentOther()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java77 final Integer cached = sHashCache.get(s); in getUnsignedHashCached() local
78 if (cached != null) { in getUnsignedHashCached()
79 return cached; in getUnsignedHashCached()
/frameworks/base/tools/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/
DHostTestUtils.java126 var cached = sAllowedClasses.get(clazz); in isClassAllowedToCallNonStubMethods() local
127 if (cached != null) { in isClassAllowedToCallNonStubMethods()
128 return cached; in isClassAllowedToCallNonStubMethods()
/frameworks/base/cmds/incident_helper/testdata/
Dprocrank_short.txt7 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
Dprocrank.txt8 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
Dcpuinfo.txt5 Swap: 524284k total, 25892k used, 498392k free, 1316952k cached
/frameworks/av/media/codec2/hal/client/
DGraphicsTracker.cpp581 bool cached, int slot, const sp<Fence> &fence, in commitAllocate() argument
586 if (cached) { in commitAllocate()
623 bool *cached, in _allocate() argument
646 *cached = false; in _allocate()
720 *cached = false; in _allocate()
722 *cached = true; in _allocate()
725 *cached, slotId); in _allocate()
745 bool cached = false; in allocate() local
750 res = _allocate(cache, width, height, format, usage, &cached, &slotId, &fence, &buffer); in allocate()
751 commitAllocate(res, cache, cached, slotId, fence, &buffer, &updateDequeue); in allocate()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
626 if (cached == null) { in checkIconCache()
630 return cached.newDrawable(); in checkIconCache()
670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/base/apex/jobscheduler/service/aconfig/
Dalarm.aconfig7 description: "Use frozen state callback to drop listener alarms for cached apps"
/frameworks/proto_logging/stats/enums/app/
Dapp_enums.proto93 // Process is being cached for later use and contains activities.
95 // Process is being cached for later use and is a client of another cached
98 // Process is being cached for later use and has an activity that corresponds
101 // Process is being cached for later use and is empty.
423 * Application process was killed by the activity manager because there were too many cached
435 * Application process was killed by the activity manager because there were too many cached
442 * memory pressure and this process took large amount of cached memory.
509 * The process was killed because it's isolated and was in a cached state.
514 * The process was killed because it's in forced-app-standby state, and it's cached and
/frameworks/base/core/java/com/android/internal/util/
DParcelling.java86 P cached = get(clazz); in getOrCreate() local
87 if (cached != null) { in getOrCreate()
88 return cached; in getOrCreate()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); in setImage() local
245 if (cached != null) { in setImage()
246 setBitmap(cached); in setImage()

123