Searched refs:oldPolicy (Results 1 – 6 of 6) sorted by relevance
99 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in stopWebServer() local100 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy) in stopWebServer()106 StrictMode.setThreadPolicy(oldPolicy); in stopWebServer()
477 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in stopWebServer() local478 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy) in stopWebServer()484 StrictMode.setThreadPolicy(oldPolicy); in stopWebServer()
210 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in stopWebServer() local211 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy) in stopWebServer()217 StrictMode.setThreadPolicy(oldPolicy); in stopWebServer()
289 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in runWithStrictMode() local299 StrictMode.setThreadPolicy(oldPolicy); in runWithStrictMode()304 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in runWithNoStrictMode() local311 StrictMode.setThreadPolicy(oldPolicy); in runWithNoStrictMode()
335 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in testModeMultiProcess() local353 StrictMode.setThreadPolicy(oldPolicy); in testModeMultiProcess()
2316 StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();2347 StrictMode.setThreadPolicy(oldPolicy);