Searched refs:setThreadPolicy (Results 1 – 16 of 16) sorted by relevance
53 StrictMode.setThreadPolicy(THREAD_NO_PENALTY); in bypass()57 StrictMode.setThreadPolicy(originalPolicy); in bypass()78 StrictMode.setThreadPolicy(THREAD_NO_PENALTY); in bypass()82 StrictMode.setThreadPolicy(originalPolicy); in bypass()
106 StrictMode.setThreadPolicy(oldPolicy); in bulkInsert()139 StrictMode.setThreadPolicy(oldPolicy); in query()157 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectAll().build()); in enableStrictMode()
244 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onCreate()548 StrictMode.setThreadPolicy(oldPolicy); in onMenuItemClick()579 StrictMode.setThreadPolicy(oldPolicy); in initializeSettings()
175 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSlice()228 StrictMode.setThreadPolicy(oldPolicy); in onBindSlice()
180 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onBindSlice()233 StrictMode.setThreadPolicy(oldPolicy); in onBindSlice()
44 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onCreate()
90 StrictMode.setThreadPolicy(threadPolicyBuilder.build()); in onCreate()
71 StrictMode.setThreadPolicy(threadPolicy); in setRecommendedMainThreadPolicy()
108 StrictMode.setThreadPolicy( in onCreate()
52 StrictMode.setThreadPolicy(policy); in onCreate()
98 StrictMode.setThreadPolicy(old); in getInstance()
1526 StrictMode.setThreadPolicy( in initialize()
81 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onCreate()
613 protected static void setThreadPolicy(final StrictMode.ThreadPolicy policy) { in setThreadPolicy() method in SettingsSliceProviderTest.ShadowStrictMode
301 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() in onCreate()