Searched refs:DiscoveryRequest (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | DiscoveryRequest.java | 33 public final class DiscoveryRequest implements Parcelable { class 48 public static final Creator<DiscoveryRequest> CREATOR = 51 public DiscoveryRequest createFromParcel(Parcel in) { 57 return new DiscoveryRequest(protocolType, serviceType, subtype, network); 61 public DiscoveryRequest[] newArray(int size) { 62 return new DiscoveryRequest[size]; 66 private DiscoveryRequest(int protocolType, @NonNull String serviceType, in DiscoveryRequest() method in DiscoveryRequest 128 } else if (!(other instanceof DiscoveryRequest)) { in equals() 131 DiscoveryRequest otherRequest = (DiscoveryRequest) other; in equals() 243 public DiscoveryRequest build() { in build() [all …]
|
D | INsdServiceConnector.aidl | 20 import android.net.nsd.DiscoveryRequest; 34 void discoverServices(int listenerKey, in DiscoveryRequest discoveryRequest); in discoverServices()
|
D | INsdManagerCallback.aidl | 20 import android.net.nsd.DiscoveryRequest; 28 void onDiscoverServicesStarted(int listenerKey, in DiscoveryRequest discoveryRequest); in onDiscoverServicesStarted()
|
D | NsdManager.java | 403 private final SparseArray<DiscoveryRequest> mDiscoveryMap = new SparseArray<>(); 761 int message, int listenerKey, DiscoveryRequest discoveryRequest) { in sendDiscoveryRequest() 775 public void onDiscoverServicesStarted(int listenerKey, DiscoveryRequest discoveryRequest) { in onDiscoverServicesStarted() 1054 final DiscoveryRequest discoveryRequest; in handleMessage() 1076 final String s = getNsdServiceInfoType((DiscoveryRequest) obj); in handleMessage() 1181 private int putListener(Object listener, Executor e, DiscoveryRequest discoveryRequest) { in putListener() 1234 private static String getNsdServiceInfoType(DiscoveryRequest r) { in getNsdServiceInfoType() 1477 DiscoveryRequest request = new DiscoveryRequest.Builder(protocolType, serviceType) in discoverServices() 1510 public void discoverServices(@NonNull DiscoveryRequest discoveryRequest, in discoverServices() 1565 DiscoveryRequest discoveryRequest = in discoverServices() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DiscoveryRequestTest.kt | 20 import android.net.nsd.DiscoveryRequest 42 DiscoveryRequest.Builder("_ipps._tcp").build() in testParcelingIsLossLess() 44 DiscoveryRequest.Builder("_ipps._tcp") in testParcelingIsLossLess() 55 val request = DiscoveryRequest.Builder("_ipps._tcp") in testBuilder_success() 68 DiscoveryRequest.Builder("") in testBuilderConstructor_emptyServiceType_throwsIllegalArgument() 74 val request1 = DiscoveryRequest.Builder("_ipps._tcp").build() in testEquality() 75 val request2 = DiscoveryRequest.Builder("_ipps._tcp").build() in testEquality() 76 val request3 = DiscoveryRequest.Builder("_ipps._tcp") in testEquality() 80 val request4 = DiscoveryRequest.Builder("_ipps._tcp") in testEquality()
|
/packages/modules/Connectivity/framework-t/api/ |
D | current.txt | 213 …android.net.flags.nsd_subtypes_support_enabled") public final class DiscoveryRequest implements an… 219 …onNull public static final android.os.Parcelable.Creator<android.net.nsd.DiscoveryRequest> CREATOR; 222 public static final class DiscoveryRequest.Builder { 223 ctor public DiscoveryRequest.Builder(@NonNull String); 224 method @NonNull public android.net.nsd.DiscoveryRequest build(); 225 …method @NonNull public android.net.nsd.DiscoveryRequest.Builder setNetwork(@Nullable android.net.N… 226 method @NonNull public android.net.nsd.DiscoveryRequest.Builder setSubtype(@Nullable String); 232 …ort_enabled") public void discoverServices(@NonNull android.net.nsd.DiscoveryRequest, @NonNull jav…
|
/packages/modules/Connectivity/framework/aidl-export/android/net/nsd/ |
D | DiscoveryRequest.aidl | 19 @JavaOnlyStableParcelable parcelable DiscoveryRequest;
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 27 import android.net.nsd.DiscoveryRequest; 225 DiscoveryRequest discoveryRequest = in discoverServiceInternal() 226 new DiscoveryRequest.Builder(type).setNetwork(null).build(); in discoverServiceInternal()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 38 import android.net.nsd.DiscoveryRequest; 481 eq(new DiscoveryRequest.Builder(PROTOCOL_DNS_SD, "_test._tcp").build()), in discoverService_serviceDiscovered() 506 eq(new DiscoveryRequest.Builder(PROTOCOL_DNS_SD, "_test._tcp").build()), in discoverService_serviceLost() 531 eq(new DiscoveryRequest.Builder(PROTOCOL_DNS_SD, "_test._tcp").build()), in stopServiceDiscovery()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 60 import android.net.nsd.DiscoveryRequest; 828 final DiscoveryRequest discoveryRequest = discoveryArgs.discoveryRequest; in processMessage() 2309 public final DiscoveryRequest discoveryRequest; 2310 DiscoveryArgs(NsdServiceConnector connector, DiscoveryRequest discoveryRequest) { in DiscoveryArgs() 2337 public void discoverServices(int listenerKey, DiscoveryRequest discoveryRequest) { in discoverServices() 2479 private boolean discoverServices(int transactionId, DiscoveryRequest discoveryRequest) { in discoverServices() 2544 private int getNetworkInterfaceIndex(DiscoveryRequest discoveryRequest) { in getNetworkInterfaceIndex() 3002 void onDiscoverServicesStarted(int listenerKey, DiscoveryRequest discoveryRequest, in onDiscoverServicesStarted()
|
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 316 DiscoveryRequest request1 = new DiscoveryRequest.Builder("a_type").build(); in doTestDiscoverService()
|