Searched refs:mEventCallbacks (Results 1 – 3 of 3) sorted by relevance
126 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServerTest227 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()
95 private RemoteCallbackList<IDhcpEventCallbacks> mEventCallbacks = new RemoteCallbackList<>(); field in DhcpLeaseRepository390 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()
125 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServer411 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()