Searched refs:deathHandler (Results 1 – 2 of 2) sorted by relevance
312 RemoteDeathHandler deathHandler = mDeathHandlers.get(remote); in handleDeath() local313 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() local331 if (deathHandler == null) return; in unhandleDeath()332 deathHandler.removeUser(finishCallback); in unhandleDeath()333 if (deathHandler.getUserCount() == 0) { in unhandleDeath()[all …]
799 Runnable deathHandler = mock(Runnable.class); in testRegisterDeathHandler() local800 mWificondControl.setOnServiceDeadCallback(deathHandler); in testRegisterDeathHandler()803 verify(deathHandler).run(); in testRegisterDeathHandler()812 Runnable deathHandler = mock(Runnable.class); in testDeathHandling() local813 mWificondControl.setOnServiceDeadCallback(deathHandler); in testDeathHandling()819 verify(deathHandler).run(); in testDeathHandling()