Searched refs:getOrCompute (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationCacheTest.java | 57 assertThat(mCache.getOrCompute("hello", 0), equalTo(create("hello", 0))); in getOrCompute_computes() 58 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_computes() 59 assertThat(mCache.getOrCompute("hello", 2), equalTo(create("hello", 2))); in getOrCompute_computes() 65 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_sameParam_sameRot_hitsCache() 74 assertNotNull(mCache.getOrCompute("hello", 3)); in getOrCompute_sameParam_hitsCache_forAllRots() 75 assertNotNull(mCache.getOrCompute("hello", 2)); in getOrCompute_sameParam_hitsCache_forAllRots() 76 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_sameParam_hitsCache_forAllRots() 77 assertNotNull(mCache.getOrCompute("hello", 0)); in getOrCompute_sameParam_hitsCache_forAllRots() 89 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_changingParam_recomputes() 96 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_changingParam_clearsCacheForDifferentRots() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/utils/ |
H A D | RotationCache.java | 48 public R getOrCompute(T t, int rotation) { in getOrCompute() method in RotationCache
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayContent.java | 2086 return mDisplayCutoutCache.getOrCompute(mInitialDisplayCutout, rotation); in calculateDisplayCutoutForRotation() 2115 return mRoundedCornerCache.getOrCompute(mInitialRoundedCorners, rotation); in calculateRoundedCornersForRotation() 2132 return mPrivacyIndicatorBoundsCache.getOrCompute(mCurrentPrivacyIndicatorBounds, rotation); in calculatePrivacyIndicatorBoundsForRotation()
|
/aosp12/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/aosp12/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/
META-INF/MANIFEST.MF
build-data.properties
com/
com ... |
/aosp12/frameworks/base/services/ |
H A D | art-profile | 50935 HSPLcom/android/server/wm/utils/RotationCache;->getOrCompute(Ljava/lang/Object;I)Ljava/lang/Object;…
|