Searched refs:mEventCallbacks (Results 1 – 4 of 4) sorted by relevance
165 private final RunnableList[] mEventCallbacks = field in BaseActivity220 mEventCallbacks[EVENT_STARTED].executeAllAndClear(); in onStart()227 mEventCallbacks[EVENT_RESUMED].executeAllAndClear(); in onResume()249 mEventCallbacks[EVENT_STOPPED].executeAllAndClear(); in onStop()260 mEventCallbacks[EVENT_DESTROYED].executeAllAndClear(); in onDestroy()391 mEventCallbacks[event].add(callback); in addEventCallback()396 mEventCallbacks[event].remove(callback); in removeEventCallback()
126 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServerTest228 mServer.start(mAssertSuccessCallback, mEventCallbacks); in testStartWithCallbacks()230 verify(mRepository).addLeaseCallbacks(eq(mEventCallbacks)); in testStartWithCallbacks()360 verify(mEventCallbacks, never()).onNewPrefixRequest(any()); in testDecline_LeaseDoesNotExist()406 mServer.start(mAssertSuccessCallback, mEventCallbacks); in testChangePrefixOnDecline()408 verify(mRepository).addLeaseCallbacks(eq(mEventCallbacks)); in testChangePrefixOnDecline()416 verify(mEventCallbacks).onNewPrefixRequest(eq(servingPrefix)); in testChangePrefixOnDecline()
96 private RemoteCallbackList<IDhcpEventCallbacks> mEventCallbacks = new RemoteCallbackList<>(); field in DhcpLeaseRepository394 final int cbCount = mEventCallbacks.beginBroadcast(); in notifyLeasesChanged()397 mEventCallbacks.getBroadcastItem(i).onLeasesChanged(leaseParcelables); in notifyLeasesChanged()402 mEventCallbacks.finishBroadcast(); in notifyLeasesChanged()457 mEventCallbacks.register(cb); in addLeaseCallbacks()
124 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServer426 mEventCallbacks = obj.second; in processMessage()459 if (mEventCallbacks != null) { in enter()460 mLeaseRepo.addLeaseCallbacks(mEventCallbacks); in enter()612 if (mEventCallbacks == null) { in processDecline()619 mEventCallbacks.onNewPrefixRequest( in processDecline()