Searched refs:sServiceWatcher (Results 1 – 7 of 7) sorted by relevance
60 private static ServiceWatcher sServiceWatcher; field in TextClassifierTestWatcher117 if (sServiceWatcher == null) { in setServiceWatcher()118 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()123 if (sServiceWatcher != null) { in clearServiceWatcher()124 sServiceWatcher.mService = null; in clearServiceWatcher()125 sServiceWatcher = null; in clearServiceWatcher()195 if (sServiceWatcher != null && sServiceWatcher.mService != null) { in resetService()196 sServiceWatcher.waitOnDisconnected(); in resetService()228 if (sServiceWatcher != null) { in waitServiceLazyConnect()229 return sServiceWatcher.waitOnConnected(); in waitServiceLazyConnect()[all …]
52 private static ServiceWatcher sServiceWatcher; field in CtsContentCaptureService61 if (sServiceWatcher != null) { in onConnected()62 sServiceWatcher.mService = this; in onConnected()63 sServiceWatcher.mConnected.countDown(); in onConnected()70 if (sServiceWatcher != null) { in onDisconnected()71 sServiceWatcher.mService = null; in onDisconnected()72 sServiceWatcher.mDisconnected.countDown(); in onDisconnected()73 sServiceWatcher = null; in onDisconnected()115 if (sServiceWatcher != null) { in setServiceWatcher()118 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()[all …]
60 private static ServiceWatcher sServiceWatcher; field in CtsTranslationService88 sServiceWatcher = null; in resetStaticState()96 if (sServiceWatcher != null) { in onConnected()97 sServiceWatcher.mService = this; in onConnected()98 sServiceWatcher.mConnected.countDown(); in onConnected()107 if (sServiceWatcher != null) { in onDisconnected()108 sServiceWatcher.mService = null; in onDisconnected()109 sServiceWatcher.mDisconnected.countDown(); in onDisconnected()110 sServiceWatcher = null; in onDisconnected()176 if (sServiceWatcher != null) { in setServiceWatcher()[all …]
65 private static volatile ServiceWatcher sServiceWatcher; field in InstrumentedFieldClassificationService78 if (sServiceWatcher != null) { in setServiceWatcher()81 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()82 return sServiceWatcher; in setServiceWatcher()116 Log.i(TAG, "onConnected(): sServiceWatcher=" + sServiceWatcher); in onConnected()118 if (sServiceWatcher == null) { in onConnected()123 if (sServiceWatcher.mService != null) { in onConnected()124 Log.w(TAG, "onConnected(): already created: " + sServiceWatcher); in onConnected()128 sServiceWatcher.mService = this; in onConnected()129 sServiceWatcher.mCreated.countDown(); in onConnected()[all …]
78 private static ServiceWatcher sServiceWatcher; field in CtsAugmentedAutofillService91 if (sServiceWatcher != null) { in setServiceWatcher()94 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()95 return sServiceWatcher; in setServiceWatcher()116 if (sServiceWatcher != null) { in resetStaticState()118 sServiceWatcher = null; in resetStaticState()124 Log.i(TAG, "onConnected(): sServiceWatcher=" + sServiceWatcher); in onConnected()126 if (sServiceWatcher == null) { in onConnected()146 sServiceWatcher.mService = this; in onConnected()147 sServiceWatcher.mCreated.countDown(); in onConnected()[all …]
32 private static InstrumentedFieldClassificationService.ServiceWatcher sServiceWatcher; field in FieldClassificationServiceManualActivityLaunchTestCase44 if (sServiceWatcher != null) { in resetService()47 sServiceWatcher.waitOnDisconnected(); in resetService()53 sServiceWatcher = InstrumentedFieldClassificationService.setServiceWatcher(); in enablePccDetectionService()57 InstrumentedFieldClassificationService service = sServiceWatcher.waitOnConnected(); in enablePccDetectionService()
83 private static ServiceWatcher sServiceWatcher; field in CtsContentCaptureService172 if (sServiceWatcher != null) { in setServiceWatcher()175 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()176 return sServiceWatcher; in setServiceWatcher()189 if (sServiceWatcher != null) { in resetStaticState()191 sServiceWatcher = null; in resetStaticState()198 return sServiceWatcher; in getServiceWatcher()204 if (sServiceWatcher != null) { in clearServiceWatcher()205 if (sServiceWatcher.mReadyToClear) { in clearServiceWatcher()206 sServiceWatcher.mService = null; in clearServiceWatcher()[all …]