Home
last modified time | relevance | path

Searched refs:advertisingRequest (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DINsdServiceConnector.aidl32 void registerService(int listenerKey, in AdvertisingRequest advertisingRequest); in registerService() argument
DNsdManager.java1367 public void registerService(@NonNull AdvertisingRequest advertisingRequest, in registerService() argument
1370 final NsdServiceInfo serviceInfo = advertisingRequest.getServiceInfo(); in registerService()
1371 final int protocolType = advertisingRequest.getProtocolType(); in registerService()
1376 if ((advertisingRequest.getAdvertisingConfig() in registerService()
1383 mService.registerService(key, advertisingRequest); in registerService()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java955 final AdvertisingRequest advertisingRequest = args.advertisingRequest; in processMessage() local
956 if (advertisingRequest == null) { in processMessage()
960 final NsdServiceInfo serviceInfo = advertisingRequest.getServiceInfo(); in processMessage()
983 boolean isUpdateOnly = (advertisingRequest.getAdvertisingConfig() in processMessage()
1040 if (!checkTtl(advertisingRequest.getTtl(), clientInfo)) { in processMessage()
1051 .setTtl(advertisingRequest.getTtl()) in processMessage()
2299 public final AdvertisingRequest advertisingRequest; field in NsdService.AdvertisingArgs
2301 AdvertisingArgs(NsdServiceConnector connector, AdvertisingRequest advertisingRequest) { in AdvertisingArgs() argument
2303 this.advertisingRequest = advertisingRequest; in AdvertisingArgs()
2320 public void registerService(int listenerKey, AdvertisingRequest advertisingRequest) in registerService() argument
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java224 final AdvertisingRequest advertisingRequest = new AdvertisingRequest.Builder(request, in testRegisterServiceWithAdvertisingRequest() local
229 manager.registerService(advertisingRequest, Runnable::run, listener); in testRegisterServiceWithAdvertisingRequest()