/frameworks/base/core/java/android/app/ |
H A D | IUidObserver.aidl | 59 * Report when the cached state of a uid has changed. 60 * If true, a uid has become cached -- that is, it has some active processes that are 61 * all in the cached state. It should be doing as little as possible at this point. 62 * If false, that a uid is no longer cached. This will only be called after 64 * running processes is no longer cached, or it no longer has any actively running processes. 66 void onUidCachedChanged(int uid, boolean cached);
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | BoringLayoutIsBoringPerfTest.java | 43 @Parameterized.Parameters(name = "cached={4},{1}chars,{0}") 48 for (boolean cached : BOOLEANS) { 53 length, boring, textType, cached}); 71 boolean cached) { 74 mCached = cached; 70 BoringLayoutIsBoringPerfTest(String label, int length, boolean boring, TextType textType, boolean cached) argument
|
H A D | PaintMeasureDrawPerfTest.java | 45 @Parameterized.Parameters(name = "cached={1},{0}chars") 49 for (boolean cached : BOOLEANS) { 50 params.add(new Object[]{length, cached}); 64 public PaintMeasureDrawPerfTest(int length, boolean cached) { argument 66 mCached = cached;
|
H A D | BoringLayoutCreateDrawPerfTest.java | 49 @Parameterized.Parameters(name = "cached={3},{1}chars,{0}") 53 for (boolean cached : BOOLEANS) { 56 params.add(new Object[]{textType.name(), length, textType, cached}); 72 boolean cached) { 74 mCached = cached; 71 BoringLayoutCreateDrawPerfTest(String label, int length, TextType textType, boolean cached) argument
|
H A D | StaticLayoutCreateDrawPerfTest.java | 53 @Parameterized.Parameters(name = "cached={3},{1}chars,{0}") 57 for (boolean cached : BOOLEANS) { 60 params.add(new Object[]{textType.name(), length, textType, cached}); 74 boolean cached) { 77 mCached = cached; 73 StaticLayoutCreateDrawPerfTest(String label, int length, TextType textType, boolean cached) argument
|
H A D | TextViewSetTextMeasurePerfTest.java | 54 @Parameterized.Parameters(name = "cached={3},{1}chars,{0}") 58 for (boolean cached : BOOLEANS) { 61 params.add(new Object[]{textType.name(), length, textType, cached}); 75 boolean cached) { 78 mCached = cached; 74 TextViewSetTextMeasurePerfTest(String label, int length, TextType textType, boolean cached) argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncAdapterStateFetcher.java | 40 final Integer cached = mBucketCache.get(key); 41 if (cached != null) { 42 return cached;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DisplayCutoutTest.java | 194 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f); 195 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), sameInstance(cached)); 200 DisplayCutout cached = fromSpec("L1,0 L1000,1000 L0,1 z", 200, 400, 1f); 201 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); 206 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f); 207 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); 212 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f); 213 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); 218 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f); 219 assertThat(fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f), not(sameInstance(cached))); [all...] |
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | RecentsTaskLoader.java | 167 // visible thumbnails. However, we also don't want to reload already cached thumbnails. 249 // Remove all the cached activity infos for this package. The other caches do not need to 251 // cached contents are requested 264 * Returns the cached task label if the task key is not expired, updating the cache if it is. 271 // Return the cached activity label if it exists 290 * Returns the cached task content description if the task key is not expired, updating the 294 // Return the cached content description if it exists 321 * Returns the cached task icon if the task key is not expired, updating the cache if it is. 329 * Returns the cached thumbnail if the task key is not expired, updating the cache if it is. 333 ThumbnailData cached [all...] |
/frameworks/base/core/proto/android/os/ |
H A D | cpuinfo.proto | 51 optional int32 cached = 5;
|
/frameworks/base/core/proto/android/service/ |
H A D | procstats.proto | 99 // Count of kills when cached 100 optional int32 cached = 2; 102 // PSS stats during cached kill
|
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 281 * Tags the view with cached child view look-ups. 563 // Not cached, find it by resource ID 625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); 626 if (cached == null) { 630 return cached.newDrawable(); 670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); 671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources());
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | SuggestionsAdapter.java | 240 * Tags the view with cached child view look-ups. 521 // Not cached, find it by resource ID 583 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); 584 if (cached == null) { 588 return cached.newDrawable(); 628 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); 629 return cached == null ? null : cached.newDrawable(mProviderContext.getResources());
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 243 // find cached entry here and skip decode if found. 244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); 245 if (cached != null) { 246 setBitmap(cached);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyResultMapper.java | 65 boolean cached; 74 cached = true; 77 cached = false; 94 Log.v(TAG, "cachedConvertResultMetadata - cached? " + cached +
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 168 final ColorStateList cached = sCache.valueAt(index).get(); 169 if (cached != null) { 170 return cached;
|
H A D | ResourcesImpl.java | 527 * Call this to remove all cached loaded layout resources from the 594 // First, check whether we have a cached version of this drawable 902 Typeface cached = Typeface.findFromCache(mAssets, file); 903 if (cached != null) { 904 return cached;
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
H A D | FontsContractCompat.java | 235 Typeface cached = sTypefaceCache.get(id); 236 if (cached != null) { 238 fontCallback.onFontRetrieved(cached); 240 return cached;
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 73 cached result. As a result, we get thread safe caching with no concurrency 121 * Placeholder for strings which haven't been cached. This enables us 555 boolean cached = (scheme != NOT_CACHED); 556 return cached ? scheme : (scheme = parseScheme()); 969 boolean cached = cachedString != NOT_CACHED; 970 if (cached) { 1103 boolean cached = (host != NOT_CACHED); 1104 return cached ? host 1298 boolean cached = (uriString != NOT_CACHED); 1299 return cached [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | GridLayoutManager.java | 470 final int cached = mPreLayoutSpanIndexCache.get(pos, -1); 471 if (cached != -1) { 472 return cached; 478 + " not cached, not in the adapter. Pos:" + pos); 481 + " not cached, not in the adapter. Pos:" + pos); 491 final int cached = mPreLayoutSpanSizeCache.get(pos, -1); 492 if (cached != -1) { 493 return cached; 499 + " not cached, not in the adapter. Pos:" + pos); 502 + " not cached, no [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 94 Pair<Boolean, Integer> cached = mGrayscaleBitmapCache.get(bitmap); 95 if (cached != null) { 96 if (cached.second == bitmap.getGenerationId()) { 97 return cached.first;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | LockSettingsStorageTests.java | 191 String cached = mStorage.readKeyValue("key", "default", 0); 194 assertEquals("Cached value didn't match stored value", storage, cached);
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsStorage.java | 794 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); 795 return cached == DEFAULT ? defaultValue : (String) cached;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessRecord.java | 91 long lastCachedPss; // Last computed pss when in cached state. 92 long lastCachedSwapPss; // Last computed SwapPss when in cached state. 112 boolean notCachedSinceIdle; // Has this process not been in a cached state since last idle? 168 boolean cached; // Is this a cached process? field in class:ProcessRecord 312 pw.print(prefix); pw.print("cached="); pw.print(cached);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationUsageStats.java | 217 boolean starred, boolean cached) { 226 if (cached) { 216 registerPeopleAffinity(NotificationRecord notification, boolean valid, boolean starred, boolean cached) argument
|