Searched refs:mDaemon (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | NsdServiceTest.java | 66 @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/ |
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/biometrics/face/ |
D | FaceService.java | 509 if (mDaemon != null) { in setFeature() 511 final int result = mDaemon.setFeature(feature, enabled, byteToken, faceId); in setFeature() 537 if (mDaemon != null) { in getFeature() 539 OptionalBool result = mDaemon.getFeature(feature, faceId); in getFeature() 553 if (mDaemon != null) { in userActivity() 555 mDaemon.userActivity(); in userActivity() 684 private IBiometricsFace mDaemon; field in FaceService 739 mDaemon = null; 937 mDaemon = null; in serviceDied() 1045 if (mDaemon == null) { in getFaceDaemon() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | ClientMonitor.java | 57 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/ |
D | FingerprintService.java | 571 private IBiometricsFingerprint mDaemon; field in FingerprintService 620 mDaemon = null; 764 mDaemon = null; in serviceDied() 904 if (mDaemon == null) { in getFingerprintDaemon() 907 mDaemon = IBiometricsFingerprint.getService(); in getFingerprintDaemon() 913 if (mDaemon == null) { in getFingerprintDaemon() 918 mDaemon.asBinder().linkToDeath(this, 0); in getFingerprintDaemon() 921 mHalDeviceId = mDaemon.setNotify(mDaemonCallback); in getFingerprintDaemon() 924 mDaemon = null; // try again later! in getFingerprintDaemon() 935 mDaemon = null; in getFingerprintDaemon() [all …]
|