Home
last modified time | relevance | path

Searched refs:getOrCreate (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/frameworks/minikin/tests/unittest/
H A DLayoutCacheTest.cpp77 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
79 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
85 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
87 layoutCache.getOrCreate(text1, Range(1, text1.size()), paint, false /* LTR */, in TEST()
93 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
95 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
101 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
103 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, true /* RTL */, in TEST()
109 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
111 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
[all …]
H A DBoundsCacheTest.cpp57 boundsCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST()
61 boundsCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST()
80 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
82 boundsCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
89 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST()
91 boundsCache.getOrCreate(text1, Range(1, text1.size()), paint, false /* LTR */, in TEST()
101 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
106 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
117 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
122 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
[all …]
/aosp12/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/setup/
H A DTunerHalCreatorTest.java73 Tuner tunerHal = tunerHalCreator.getOrCreate(); in test_asyncGet()
75 assertSame(tunerHal, tunerHalCreator.getOrCreate()); in test_asyncGet()
84 assertNotNull(tunerHalCreator.getOrCreate()); in test_syncGet()
91 assertNotNull(tunerHalCreator.getOrCreate()); in test_syncGetWithoutGenerate()
/aosp12/frameworks/minikin/libs/minikin/
H A DMeasuredText.cpp66 LayoutCache::getInstance().getOrCreate( in getMetrics()
70 precomputed->getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getMetrics()
119 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), in measureHyphenPiece()
200 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, startEdit, endEdit, in appendLayout()
203 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), in appendLayout()
248 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getBounds()
278 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getExtent()
H A DMeasurement.cpp148 BoundsCache::getInstance().getOrCreate(str.substr(context), piece - context.getStart(), in getBounds()
H A DLayout.cpp138 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, isRtl, startHyphen, endHyphen, f); in doLayoutWord()
/aosp12/frameworks/minikin/include/minikin/
H A DBoundsCache.h54 void getOrCreate(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in getOrCreate() function
74 LayoutCache::getInstance().getOrCreate(text, range, paint, dir, startHyphen, endHyphen, ve); in getOrCreate()
H A DLayoutPieces.h88 void getOrCreate(const U16StringPiece& textBuf, const Range& range, const Range& context, in getOrCreate() function
94 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), in getOrCreate()
H A DLayoutCache.h136 void getOrCreate(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in getOrCreate() function
/aosp12/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
H A DWidgetsModel.java174 mWidgetsList.remove(packageItemInfoCache.getOrCreate(packageUser)); in setWidgetsAndShortcuts()
181 .map(key -> new Pair<>(packageItemInfoCache.getOrCreate(key), widgetItem))) in setWidgetsAndShortcuts()
309 PackageItemInfo getOrCreate(PackageUserKey key) { in getOrCreate() method in WidgetsModel.PackageItemInfoCache
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
H A DBaseTunerSetupActivity.java218 if (mTunerHalCreator.getOrCreate() == null) { in executeAction()
279 return mTunerHalCreator.getOrCreate(); in getTunerHal()
490 Tuner getOrCreate() { in getOrCreate() method in BaseTunerSetupActivity.TunerHalCreator
/aosp12/frameworks/base/sax/java/android/sax/
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate() method in Children
H A DElement.java74 return children.getOrCreate(this, uri, localName); in getChild()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
H A DBackgroundScanScheduler.java275 public Bucket getOrCreate(int index) { in getOrCreate() method in BackgroundScanScheduler.BucketList
502 mBuckets.getOrCreate(bucketIndex).addSettings(settings); in addScanToBuckets()
543 mBuckets.getOrCreate(newBucketIndex).addSettings(scanRequest); in compactBuckets()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/
H A DParsedPermission.java38 private static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class);
H A DParsedComponent.java46 private static ParsedIntentInfo.ListParceler sForIntentInfos = Parcelling.Cache.getOrCreate(
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DParsingPackageImpl.java96 public static ForBoolean sForBoolean = Parcelling.Cache.getOrCreate(ForBoolean.class);
97 public static ForInternedString sForInternedString = Parcelling.Cache.getOrCreate(
99 public static ForInternedStringArray sForInternedStringArray = Parcelling.Cache.getOrCreate(
101 public static ForInternedStringList sForInternedStringList = Parcelling.Cache.getOrCreate(
104 Parcelling.Cache.getOrCreate(ForInternedStringValueMap.class);
105 public static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class);
107 Parcelling.Cache.getOrCreate(ForInternedStringSet.class);
109 Parcelling.Cache.getOrCreate(ParsedIntentInfo.StringPairListParceler.class);
/aosp12/frameworks/base/services/core/java/com/android/server/utils/quota/
H A DUptcMap.java103 public T getOrCreate(int userId, @NonNull String packageName, @Nullable String tag, in getOrCreate() method in UptcMap
H A DCountQuotaTracker.java190 .getOrCreate(userId, packageName, tag, mCreateLongArrayQueue); in noteEvent()
385 mExecutionStatsCache.getOrCreate(userId, packageName, tag, mCreateExecutionStats); in getExecutionStatsLocked()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DParcelling.java82 public static <P extends Parcelling<?>> P getOrCreate(Class<P> clazz) { in getOrCreate() method in Parcelling.Cache
/aosp12/frameworks/base/core/java/android/content/pm/
H A DPermissionInfo.java476 private static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class);
H A DApplicationInfo.java61 private static ForBoolean sForBoolean = Parcelling.Cache.getOrCreate(ForBoolean.class);
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBinderCallsStats.java320 final CallStat callStat = uidEntry.getOrCreate( in processCallEnded()
1052 CallStat getOrCreate(int callingUid, Class<? extends Binder> binderClass, in getOrCreate() method in BinderCallsStats.UidEntry
/aosp12/packages/apps/TV/libs/m2/
H A Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
/aosp12/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12