Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java165 private final RunnableList[] mEventCallbacks = field in BaseActivity
220 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()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java126 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServerTest
228 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()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java96 private RemoteCallbackList<IDhcpEventCallbacks> mEventCallbacks = new RemoteCallbackList<>(); field in DhcpLeaseRepository
394 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()
DDhcpServer.java124 private IDhcpEventCallbacks mEventCallbacks; field in DhcpServer
426 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()