Searched refs:oldPolicy (Results 1 – 5 of 5) sorted by relevance
100 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in stopWebServer() local101 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy) in stopWebServer()107 StrictMode.setThreadPolicy(oldPolicy); in stopWebServer()
482 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in stopWebServer() local483 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy) in stopWebServer()489 StrictMode.setThreadPolicy(oldPolicy); in stopWebServer()
290 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in runWithStrictMode() local300 StrictMode.setThreadPolicy(oldPolicy); in runWithStrictMode()305 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in runWithNoStrictMode() local312 StrictMode.setThreadPolicy(oldPolicy); in runWithNoStrictMode()
333 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in testModeMultiProcess() local351 StrictMode.setThreadPolicy(oldPolicy); in testModeMultiProcess()
2316 StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();2347 StrictMode.setThreadPolicy(oldPolicy);