Lines Matching refs:sInstance
45 private static SystemServerInitThreadPool sInstance;
51 if (sInstance == null) {
52 sInstance = new SystemServerInitThreadPool();
54 Preconditions.checkState(sInstance.mService != null, "Cannot get " + TAG
56 return sInstance;
76 if (sInstance != null && sInstance.mService != null) {
77 sInstance.mService.shutdown();
80 terminated = sInstance.mService.awaitTermination(SHUTDOWN_TIMEOUT_MILLIS,
86 List<Runnable> unstartedRunnables = sInstance.mService.shutdownNow();
91 sInstance.mService = null; // Make mService eligible for GC