/aosp12/frameworks/base/core/java/android/app/ |
H A D | ApplicationLoaders.java | 186 if (cached == null) { in createAndCacheNonBootclasspathSystemClassLoader() 191 sharedLibraries.add(cached.loader); in createAndCacheNonBootclasspathSystemClassLoader() 206 CachedClassLoader cached = new CachedClassLoader(); in createAndCacheNonBootclasspathSystemClassLoader() local 207 cached.loader = classLoader; in createAndCacheNonBootclasspathSystemClassLoader() 208 cached.sharedLibraries = sharedLibraries; in createAndCacheNonBootclasspathSystemClassLoader() 211 mSystemLibsCacheMap.put(path, cached); in createAndCacheNonBootclasspathSystemClassLoader() 239 CachedClassLoader cached = mSystemLibsCacheMap.get(zip); in getCachedNonBootclasspathSystemLib() local 240 if (cached == null) { in getCachedNonBootclasspathSystemLib() 245 if (!sharedLibrariesEquals(sharedLibraries, cached.sharedLibraries)) { in getCachedNonBootclasspathSystemLib() 247 + sharedLibraries + "|" + cached.sharedLibraries + ")"); in getCachedNonBootclasspathSystemLib() [all …]
|
/aosp12/art/compiler/optimizing/ |
H A D | select_generator.cc | 203 HSelect* cached = it->second; in Run() local 204 DCHECK_EQ(cached->GetCondition(), select->GetCondition()); in Run() 205 if (cached->GetTrueValue() == select->GetTrueValue() && in Run() 206 cached->GetFalseValue() == select->GetFalseValue() && in Run() 207 select->StrictlyDominates(cached)) { in Run() 208 cached->ReplaceWith(select); in Run() 209 cached->GetBlock()->RemoveInstruction(cached); in Run()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | RoundedCornersTest.java | 171 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 D | DisplayCutoutTest.java | 359 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets); in fromSpec_caches() local 362 sameInstance(cached)); in fromSpec_caches() 370 not(sameInstance(cached))); in fromSpec_wontCacheIfSpecChanges() 375 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 2000, 400, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenWidthChanges() local 378 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenWidthChanges() 383 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 4000, 1f, Insets.NONE); in fromSpec_wontCacheIfScreenHeightChanges() local 386 not(sameInstance(cached))); in fromSpec_wontCacheIfScreenHeightChanges() 391 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE); in fromSpec_wontCacheIfDensityChanges() local 394 not(sameInstance(cached))); in fromSpec_wontCacheIfDensityChanges() 400 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, Insets.NONE); in fromSpec_wontCacheIfWaterfallInsetsChange() local [all …]
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
H A D | BitmapCachingAsset.java | 101 Bitmap cached = sCache.get(key); in decodeBitmap() local 102 if (cached != null) { in decodeBitmap() 103 receiver.onBitmapDecoded(cached); in decodeBitmap() 125 Bitmap cached = sCache.get(key); in decodeBitmapRegion() local 126 if (cached != null) { in decodeBitmapRegion() 127 receiver.onBitmapDecoded(cached); in decodeBitmapRegion()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraMem.h | 119 QCameraMemory(bool cached, 143 bool cached; member 150 unsigned int heap_id, size_t size, bool cached, bool is_secure); 170 unsigned int heap_id, size_t size, bool cached, 179 unsigned int heap_id, size_t size, bool cached, 190 QCameraHeapMemory(bool cached); 208 QCameraMetadataStreamMemory(bool cached); 220 bool cached, 245 QCameraVideoMemory(camera_request_memory getMemory, void* cbCookie, bool cached,
|
H A D | QCameraMem.cpp | 79 QCameraMemory::QCameraMemory(bool cached, in QCameraMemory() argument 82 :m_bCached(cached), in QCameraMemory() 483 if (cached) { in allocOneBuffer() 513 memInfo.cached = cached; in allocOneBuffer() 669 ((*it).cached == cached) ) { in findBufferLocked() 682 ((*it).cached == cached) ) { in findBufferLocked() 745 QCameraHeapMemory::QCameraHeapMemory(bool cached) in QCameraHeapMemory() argument 746 : QCameraMemory(cached) in QCameraHeapMemory() 1003 : QCameraHeapMemory(cached) in QCameraMetadataStreamMemory() 1061 bool cached, in QCameraStreamMemory() argument [all …]
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | BoringLayoutIsBoringPerfTest.java | 49 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 D | PaintMeasureDrawPerfTest.java | 50 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 D | StaticLayoutCreateDrawPerfTest.java | 58 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 D | BoringLayoutCreateDrawPerfTest.java | 54 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 D | TextViewSetTextMeasurePerfTest.java | 59 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ProcessLoggingHandler.java | 77 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncAdapterStateFetcher.java | 40 final Integer cached = mBucketCache.get(key); in getStandbyBucket() local 41 if (cached != null) { in getStandbyBucket() 42 return cached; in getStandbyBucket()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
H A D | AuxiliaryPersistenceWrapperTest.kt | 91 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT) regex 94 assertEquals(expected, cached) 99 val cached = auxiliaryFileWrapper.getCachedFavoritesAndRemoveFor(TEST_COMPONENT_OTHER) regex 102 assertEquals(expected, cached)
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
H A D | WallpaperColorsLoader.java | 51 WallpaperColors cached = sCache.get(asset); in getWallpaperColors() local 52 if (cached != null) { in getWallpaperColors() 53 callback.onLoaded(cached); in getWallpaperColors()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerUtils.java | 73 final Integer cached = sHashCache.get(s); in getUnsignedHashCached() local 74 if (cached != null) { in getUnsignedHashCached() 75 return cached; in getUnsignedHashCached()
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
H A D | FakeImageResource.java | 38 public void setCached(final boolean cached) { in setCached() argument 39 mCached = cached; in setCached()
|
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | CachingIconLoader.java | 87 NowOrLater<Drawable.ConstantState> cached = mIconCache.get(drawableId); 89 if (cached != null) Log.d(TAG, "Found icon in cache: " + drawableId); 91 return cached;
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | BindableMediaRequest.java | 42 final boolean cached) { in onMediaResourceLoaded() argument 44 mListener.onMediaResourceLoaded(request, resource, cached); in onMediaResourceLoaded()
|
/aosp12/frameworks/proto_logging/stats/enums/app/ |
H A D | enums.proto | 93 // 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. 333 * Application process was killed by the activity manager because there were too many cached 345 * Application process was killed by the activity manager because there were too many cached 352 * memory pressure and this process took large amount of cached memory. 419 * The process was killed because it's isolated and was in a cached state. 424 * The process was killed because it's in forced-app-standby state, and it's cached and
|
/aosp12/build/make/tools/product_config/src/com/android/build/config/ |
H A D | CsvParser.java | 215 final String cached = stringPool.get(field); in parse() local 216 if (cached == null) { in parse() 219 field = cached; in parse()
|
/aosp12/bionic/linker/ |
H A D | linker_config.cpp | 424 auto cached = resolved_paths_.find(path); in get_paths() local 425 if (cached == resolved_paths_.end()) { in get_paths() 427 cached = resolved_paths_.find(path); in get_paths() 429 CHECK(cached != resolved_paths_.end()); in get_paths() 430 if (cached->second.empty()) { in get_paths() 433 resolved_paths.push_back(cached->second); in get_paths()
|
/aosp12/system/unwinding/libunwindstack/benchmarks/ |
H A D | remote_unwind_benchmarks.cpp | 105 static void RemoteUnwind(benchmark::State& state, bool cached) { in RemoteUnwind() argument 113 if (cached) { in RemoteUnwind()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 625 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()
|