Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java66 @Mock DaemonConnection mDaemon; field in NsdServiceTest
95 verify(mDaemon, timeout(100).times(1)).start(); in testClientsCanConnectAndDisconnect()
102 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientsCanConnectAndDisconnect()
111 when(mDaemon.execute(any())).thenReturn(true); in testClientRequestsAreGCedAtDisconnection()
116 verify(mDaemon, timeout(100).times(1)).start(); in testClientRequestsAreGCedAtDisconnection()
138 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientRequestsAreGCedAtDisconnection()
149 return mDaemon; in makeService()
152 verify(mDaemon, never()).execute(any(String.class)); in makeService()
170 verify(mDaemon, timeout(mTimeoutMs).times(n)).execute(argumentsCaptor.capture()); in verifyDaemonCommand()
177 reset(mDaemon); in verifyDaemonCommand()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNsdService.java68 private final DaemonConnection mDaemon; field in NsdService
156 mDaemon.stop(); in processMessage()
216 mDaemon.start(); in enter()
223 mDaemon.stop(); in exit()
257 mDaemon.start(); in processMessage()
547 mDaemon = fn.get(mDaemonCallback); in NsdService()
721 return mDaemon.execute("register", regId, name, type, port, record); in registerService()
725 return mDaemon.execute("stop-register", regId); in unregisterService()
732 return mDaemon.execute("update", regId, t.size(), t.getRawData()); in updateService()
736 return mDaemon.execute("discover", discoveryId, serviceType); in discoverServices()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java658 if (mDaemon != null) { in setFeature()
660 final int result = mDaemon.setFeature(feature, enabled, byteToken, faceId); in setFeature()
691 if (mDaemon != null) { in getFeature()
693 OptionalBool result = mDaemon.getFeature(feature, faceId); in getFeature()
707 if (mDaemon != null) { in userActivity()
709 mDaemon.userActivity(); in userActivity()
838 private IBiometricsFace mDaemon; field in FaceService
909 mDaemon = null;
1124 mDaemon = null; in serviceDied()
1232 if (mDaemon == null) { in getFaceDaemon()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DClientMonitor.java57 private final BiometricServiceBase.DaemonWrapper mDaemon; field in ClientMonitor
89 mDaemon = daemon; in ClientMonitor()
273 return mDaemon; in getDaemonWrapper()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java573 private IBiometricsFingerprint mDaemon; field in FingerprintService
622 mDaemon = null;
766 mDaemon = null; in serviceDied()
906 if (mDaemon == null) { in getFingerprintDaemon()
909 mDaemon = IBiometricsFingerprint.getService(); in getFingerprintDaemon()
915 if (mDaemon == null) { in getFingerprintDaemon()
920 mDaemon.asBinder().linkToDeath(this, 0); in getFingerprintDaemon()
923 mHalDeviceId = mDaemon.setNotify(mDaemonCallback); in getFingerprintDaemon()
926 mDaemon = null; // try again later! in getFingerprintDaemon()
937 mDaemon = null; in getFingerprintDaemon()
[all …]