Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/view/textclassifier/
DConfigParser.java80 final Object cached = mCache.get(key); in getBoolean() local
81 if (cached instanceof Boolean) { in getBoolean()
82 return (boolean) cached; in getBoolean()
103 final Object cached = mCache.get(key); in getInt() local
104 if (cached instanceof Integer) { in getInt()
105 return (int) cached; in getInt()
126 final Object cached = mCache.get(key); in getFloat() local
127 if (cached instanceof Float) { in getFloat()
128 return (float) cached; in getFloat()
149 final Object cached = mCache.get(key); in getString() local
[all …]
/frameworks/base/core/java/android/app/
DApplicationLoaders.java174 CachedClassLoader cached = mSystemLibsCacheMap.get(dependencyPath); in createAndCacheNonBootclasspathSystemClassLoader() local
176 if (cached == null) { in createAndCacheNonBootclasspathSystemClassLoader()
181 sharedLibraries.add(cached.loader); in createAndCacheNonBootclasspathSystemClassLoader()
195 CachedClassLoader cached = new CachedClassLoader(); in createAndCacheNonBootclasspathSystemClassLoader() local
196 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader()
197 cached.sharedLibraries = sharedLibraries; in createAndCacheNonBootclasspathSystemClassLoader()
200 mSystemLibsCacheMap.put(path, cached); in createAndCacheNonBootclasspathSystemClassLoader()
228 CachedClassLoader cached = mSystemLibsCacheMap.get(zip); in getCachedNonBootclasspathSystemLib() local
229 if (cached == null) { in getCachedNonBootclasspathSystemLib()
234 if (!sharedLibrariesEquals(sharedLibraries, cached.sharedLibraries)) { in getCachedNonBootclasspathSystemLib()
[all …]
DIUidObserver.aidl66 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged() argument
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java267 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f); in fromSpec_caches() local
268 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), sameInstance(cached)); in fromSpec_caches()
273 DisplayCutout cached = fromSpec("L1,0 L1000,1000 L0,1 z", 200, 400, 1f); in fromSpec_wontCacheIfSpecChanges() local
274 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); in fromSpec_wontCacheIfSpecChanges()
279 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f); in fromSpec_wontCacheIfScreenWidthChanges() local
280 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); in fromSpec_wontCacheIfScreenWidthChanges()
285 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f); in fromSpec_wontCacheIfScreenHeightChanges() local
286 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); in fromSpec_wontCacheIfScreenHeightChanges()
291 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f); in fromSpec_wontCacheIfDensityChanges() local
292 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); in fromSpec_wontCacheIfDensityChanges()
/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoader.java337 ThumbnailData cached = mThumbnailCache.getAndInvalidateIfModified(taskKey); in getAndUpdateThumbnail() local
338 if (cached != null) { in getAndUpdateThumbnail()
339 return cached; in getAndUpdateThumbnail()
342 cached = mTempCache.getAndInvalidateIfModified(taskKey); in getAndUpdateThumbnail()
343 if (cached != null) { in getAndUpdateThumbnail()
344 mThumbnailCache.put(taskKey, cached); in getAndUpdateThumbnail()
345 return cached; in getAndUpdateThumbnail()
/frameworks/base/core/proto/android/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.
Dactivitymanager.proto34 // report uid cached state has changed, original value is 1 << 4
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java212 final boolean wasCached = app.cached; in updateOomAdjLocked()
225 && (wasCached != app.cached || app.getCurRawAdj() == ProcessList.UNKNOWN_ADJ)) { in updateOomAdjLocked()
685 app.cached = false; in onVisibleActivity()
710 app.cached = false; in onPausedActivity()
742 app.cached = false; in onStoppingActivity()
789 app.cached = false; in computeOomAdjLocked()
925 app.cached = true; in computeOomAdjLocked()
971 app.cached = false; in computeOomAdjLocked()
981 app.cached = false; in computeOomAdjLocked()
1011 app.cached = false; in computeOomAdjLocked()
[all …]
/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/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/hardware/camera2/legacy/
DLegacyResultMapper.java65 boolean cached; in cachedConvertResultMetadata()
74 cached = true; in cachedConvertResultMetadata()
77 cached = false; in cachedConvertResultMetadata()
94 Log.v(TAG, "cachedConvertResultMetadata - cached? " + cached + in cachedConvertResultMetadata()
/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/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt46 then retrieve those cached shaders during subsequent executions of the same
82 * client API implementation may use to retrieve a cached value from the
107 function pointers through which the client APIs can request data be cached
184 previously cached entries. How can the driver handle this situation?
/frameworks/base/core/java/android/net/
DUri.java561 boolean cached = (scheme != NOT_CACHED); in getScheme()
562 return cached ? scheme : (scheme = parseScheme()); in getScheme()
975 boolean cached = cachedString != NOT_CACHED; in toString()
976 if (cached) { in toString()
1109 boolean cached = (host != NOT_CACHED); in getHost()
1110 return cached ? host : (host = parseHost()); in getHost()
1313 boolean cached = (uriString != NOT_CACHED); in toString()
1314 return cached ? uriString in toString()
/frameworks/base/core/java/android/content/res/
DColorStateList.java174 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf() local
175 if (cached != null) { in valueOf()
176 return cached; in valueOf()
/frameworks/base/core/proto/android/service/
Dprocstats.proto155 // Count of kills when cached
156 optional int32 cached = 2; field
158 // PSS stats during cached kill
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto361 // The value of Global.LOW_POWER_MODE. This is a cached value, so it could
365 // The value of Global.LOW_POWER_MODE_STICKY. This is a cached value, so it could
369 // The value of Global.LOW_POWER_MODE_TRIGGER_LEVEL. This is a cached value, so it could
373 // The value of Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED. This is a cached value, so
377 // The value of Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_LEVEL. This is a cached value, so it

123