Searched refs:getById (Results 1 – 16 of 16) sorted by relevance
45 TEST(LocaleListCacheTest, getById) { in TEST() argument48 Locale english = LocaleListCache::getById(enLangId)[0]; in TEST()49 Locale japanese = LocaleListCache::getById(jpLangId)[0]; in TEST()51 const LocaleList& defLangs = LocaleListCache::getById(0); in TEST()54 const LocaleList& locales = LocaleListCache::getById(LocaleListCache::getId("en")); in TEST()58 const LocaleList& locales2 = LocaleListCache::getById(LocaleListCache::getId("en,jp")); in TEST()
29 return LocaleListCache::getById(LocaleListCache::getId(localeStr)); in getLocaleList()
137 const LocaleList& locales = LocaleListCache::getById(id); in getLocale()
33 return LocaleListCache::getById(localeListId); in createLocaleList()38 return LocaleListCache::getById(localeListId)[0]; in createLocale()
121 return LocaleListCache::getById(LocaleListCache::getId(locale_string)); in registerAndGetLocaleList()
119 if (isDefault && getById(DEFAULT_DISPLAY) != null) { in createDisplayLocked()154 Display display = getById(id); in removeDisplayLocked()212 public Display getById(int id) { in getById() method in Layout
35 const LocaleList& locales = LocaleListCache::getById(localeListId); in LLVMFuzzerTestOneInput()
49 static inline const LocaleList& getById(uint32_t id) { in getById() function
70 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale()160 return LocaleListCache::getById(localeListId); in getCurrentLocaleList()
391 switch (LocaleListCache::getById(localeListId).getEmojiStyle()) { in calcCoverageScore()430 const LocaleList& localeList = LocaleListCache::getById(userLocaleListId); in calcLocaleMatchingScore()431 const LocaleList& fontLocaleList = LocaleListCache::getById(fontFamily.localeListId()); in calcLocaleMatchingScore()627 const LocaleList& fontLocaleList = LocaleListCache::getById(fontLocaleId); in filterFamilyByLocale()671 const LocaleList& requestedLocaleList = LocaleListCache::getById(localeId); in getReferenceExtentForLocale()
385 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in LayoutPiece()
38 const LocaleList& localeList = LocaleListCache::getById(localeId); in getLocaleString()
148 mIsColorEmoji(LocaleListCache::getById(localeListId).getEmojiStyle() == in FontFamily()
120 const LocaleList& locales = LocaleListCache::getById(id); in LLVMFuzzerTestOneInput()
397 Layout.Display display = layout.getById(displayId); in getDisplayInfoForStateLocked()677 Layout.Display layoutDisplay = layout.getById(DEFAULT_DISPLAY); in handleDisplayDeviceRemovedLocked()1246 if (layout.getById(DEFAULT_DISPLAY) != null) { in initializeDefaultDisplayDeviceLocked()
11268 HSPLcom/android/server/display/layout/Layout;->getById(I)Lcom/android/server/display/layout/Layout$…