/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 61 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 65 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 83 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST() 85 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST() 91 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST() 93 layoutCache.getOrCreate(text1, Range(1, text1.size()), paint, false /* LTR */, in TEST() 99 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST() 101 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST() 107 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, false /* LTR */, in TEST() 109 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint, true /* RTL */, in TEST() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableLogBufferFactoryTest.kt | 54 val b1 = underTest.getOrCreate(NAME_1, SIZE) in getOrCreate_reusesInstance() 55 val b1_copy = underTest.getOrCreate(NAME_1, SIZE) in getOrCreate_reusesInstance() 56 val b2 = underTest.getOrCreate(NAME_2, SIZE) in getOrCreate_reusesInstance() 57 val b2_copy = underTest.getOrCreate(NAME_2, SIZE) in getOrCreate_reusesInstance()
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 76 LayoutCache::getInstance().getOrCreate( in getMetrics() 81 precomputed->getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getMetrics() 112 layoutCache.getOrCreate(textBuf.substr(context), piece - context.getStart(), mPaint, in measureText() 162 LayoutCache::getInstance().getOrCreate( in measureHyphenPiece() 248 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, startEdit, endEdit, in appendLayout() 251 LayoutCache::getInstance().getOrCreate( in appendLayout() 285 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getBounds() 316 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getExtent() 346 pieces.getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getLineMetrics()
|
D | Measurement.cpp | 218 LayoutCache::getInstance().getOrCreate( in getBounds() 245 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), in getFontExtent()
|
D | Layout.cpp | 327 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, isRtl, startHyphen, endHyphen, in doLayoutWord()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeTaskRepository.kt | 72 fun getOrCreate(displayId: Int): DisplayData { in <lambda>() method 140 val added = displayData.getOrCreate(displayId).activeTasks.add(taskId) in <lambda>() 258 displayData.getOrCreate(displayId).visibleTasks.add(taskId) in <lambda>() 311 displayData.getOrCreate(displayId).freeformTasksInZOrder.add(0, taskId) in <lambda>() 322 displayData.getOrCreate(displayId).minimizedTasks.add(taskId) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | UserDataRepository.java | 40 UserData getOrCreate(@UserIdInt int userId) { in getOrCreate() method in UserDataRepository 76 getOrCreate(userId); in UserDataRepository()
|
/frameworks/minikin/include/minikin/ |
D | LayoutPieces.h | 93 void getOrCreate(const U16StringPiece& textBuf, const Range& range, const Range& context, in getOrCreate() function 109 LayoutCache::getInstance().getOrCreate(textBuf.substr(context), range - context.getStart(), in getOrCreate()
|
D | LayoutCache.h | 161 void getOrCreate(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in getOrCreate() function
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/windowsizeclass/ |
D | WindowSizeClass.kt | 44 val metrics = WindowMetricsCalculator.getOrCreate().computeCurrentWindowMetrics(context) in calculateWindowSizeClass()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/fold/ui/composable/ |
D | FoldPosture.kt | 34 val infoTracker = remember(context) { WindowInfoTracker.getOrCreate(context) } in foldPosture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/ |
D | TableLogBufferFactory.kt | 77 fun getOrCreate( in getOrCreate() method
|
/frameworks/base/sax/java/android/sax/ |
D | Children.java | 30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate() method in Children
|
D | Element.java | 74 return children.getOrCreate(this, uri, localName); in getChild()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | UserDataRepositoryTest.java | 134 final var userData = repository.getOrCreate(ANY_USER_ID); in testGetOrCreate()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedPermissionImpl.java | 45 Parcelling.Cache.getOrCreate(ForStringSet.class);
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | UptcMap.java | 103 public T getOrCreate(int userId, @NonNull String packageName, @Nullable String tag, in getOrCreate() method in UptcMap
|
D | CountQuotaTracker.java | 190 .getOrCreate(userId, packageName, tag, mCreateLongArrayQueue); in noteEvent() 385 mExecutionStatsCache.getOrCreate(userId, packageName, tag, mCreateExecutionStats); in getExecutionStatsLocked()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | Parcelling.java | 84 public static <P extends Parcelling<?>> P getOrCreate(Class<P> clazz) { in getOrCreate() method in Parcelling.Cache
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionsRepository.kt | 193 logFactory.getOrCreate( in <lambda>()
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 497 Parcelling.Cache.getOrCreate(ForStringSet.class);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | FullMobileConnectionRepository.kt | 408 logFactory.getOrCreate(tableBufferLogName(subId), MOBILE_CONNECTION_BUFFER_SIZE) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | PackageImpl.java | 117 public static final Parcelling.BuiltIn.ForBoolean sForBoolean = Parcelling.Cache.getOrCreate( 119 public static final ForInternedString sForInternedString = Parcelling.Cache.getOrCreate( 122 Parcelling.Cache.getOrCreate(Parcelling.BuiltIn.ForInternedStringArray.class); 124 Parcelling.Cache.getOrCreate(Parcelling.BuiltIn.ForInternedStringList.class); 126 Parcelling.Cache.getOrCreate(Parcelling.BuiltIn.ForInternedStringValueMap.class); 128 Parcelling.Cache.getOrCreate(Parcelling.BuiltIn.ForStringSet.class); 130 Parcelling.Cache.getOrCreate(Parcelling.BuiltIn.ForInternedStringSet.class);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionsRepositoryTest.kt | 161 whenever(logBufferFactory.getOrCreate(anyString(), anyInt())).thenAnswer { _ -> in <lambda>() 793 .getOrCreate( in <lambda>() 799 .getOrCreate( in <lambda>()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 320 final CallStat callStat = uidEntry.getOrCreate( in processCallEnded() 1052 CallStat getOrCreate(int callingUid, Class<? extends Binder> binderClass, in getOrCreate() method in BinderCallsStats.UidEntry
|