Lines Matching refs:sServerHolder
100 private static ServerHolder sServerHolder; field in MtpService
130 if (sServerHolder != null) { in onDestroy()
131 sServerHolder.database.setServer(null); in onDestroy()
168 if (sServerHolder != null) { in startServer()
203 sServerHolder = new ServerHolder(server, database); in startServer()
223 if (sServerHolder != null) { in addStorage()
224 sServerHolder.database.addStorage(volume); in addStorage()
231 if (sServerHolder != null) { in removeStorage()
232 sServerHolder.database.removeStorage(volume); in removeStorage()
257 if (sServerHolder == null) { in run()
261 sServerHolder.close(); in run()
262 sServerHolder = null; in run()