/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CustomInputStyleSettingsFragment.java | 166 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/ |
D | MdnsServiceTypeClient.java | 345 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()
|
D | MdnsSearchOptions.java | 123 public List<String> getSubtypes() { in getSubtypes() method in MdnsSearchOptions
|
D | MdnsAdvertiser.java | 507 id, registration.getServiceInfo().getSubtypes()); in updateService() 876 final Set<String> subtypes = service.getSubtypes(); in addOrUpdateService() 1004 new ArrayList<>(nsdServiceInfo.getSubtypes()), in createOffloadService()
|
D | MdnsResponse.java | 146 public synchronized List<String> getSubtypes() { in getSubtypes() method in MdnsResponse
|
D | MdnsServiceInfo.java | 203 public List<String> getSubtypes() { in getSubtypes() method in MdnsServiceInfo
|
D | MdnsRecordRepository.java | 272 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/ |
D | OffloadServiceInfo.java | 149 public List<String> getSubtypes() { in getSubtypes() method in OffloadServiceInfo 177 this.getSubtypes(), in withOffloadPayload()
|
D | NsdServiceInfo.java | 106 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/ |
D | MdnsServiceInfoTest.java | 246 assertEquals(beforeParcel.getSubtypes(), afterParcel.getSubtypes()); in parcelable_canBeParceledAndUnparceled()
|
D | MdnsServiceTypeClientTests.java | 774 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/ |
D | NsdPublisherTest.java | 125 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/ |
D | NsdServiceInfoTest.java | 223 assertEquals(Set.of("_thread", "_matter"), info.getSubtypes()); in testSubtypesValidSubtypesSuccess()
|
/packages/modules/Connectivity/framework-t/api/ |
D | system-lint-baseline.txt | 120 UnflaggedApi: android.net.nsd.OffloadServiceInfo#getSubtypes(): 121 … New API must be flagged with @FlaggedApi: method android.net.nsd.OffloadServiceInfo.getSubtypes()
|
D | current.txt | 295 …flags.nsd_subtypes_support_enabled") @NonNull public java.util.Set<java.lang.String> getSubtypes();
|
D | system-current.txt | 408 method @NonNull public java.util.List<java.lang.String> getSubtypes();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 1290 && 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/ |
D | NsdService.java | 1024 Set<String> subtypes = new ArraySet<>(serviceInfo.getSubtypes()); in processMessage() 1600 servInfo.setSubtypes(dedupSubtypeLabels(serviceInfo.getSubtypes())); in buildNsdServiceInfoFromMdnsEvent()
|