Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java82 @Spy DaemonConnection mDaemon = new DaemonConnection(mDaemonCallback); field in NsdServiceTest
91 doReturn(true).when(mDaemon).execute(any()); in setUp()
113 verify(mDaemon, times(1)).maybeStart(); in testPreSClients()
118 verify(mDaemon, times(1)).maybeStart(); in testPreSClients()
123 verify(mDaemon, never()).maybeStop(); in testPreSClients()
142 verify(mDaemon, never()).execute(any()); in testNoDaemonStartedWhenClientsConnect()
147 verify(mDaemon, never()).execute(any()); in testNoDaemonStartedWhenClientsConnect()
153 reset(mDaemon); in testNoDaemonStartedWhenClientsConnect()
170 verify(mDaemon, never()).maybeStart(); in testClientRequestsAreGCedAtDisconnection()
171 verify(mDaemon, never()).execute(any()); in testClientRequestsAreGCedAtDisconnection()
[all …]
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java1435 private ICarPowerPolicySystemNotification mDaemon; field in CarPowerManagementService.BinderHandler
1438 mDaemon = daemon; in BinderHandler()
1445 mDaemon = null; in binderDied()
1457 if (mDaemon == null) { in linkToDeath()
1460 IBinder binder = mDaemon.asBinder(); in linkToDeath()
1468 mDaemon = null; in linkToDeath()
1474 if (mDaemon == null) { in unlinkToDeath()
1477 IBinder binder = mDaemon.asBinder(); in unlinkToDeath()