Searched refs:mapping (Results 1 – 25 of 26) sorted by relevance
12
56 Map<Integer, MappingInfo> mapping = createCommonMapping(); in newImsAndWiFiButtonChooser() local57 mapping.put( in newImsAndWiFiButtonChooser()61 mapping.put( in newImsAndWiFiButtonChooser()63 mapping.put( in newImsAndWiFiButtonChooser()65 mapping.put( in newImsAndWiFiButtonChooser()67 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser()69 return new ButtonChooser(new MappedButtonConfig(mapping)); in newImsAndWiFiButtonChooser()73 Map<Integer, MappingInfo> mapping = createCommonMapping(); in newCdmaButtonChooser() local74 mapping.put( in newCdmaButtonChooser()77 mapping.put( in newCdmaButtonChooser()[all …]
49 @NonNull private final Map<Integer, MappingInfo> mapping; field in MappedButtonConfig58 public MappedButtonConfig(@NonNull Map<Integer, MappingInfo> mapping) { in MappedButtonConfig() argument59 this.mapping = new ArrayMap<>(); in MappedButtonConfig()60 this.mapping.putAll(Assert.isNotNull(mapping)); in MappedButtonConfig()66 for (Entry<Integer, MappingInfo> entry : mapping.entrySet()) { in findOrderedMappedSlots()77 if (mapping.isEmpty()) { in getOrderedMappedSlots()90 for (Entry<Integer, MappingInfo> entry : mapping.entrySet()) { in getButtonsForSlot()145 MappingInfo info = mapping.get(button);
55 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getController_hasSupportedCardType_shouldReturnCorrespondingController()56 mPool.getController(mContext, mapping.mCardType).getClass()).isEqualTo( in getController_hasSupportedCardType_shouldReturnCorrespondingController()57 mapping.mControllerClass)); in getController_hasSupportedCardType_shouldReturnCorrespondingController()63 mapping -> mapping.mControllerClass).distinct().count(); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()66 mapping -> mPool.getController(mContext, mapping.mCardType)); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()82 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()84 mapping.mViewType).getClass()).isEqualTo(mapping.mRendererClass)); in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()90 mapping -> mapping.mRendererClass).distinct().count(); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()93 mapping -> mPool.getRendererByViewType(mContext, mLifecycleOwner, in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()94 mapping.mViewType)); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
44 .forEach(mapping -> mOriginalLookupTable.add(mapping)); in setUp()55 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()56 assertThat(ContextualCardLookupTable.getCardControllerClass(mapping.mCardType)) in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()57 .isEqualTo(mapping.mControllerClass); in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()70 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()71 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()72 .isEqualTo(mapping.mRendererClass); in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
61 return Comparator.comparingInt((ControllerRendererMapping mapping) -> mapping.mCardType) in compareTo()62 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()106 for (ControllerRendererMapping mapping : LOOKUP_TABLE) { in getCardControllerClass()107 if (mapping.mCardType == cardType) { in getCardControllerClass()108 return mapping.mControllerClass; in getCardControllerClass()
59 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest() local61 int rv = getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result); in RunGetAddrInfoStressTest()65 EXPECT_TRUE(result_str == mapping.ip4 || result_str == mapping.ip6) in RunGetAddrInfoStressTest()66 << "result='" << result_str << "', ip4='" << mapping.ip4 in RunGetAddrInfoStressTest()67 << "', ip6='" << mapping.ip6; in RunGetAddrInfoStressTest()
198 // Used to build the packet mapping (query, response) in DNS responser. See also
590 const DnsResponderClient::Mapping& mapping = mappings[0]; in TEST_F() local594 const hostent* result = gethostbyname(mapping.host.c_str()); in TEST_F()596 std::accumulate(dns.begin(), dns.end(), 0, [&mapping](size_t total, auto& d) { in TEST_F()597 return total + GetNumQueriesForType(*d, ns_type::ns_t_a, mapping.entry.c_str()); in TEST_F()604 EXPECT_EQ(mapping.ip4, ToString(result)); in TEST_F()
178 final Map<AccountWithDataSet, AccountType> mapping) { in createFakeAccountTypeManager() argument179 return new MockAccountTypeManager(mapping.values().toArray(new AccountType[mapping.size()]), in createFakeAccountTypeManager()180 mapping.keySet().toArray(new AccountWithDataSet[mapping.size()])); in createFakeAccountTypeManager()
183 for (const auto& mapping : mappings) { in SetupDNSServers() local184 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers()185 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
99 Matrix mapping = new Matrix(); in doInBackground() local100 mapping.setRectToRect(endRect, fullResRect, Matrix.ScaleToFit.CENTER); in doInBackground()102 mapping.mapRect(visibleAfterRotation, visibleRect); in doInBackground()
70 query a new ID for transmission, records the mapping from input IDs to sent IDs, and71 applies the inverse mapping to responses before returning them to the caller.
111 NS_T_PX = 26; // X.400 mail mapping.
548 Map<Integer, Integer> mapping = mTelephonyManager.getLogicalToPhysicalSlotMapping(); in updateEid() local549 int pSlotId = mapping.getOrDefault(mSlotIndex, in updateEid()
1486 @ViewDebug.ExportedProperty(category = "layout", mapping = {
122 When the `Reader` encounters a JSON number, it chooses a suitable C++ type mapping. And then it cal…
244 # A mapping has the form "name=value". For example adding "class=itcl::class"279 # extension. Doxygen has a built-in mapping, but you can override or extend it1591 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
163 mapping = {
222 # Doxygen has a built-in mapping, but you can override or extend it using this tag.
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...