Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java190 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()
251 + sharedLibraries + "|" + cached.sharedLibraries + ")"); in getCachedNonBootclasspathSystemLib()
[all …]
H A DIUidObserver.aidl75 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged() argument
H A DUidObserver.java32 public void onUidCachedChanged(int uid, boolean cached) { in onUidCachedChanged() argument
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
H A 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()
H A 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()
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()
404 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE); in fromSpec_wontCacheIfWaterfallInsetsChange() local
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncAdapterStateFetcher.java39 final Integer cached = mBucketCache.get(key); in getStandbyBucket() local
40 if (cached != null) { in getStandbyBucket()
41 return cached; in getStandbyBucket()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DAuxiliaryPersistenceWrapperTest.kt91 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT) regex
94 assertEquals(expected, cached)
99 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT_OTHER) regex
102 assertEquals(expected, cached)
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerUtils.java79 final Integer cached = sHashCache.get(s); in getUnsignedHashCached() local
80 if (cached != null) { in getUnsignedHashCached()
81 return cached; in getUnsignedHashCached()
/aosp14/frameworks/base/core/java/android/widget/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBluetoothPowerCalculatorTest.java150 final BatteryConsumer.Key cached = uidConsumer.getKey( in testTimerBasedModel_byProcessState() local
157 assertThat(uidConsumer.getConsumedPower(cached)).isWithin(PRECISION).of(0); in testTimerBasedModel_byProcessState()
270 final BatteryConsumer.Key cached = uidConsumer.getKey( in testMeasuredEnergyBasedModel_byProcessState() local
277 assertThat(uidConsumer.getConsumedPower(cached)).isWithin(PRECISION).of(0); in testMeasuredEnergyBasedModel_byProcessState()
/aosp14/frameworks/base/cmds/incident_helper/testdata/
H A Dprocrank_short.txt7 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
H A Dprocrank.txt8 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
H A Dcpuinfo.txt5 Swap: 524284k total, 25892k used, 498392k free, 1316952k cached
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DParcelling.java85 P cached = get(clazz); in getOrCreate() local
86 if (cached != null) { in getOrCreate()
87 return cached; in getOrCreate()
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DAssociationStoreImpl.java244 final List<AssociationInfo> cached = mCachedPerUser.get(userId); in getAssociationsForUserLocked() local
245 if (cached != null) { in getAssociationsForUserLocked()
246 return cached; in getAssociationsForUserLocked()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A 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 …
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DAppStateTrackerImpl.java435 public void handleUidCachedChanged(int uid, boolean cached) { in handleUidCachedChanged() argument
739 public void onUidCachedChanged(int uid, boolean cached) { in onUidCachedChanged() argument
740 mHandler.onUidCachedChanged(uid, cached); in onUidCachedChanged()
870 public void onUidCachedChanged(int uid, boolean cached) { in onUidCachedChanged() argument
871 obtainMessage(MSG_ON_UID_CACHED, uid, cached ? 1 : 0).sendToTarget(); in onUidCachedChanged()
973 private void handleUidCached(int uid, boolean cached) { in handleUidCached() argument
975 l.handleUidCachedChanged(uid, cached); in handleUidCached()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DGridLayoutManager.java467 final int cached = mPreLayoutSpanIndexCache.get(pos, -1); in getSpanIndex() local
468 if (cached != -1) { in getSpanIndex()
469 return cached; in getSpanIndex()
488 final int cached = mPreLayoutSpanSizeCache.get(pos, -1); in getSpanSize() local
489 if (cached != -1) { in getSpanSize()
490 return cached; in getSpanSize()

123