Home
last modified time | relevance | path

Searched refs:deathHandler (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DRemoteTransitionHandler.java312 RemoteDeathHandler deathHandler = mDeathHandlers.get(remote); in handleDeath() local
313 if (deathHandler == null) { in handleDeath()
314 deathHandler = new RemoteDeathHandler(remote); in handleDeath()
316 remote.linkToDeath(deathHandler, 0 /* flags */); in handleDeath()
321 mDeathHandlers.put(remote, deathHandler); in handleDeath()
323 deathHandler.addUser(finishCallback); in handleDeath()
330 RemoteDeathHandler deathHandler = mDeathHandlers.get(remote); in unhandleDeath() local
331 if (deathHandler == null) return; in unhandleDeath()
332 deathHandler.removeUser(finishCallback); in unhandleDeath()
333 if (deathHandler.getUserCount() == 0) { in unhandleDeath()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java799 Runnable deathHandler = mock(Runnable.class); in testRegisterDeathHandler() local
800 mWificondControl.setOnServiceDeadCallback(deathHandler); in testRegisterDeathHandler()
803 verify(deathHandler).run(); in testRegisterDeathHandler()
812 Runnable deathHandler = mock(Runnable.class); in testDeathHandling() local
813 mWificondControl.setOnServiceDeadCallback(deathHandler); in testDeathHandling()
819 verify(deathHandler).run(); in testDeathHandling()