Home
last modified time | relevance | path

Searched refs:offloadServiceInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DOffloadServiceInfoTest.kt39 val offloadServiceInfo = OffloadServiceInfo( in testCreateOffloadServiceInfo() constant
48 assertEquals(OffloadServiceInfo.Key("_testService", "_testType"), offloadServiceInfo.key) in testCreateOffloadServiceInfo()
49 assertEquals(listOf("_sub1", "_sub2"), offloadServiceInfo.subtypes) in testCreateOffloadServiceInfo()
50 assertEquals("Android.local", offloadServiceInfo.hostname) in testCreateOffloadServiceInfo()
51 assertContentEquals(byteArrayOf(0x1, 0x2, 0x3), offloadServiceInfo.offloadPayload) in testCreateOffloadServiceInfo()
52 assertEquals(1, offloadServiceInfo.priority) in testCreateOffloadServiceInfo()
53 assertEquals(OFFLOAD_TYPE_FILTER_QUERIES.toLong(), offloadServiceInfo.offloadType) in testCreateOffloadServiceInfo()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java612 OffloadServiceInfoWrapper(int serviceId, OffloadServiceInfo offloadServiceInfo) { in OffloadServiceInfoWrapper() argument
613 mOffloadServiceInfo = offloadServiceInfo; in OffloadServiceInfoWrapper()
781 @NonNull OffloadServiceInfo offloadServiceInfo); in onOffloadStartOrUpdate() argument
790 @NonNull OffloadServiceInfo offloadServiceInfo); in onOffloadStop() argument
1001 final OffloadServiceInfo offloadServiceInfo = new OffloadServiceInfo( in createOffloadService() local
1010 return new OffloadServiceInfoWrapper(serviceId, offloadServiceInfo); in createOffloadService()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java2165 @NonNull OffloadServiceInfo offloadServiceInfo, boolean isRemove) { in sendOffloadServiceInfosUpdate() argument
2174 & offloadServiceInfo.getOffloadType()) == 0)) { in sendOffloadServiceInfosUpdate()
2180 offloadServiceInfo); in sendOffloadServiceInfosUpdate()
2183 offloadServiceInfo); in sendOffloadServiceInfosUpdate()
2231 @NonNull OffloadServiceInfo offloadServiceInfo) { in onOffloadStartOrUpdate() argument
2232 sendOffloadServiceInfosUpdate(interfaceName, offloadServiceInfo, false /* isRemove */); in onOffloadStartOrUpdate()
2237 @NonNull OffloadServiceInfo offloadServiceInfo) { in onOffloadStop() argument
2238 sendOffloadServiceInfosUpdate(interfaceName, offloadServiceInfo, true /* isRemove */); in onOffloadStop()