Searched refs:sServiceWatcher (Results 1 – 5 of 5) 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 CtsTranslationService83 sServiceWatcher = null; in resetStaticState()91 if (sServiceWatcher != null) { in onConnected()92 sServiceWatcher.mService = this; in onConnected()93 sServiceWatcher.mConnected.countDown(); in onConnected()101 if (sServiceWatcher != null) { in onDisconnected()102 sServiceWatcher.mService = null; in onDisconnected()103 sServiceWatcher.mDisconnected.countDown(); in onDisconnected()104 sServiceWatcher = null; in onDisconnected()145 if (sServiceWatcher != null) { in setServiceWatcher()[all …]
81 private static ServiceWatcher sServiceWatcher; field in CtsAugmentedAutofillService94 if (sServiceWatcher != null) { in setServiceWatcher()97 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()98 return sServiceWatcher; in setServiceWatcher()114 if (sServiceWatcher != null) { in resetStaticState()116 sServiceWatcher = null; in resetStaticState()122 Log.i(TAG, "onConnected(): sServiceWatcher=" + sServiceWatcher); in onConnected()124 if (sServiceWatcher == null) { in onConnected()129 if (sServiceWatcher.mService != null) { in onConnected()130 addException("onConnected(): already created: %s", sServiceWatcher); in onConnected()[all …]
75 private static ServiceWatcher sServiceWatcher; field in CtsContentCaptureService161 if (sServiceWatcher != null) { in setServiceWatcher()164 sServiceWatcher = new ServiceWatcher(); in setServiceWatcher()165 return sServiceWatcher; in setServiceWatcher()177 if (sServiceWatcher != null) { in resetStaticState()179 sServiceWatcher = null; in resetStaticState()184 if (sServiceWatcher != null) { in clearServiceWatcher()185 if (sServiceWatcher.mReadyToClear) { in clearServiceWatcher()186 sServiceWatcher.mService = null; in clearServiceWatcher()187 sServiceWatcher = null; in clearServiceWatcher()[all …]