Searched refs:mDaemon (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | NsdServiceTest.java | 64 @Mock DaemonConnection mDaemon; field in NsdServiceTest 93 verify(mDaemon, timeout(100).times(1)).start(); in testClientsCanConnectAndDisconnect() 100 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientsCanConnectAndDisconnect() 109 when(mDaemon.execute(any())).thenReturn(true); in testClientRequestsAreGCedAtDisconnection() 114 verify(mDaemon, timeout(100).times(1)).start(); in testClientRequestsAreGCedAtDisconnection() 136 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientRequestsAreGCedAtDisconnection() 147 return mDaemon; in makeService() 150 verify(mDaemon, never()).execute(any(String.class)); in makeService() 168 verify(mDaemon, timeout(mTimeoutMs).times(n)).execute(argumentsCaptor.capture()); in verifyDaemonCommand() 175 reset(mDaemon); in verifyDaemonCommand() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 70 private final DaemonConnection mDaemon; field in NsdService 158 mDaemon.stop(); in processMessage() 218 mDaemon.start(); in enter() 225 mDaemon.stop(); in exit() 259 mDaemon.start(); in processMessage() 549 mDaemon = fn.get(mDaemonCallback); in NsdService() 724 return mDaemon.execute("register", regId, name, type, port, record); in registerService() 728 return mDaemon.execute("stop-register", regId); in unregisterService() 735 return mDaemon.execute("update", regId, t.size(), t.getRawData()); in updateService() 739 return mDaemon.execute("discover", discoveryId, serviceType); in discoverServices() [all …]
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 140 private IBiometricsFingerprint mDaemon; field in FingerprintService 275 if (mDaemon == null) { in getFingerprintDaemon() 278 mDaemon = IBiometricsFingerprint.getService(); in getFingerprintDaemon() 284 if (mDaemon == null) { in getFingerprintDaemon() 289 mDaemon.asBinder().linkToDeath(this, 0); in getFingerprintDaemon() 292 mHalDeviceId = mDaemon.setNotify(mDaemonCallback); in getFingerprintDaemon() 295 mDaemon = null; // try again later! in getFingerprintDaemon() 306 mDaemon = null; in getFingerprintDaemon() 309 return mDaemon; in getFingerprintDaemon() 417 mDaemon = null; in handleError()
|