Searched refs:mDeps (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 118 private Dependencies mDeps; field in DhcpServerTest 197 when(mDeps.makeLeaseRepository(any(), any(), any())).thenReturn(mRepository); in setUp() 198 when(mDeps.makeClock()).thenReturn(mClock); in setUp() 199 when(mDeps.makePacketListener(any())).thenReturn(mPacketListener); in setUp() 200 when(mDeps.isFeatureEnabled(eq(mContext), eq(DHCP_RAPID_COMMIT_VERSION))).thenReturn(true); in setUp() 201 doNothing().when(mDeps) in setUp() 207 new SharedLog(DhcpServerTest.class.getSimpleName()), mDeps); in setUp() 256 when(mDeps.isFeatureEnabled(eq(mContext), eq(DHCP_RAPID_COMMIT_VERSION))).thenReturn(true); in testDiscover_RapidCommit() 495 verify(mDeps, times(1)).sendPacket(any(), any(), any()); in getPacket()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 188 private final Dependencies mDeps; field in NetworkStackService.NetworkStackConnector 285 mDeps = deps; in NetworkStackConnector() 289 mIpMemoryStoreService = mDeps.makeIpMemoryStoreService(context); in NetworkStackConnector() 295 mNotifier = mDeps.makeNotifier(context, notifierThread.getLooper()); in NetworkStackConnector() 347 server = mDeps.makeDhcpServer( in makeDhcpServer() 370 final NetworkMonitor nm = mDeps.makeNetworkMonitor(mContext, cb, network, log, this); in makeNetworkMonitor() 378 final IpClient ipClient = mDeps.makeIpClient( in makeIpClient()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 113 private final Dependencies mDeps; field in DhcpServer 261 mDeps = deps; in DhcpServer() 433 mPacketListener = mDeps.makePacketListener(getHandler()); in enter() 756 mDeps.sendPacket(mSocket, buf, dst); in transmitPacket() 766 mDeps.addArpEntry(inetAddr, macAddr, mIfName, mSocket); in addArpEntry()
|