Home
last modified time | relevance | path

Searched refs:getSubtypes (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java166 mRichImm.setAdditionalInputMethodSubtypes(getSubtypes()); in onRemoveCustomInputStyle()
176 mRichImm.setAdditionalInputMethodSubtypes(getSubtypes()); in onSaveCustomInputStyle()
193 mRichImm.setAdditionalInputMethodSubtypes(getSubtypes()); in onAddCustomInputStyle()
268 private InputMethodSubtype[] getSubtypes() { in getSubtypes() method in CustomInputStyleSettingsFragment
288 final InputMethodSubtype[] subtypes = getSubtypes(); in onPause()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsServiceTypeClient.java345 response.getSubtypes(), in buildMdnsServiceInfoFromResponse()
438 subtypes.addAll(listenerOptions.getSubtypes()); in getAllDiscoverySubtypes()
466 final List<String> responseSubtypes = response.getSubtypes() == null in responseMatchesOptions()
467 ? Collections.emptyList() : response.getSubtypes(); in responseMatchesOptions()
468 final boolean matchesSubtype = options.getSubtypes().size() == 0 in responseMatchesOptions()
469 || CollectionUtils.any(options.getSubtypes(), requiredSub -> in responseMatchesOptions()
DMdnsSearchOptions.java123 public List<String> getSubtypes() { in getSubtypes() method in MdnsSearchOptions
DMdnsAdvertiser.java507 id, registration.getServiceInfo().getSubtypes()); in updateService()
876 final Set<String> subtypes = service.getSubtypes(); in addOrUpdateService()
1004 new ArrayList<>(nsdServiceInfo.getSubtypes()), in createOffloadService()
DMdnsResponse.java146 public synchronized List<String> getSubtypes() { in getSubtypes() method in MdnsResponse
DMdnsServiceInfo.java203 public List<String> getSubtypes() { in getSubtypes() method in MdnsServiceInfo
DMdnsRecordRepository.java272 ptrRecords = new ArrayList<>(serviceInfo.getSubtypes().size() + 1); in ServiceRegistration()
282 for (String subtype : serviceInfo.getSubtypes()) { in ServiceRegistration()
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DOffloadServiceInfo.java149 public List<String> getSubtypes() { in getSubtypes() method in OffloadServiceInfo
177 this.getSubtypes(), in withOffloadPayload()
DNsdServiceInfo.java106 mSubtypes = new ArraySet<>(other.getSubtypes()); in NsdServiceInfo()
535 public Set<String> getSubtypes() { in getSubtypes() method in NsdServiceInfo
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceInfoTest.java246 assertEquals(beforeParcel.getSubtypes(), afterParcel.getSubtypes()); in parcelable_canBeParceledAndUnparceled()
DMdnsServiceTypeClientTests.java774 assertEquals(subTypes, serviceInfo.getSubtypes()); in verifyServiceInfo()
843 assertEquals(initialServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in processIPv4Response_completeResponseForNewServiceInstance()
855 assertEquals(updatedServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in processIPv4Response_completeResponseForNewServiceInstance()
897 assertEquals(initialServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in processIPv6Response_getCorrectServiceInfo()
909 assertEquals(updatedServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in processIPv6Response_getCorrectServiceInfo()
996 assertEquals(existingServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in reportExistingServiceToNewlyRegisteredListeners()
1547 && info.getSubtypes().equals(Collections.singletonList(subtype)); in testProcessResponse_SubtypeDiscoveryLimitedToSubtype()
1630 && info.getSubtypes().equals(List.of("_subtype", "_othersub")); in testProcessResponse_SubtypeChange()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java125 assertThat(actualServiceInfo.getSubtypes()).isEqualTo(Set.of("_subtype1", "_subtype2")); in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
171 assertThat(actualServiceInfo.getSubtypes()).isEqualTo(Set.of("_subtype1", "_subtype2")); in registerService_nsdManagerFails_serviceRegistrationFails()
321 assertThat(actualServiceInfo.getSubtypes()).isEmpty(); in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds()
365 assertThat(actualServiceInfo.getSubtypes()).isEmpty(); in registerHost_nsdManagerFails_serviceRegistrationFails()
/packages/modules/Connectivity/tests/common/java/android/net/nsd/
DNsdServiceInfoTest.java223 assertEquals(Set.of("_thread", "_matter"), info.getSubtypes()); in testSubtypesValidSubtypesSuccess()
/packages/modules/Connectivity/framework-t/api/
Dsystem-lint-baseline.txt120 UnflaggedApi: android.net.nsd.OffloadServiceInfo#getSubtypes():
121 … New API must be flagged with @FlaggedApi: method android.net.nsd.OffloadServiceInfo.getSubtypes()
Dcurrent.txt295 …flags.nsd_subtypes_support_enabled") @NonNull public java.util.Set<java.lang.String> getSubtypes();
Dsystem-current.txt408 method @NonNull public java.util.List<java.lang.String> getSubtypes();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1290 && s.getSubtypes().equals(Set.of("_subtype"))), any(), anyInt()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()
1299 assertEquals(Collections.singletonList("subtype"), optionsCaptor.getValue().getSubtypes()); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()
1325 assertEquals(Collections.emptyList(), optionsCaptor.getValue().getSubtypes()); in testResolutionWithMdnsDiscoveryManager()
1682 assertEquals(Collections.emptyList(), optionsCaptor.getValue().getSubtypes()); in testStopServiceResolutionWithMdnsDiscoveryManager()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1024 Set<String> subtypes = new ArraySet<>(serviceInfo.getSubtypes()); in processMessage()
1600 servInfo.setSubtypes(dedupSubtypeLabels(serviceInfo.getSubtypes())); in buildNsdServiceInfoFromMdnsEvent()