Searched refs:mVendorService (Results 1 – 2 of 2) sorted by relevance
/device/google/atv/MdnsOffloadManagerService/tests/src/com/android/tv/mdnsoffloadmanager/ |
D | MdnsOffloadManagerTest.java | 127 FakeMdnsOffloadService mVendorService = new FakeMdnsOffloadService(); field in MdnsOffloadManagerTest 243 VENDOR_SERVICE_COMPONENT, mVendorService); in bindVendorService() 277 verify(mVendorService).resetAll(); in whenCreated_setsListenersAndBindsService() 278 assertFalse(mVendorService.mOffloadState); in whenCreated_setsListenersAndBindsService() 279 assertEquals(0, mVendorService.getOffloadData(IFC_0).offloadedRecords.size()); in whenCreated_setsListenersAndBindsService() 292 FakeMdnsOffloadService.OffloadData offloadData = mVendorService.getOffloadData(IFC_0); in whenOffloadingRecord_propagatesToVendorService() 315 verifyOffloadedServices(mVendorService, IFC_0, SERVICE_ATV, SERVICE_GTV, SERVICE_AIRPLAY); in offloadingOrderIsMaintained() 330 verifyOffloadedServices(mVendorService, IFC_0, SERVICE_ATV, SERVICE_GTV, SERVICE_AIRPLAY); in removingOffloadedRecord_maintainsOrder() 335 verifyOffloadedServices(mVendorService, IFC_0, SERVICE_ATV, SERVICE_AIRPLAY); in removingOffloadedRecord_maintainsOrder() 345 verifyOffloadedServices(mVendorService, IFC_0, SERVICE_ATV, SERVICE_GTV, SERVICE_AIRPLAY); in removingInvalidRecordKey_doesNothing() [all …]
|
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/ |
D | OffloadWriter.java | 30 private IMdnsOffload mVendorService; field in OffloadWriter 55 mVendorService = vendorService; in setVendorService() 59 return mVendorService != null; in isVendorServiceConnected() 68 mVendorService.resetAll(); in resetAll() 91 mVendorService.setOffloadState(enabled); in setOffloadState() 105 int missCounter = mVendorService.getAndResetMissCounter(); in retrieveAndClearMetrics() 112 int hitCounter = mVendorService.getAndResetHitCounter(recordKey); in retrieveAndClearMetrics() 205 offloadKey = mVendorService.addProtocolResponses( in tryAddProtocolResponses() 222 mVendorService.removeProtocolResponses(offloadKey); in tryRemoveProtocolResponses() 234 mVendorService.setPassthroughBehavior(networkInterface, passthroughMode); in trySetPassthroughBehavior() [all …]
|