Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 71) 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.aidl74 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged() argument
/frameworks/base/core/tests/coretests/src/android/view/
DRoundedCornersTest.java171 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_cache() local
173 assertThat(RoundedCorners.fromRadii(radius, 200, 400), sameInstance(cached)); in testFromRadius_cache()
179 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfRadiusChanged() local
182 not(sameInstance(cached))); in testFromRadius_wontCacheIfRadiusChanged()
188 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfDisplayWidthChanged() local
191 not(sameInstance(cached))); in testFromRadius_wontCacheIfDisplayWidthChanged()
197 RoundedCorners cached = RoundedCorners.fromRadii(radius, 200, 400); in testFromRadius_wontCacheIfDisplayHeightChanged() local
200 not(sameInstance(cached))); in testFromRadius_wontCacheIfDisplayHeightChanged()
DDisplayCutoutTest.java363 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets); in fromSpec_caches() local
366 sameInstance(cached)); in fromSpec_caches()
371 DisplayCutout cached = fromSpec("L1,0 L1000,1000 L0,1 z", 200, 400, 1f, Insets.NONE); in fromSpec_wontCacheIfSpecChanges() local
374 not(sameInstance(cached))); in fromSpec_wontCacheIfSpecChanges()
379 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenWidthChanges() local
382 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenWidthChanges()
387 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenHeightChanges() local
390 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenHeightChanges()
395 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE); in fromSpec_wontCacheIfDensityChanges() local
398 not(sameInstance(cached))); in fromSpec_wontCacheIfDensityChanges()
[all …]
/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.java59 for (boolean cached : BOOLEANS) { in cases()
62 params.add(new Object[]{textType.name(), length, textType, cached}); in cases()
76 boolean cached) { in TextViewSetTextMeasurePerfTest() argument
79 mCached = cached; in TextViewSetTextMeasurePerfTest()
/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java40 final Integer cached = mBucketCache.get(key); in getStandbyBucket() local
41 if (cached != null) { in getStandbyBucket()
42 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/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.java73 final Integer cached = sHashCache.get(s); in getUnsignedHashCached() local
74 if (cached != null) { in getUnsignedHashCached()
75 return cached; in getUnsignedHashCached()
/frameworks/proto_logging/stats/enums/app/
Denums.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.
344 * Application process was killed by the activity manager because there were too many cached
356 * Application process was killed by the activity manager because there were too many cached
363 * memory pressure and this process took large amount of cached memory.
430 * The process was killed because it's isolated and was in a cached state.
435 * The process was killed because it's in forced-app-standby state, and it's cached and
/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/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/core/tests/coretests/src/com/android/internal/os/
DBluetoothPowerCalculatorTest.java148 final BatteryConsumer.Key cached = uidConsumer.getKey( in testTimerBasedModel_byProcessState() local
155 assertThat(uidConsumer.getConsumedPower(cached)).isWithin(PRECISION).of(0); in testTimerBasedModel_byProcessState()
268 final BatteryConsumer.Key cached = uidConsumer.getKey( in testMeasuredEnergyBasedModel_byProcessState() local
275 assertThat(uidConsumer.getConsumedPower(cached)).isWithin(PRECISION).of(0); in testMeasuredEnergyBasedModel_byProcessState()
/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()
/frameworks/base/core/java/com/android/internal/util/
DParcelling.java85 P cached = get(clazz); in getOrCreate() local
86 if (cached != null) { in getOrCreate()
87 return cached; in getOrCreate()
/frameworks/base/services/companion/java/com/android/server/companion/
DAssociationStoreImpl.java244 final List<AssociationInfo> cached = mCachedPerUser.get(userId); in getAssociationsForUserLocked() local
245 if (cached != null) { in getAssociationsForUserLocked()
246 return cached; in getAssociationsForUserLocked()
/frameworks/base/packages/SystemUI/docs/
Dbroadcasts.md39 …User`. In general they behave like regular broadcasts, but they are also cached (they may be repla…
40 …if the broadcast is matched by the `IntentFilter`. In case that multiple cached broadcast match th…
41 …* All cached sticky broadcasts that match the filter will be sent to the just registered `Broadcas…
48 * Do not expect cached sticky broadcasts to be delivered on registration. This may happen but it's …
/frameworks/proto_logging/stats/enums/service/
Dprocstats_enum.proto76 // Represents all cached states.
112 // Various cached processes; HOME, LAST_ACTIVITY, CACHED_ACTIVITY, CACHED_RECENT,
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto395 // The value of Global.AUTOMATIC_POWER_SAVE_MODE. This is a cached value, so it could
399 // The value of Global.LOW_POWER_MODE. This is a cached value, so it could
403 // The value of Global.LOW_POWER_MODE_STICKY. This is a cached value, so it could
407 // The value of Global.LOW_POWER_MODE_TRIGGER_LEVEL. This is a cached value, so it could
411 // The value of Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED. This is a cached value, so
415 // The value of Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_LEVEL. This is a cached value, so it
427 // Corresponds to Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD. This is a cached value,
432 // Corresponds to Global.DYNAMIC_POWER_SAVINGS_ENABLED. This is a cached value, so it could

123