Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java126 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServerTest
227 mServer.start(mAssertSuccessCallback, mEventCallbacks); in testStartWithCallbacks()
229 verify(mRepository).addLeaseCallbacks(eq(mEventCallbacks)); in testStartWithCallbacks()
358 verify(mEventCallbacks, never()).onNewPrefixRequest(any()); in testDecline_LeaseDoesNotExist()
404 mServer.start(mAssertSuccessCallback, mEventCallbacks); in testChangePrefixOnDecline()
406 verify(mRepository).addLeaseCallbacks(eq(mEventCallbacks)); in testChangePrefixOnDecline()
414 verify(mEventCallbacks).onNewPrefixRequest(eq(servingPrefix)); in testChangePrefixOnDecline()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java95 private RemoteCallbackList<IDhcpEventCallbacks> mEventCallbacks = new RemoteCallbackList<>(); field in DhcpLeaseRepository
390 final int cbCount = mEventCallbacks.beginBroadcast(); in notifyLeasesChanged()
393 mEventCallbacks.getBroadcastItem(i).onLeasesChanged(leaseParcelables); in notifyLeasesChanged()
398 mEventCallbacks.finishBroadcast(); in notifyLeasesChanged()
453 mEventCallbacks.register(cb); in addLeaseCallbacks()
DDhcpServer.java125 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServer
411 mEventCallbacks = obj.second; in processMessage()
444 if (mEventCallbacks != null) { in enter()
445 mLeaseRepo.addLeaseCallbacks(mEventCallbacks); in enter()
597 if (mEventCallbacks == null) { in processDecline()
604 mEventCallbacks.onNewPrefixRequest( in processDecline()