Searched refs:mLowpanInterfaceService (Results 1 – 2 of 2) sorted by relevance
47 @Mock ILowpanInterface mLowpanInterfaceService; field in LowpanManagerTest79 when(mLowpanService.getInterface("wpan0")).thenReturn(mLowpanInterfaceService); in testGetInterfaceList()80 when(mLowpanInterfaceService.getName()).thenReturn("wpan0"); in testGetInterfaceList()81 when(mLowpanInterfaceService.asBinder()).thenReturn(mLowpanInterfaceBinder); in testGetInterfaceList()91 when(mLowpanInterfaceService.getName()).thenReturn("wpan0"); in testRegisterCallback()92 when(mLowpanInterfaceService.asBinder()).thenReturn(mLowpanInterfaceBinder); in testRegisterCallback()107 mManagerListener.onInterfaceAdded(mLowpanInterfaceService); in testRegisterCallback()121 assertEquals(mLowpanInterface.getService(), mLowpanInterfaceService); in testRegisterCallback() local126 when(mLowpanService.getInterface("wpan0")).thenReturn(mLowpanInterfaceService); in testRegisterCallback()130 mManagerListener.onInterfaceRemoved(mLowpanInterfaceService); in testRegisterCallback()[all …]
45 @Mock ILowpanInterface mLowpanInterfaceService; field in LowpanInterfaceTest62 when(mLowpanInterfaceService.getName()).thenReturn("wpan0"); in setUp()63 when(mLowpanInterfaceService.asBinder()).thenReturn(mLowpanInterfaceBinder); in setUp()66 new LowpanInterface(mContext, mLowpanInterfaceService, mTestLooper.getLooper()); in setUp()75 verify(mLowpanInterfaceService) in testStateChangedCallback()