Searched refs:threadPolicy (Results 1 – 4 of 4) sorted by relevance
37 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testBackgroundExecutorSettings()38 assertNotEquals(threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testBackgroundExecutorSettings()48 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testLightweightExecutorSettings()49 assertNotEquals(threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testLightweightExecutorSettings()59 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testBlockingExecutorSettings()60 assertEquals(threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testBlockingExecutorSettings()
39 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testBackgroundExecutorSettings()41 threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testBackgroundExecutorSettings()53 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testLightweightExecutorSettings()55 threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testLightweightExecutorSettings()67 StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy(); in testBlockingExecutorSettings()68 assertEquals(threadPolicy.toString(), StrictMode.ThreadPolicy.LAX.toString()); in testBlockingExecutorSettings()
69 StrictMode.ThreadPolicy threadPolicy = in setRecommendedMainThreadPolicy() local71 StrictMode.setThreadPolicy(threadPolicy); in setRecommendedMainThreadPolicy()
115 ExecutorResult(ThreadPolicy threadPolicy, int priority, String threadName) { in ExecutorResult() argument116 mThreadPolicy = threadPolicy; in ExecutorResult()