OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:threadpolicy
(Results
1 - 25
of
52
) sorted by null
1
2
3
/frameworks/base/core/tests/benchmarks/src/android/os/
StrictModeBenchmark.java
19
import android.os.StrictMode.
ThreadPolicy
;
25
private
ThreadPolicy
mOff = new
ThreadPolicy
.Builder().build();
26
private
ThreadPolicy
mOn = new
ThreadPolicy
.Builder().detectAll().build();
/frameworks/base/docs/html/sdk/api_diff/11/changes/
android.os.StrictMode.ThreadPolicy.Builder.html
10
android.os.StrictMode.
ThreadPolicy
.Builder
74
Class android.os.<A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.Builder.html" target="_top"><font size="+2"><code>StrictMode.
ThreadPolicy
.Builder</code></font></A>
86
<A NAME="android.os.StrictMode.
ThreadPolicy
.Builder.detectCustomSlowCalls_added()"></A>
87
<nobr><code>Builder</code> <A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.Builder.html#detectCustomSlowCalls()" target="_top"><code>detectCustomSlowCalls</code></A>()</nobr>
93
<A NAME="android.os.StrictMode.
ThreadPolicy
.Builder.penaltyDeathOnNetwork_added()"></A>
94
<nobr><code>Builder</code> <A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.Builder.html#penaltyDeathOnNetwork()" target="_top"><code>penaltyDeathOnNetwork</code></A>()</nobr>
100
<A NAME="android.os.StrictMode.
ThreadPolicy
.Builder.penaltyFlashScreen_added()"></A>
101
<nobr><code>Builder</code> <A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.Builder.html#penaltyFlashScreen()" target="_top"><code>penaltyFlashScreen</code></A>()</nobr>
107
<A NAME="android.os.StrictMode.
ThreadPolicy
.Builder.permitCustomSlowCalls_added()"></A
[
all
...]
pkg_android.os.html
155
<A NAME="StrictMode.
ThreadPolicy
.Builder"></A>
156
<nobr><A HREF="android.os.StrictMode.
ThreadPolicy
.Builder.html">StrictMode.
ThreadPolicy
.<br>Builder</A></nobr>
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
SyncStatusHelper.java
106
StrictMode.
ThreadPolicy
oldPolicy = temporarilyAllowDiskWritesAndDiskReads();
119
StrictMode.
ThreadPolicy
oldPolicy = temporarilyAllowDiskWritesAndDiskReads();
128
StrictMode.
ThreadPolicy
oldPolicy = temporarilyAllowDiskWritesAndDiskReads();
189
StrictMode.
ThreadPolicy
oldPolicy = temporarilyAllowDiskWritesAndDiskReads();
374
StrictMode.
ThreadPolicy
oldPolicy = temporarilyAllowDiskWritesAndDiskReads();
418
* Sets a new StrictMode.
ThreadPolicy
based on the current one, but allows disk reads
426
private static StrictMode.
ThreadPolicy
temporarilyAllowDiskWritesAndDiskReads() {
427
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
428
StrictMode.
ThreadPolicy
.Builder newPolicy =
429
new StrictMode.
ThreadPolicy
.Builder(oldPolicy)
[
all
...]
/libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java
126
private static ThreadLocal<Policy>
threadPolicy
= new ThreadLocal<Policy>() {
139
return
threadPolicy
.get();
152
threadPolicy
.set(policy);
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
Utils.java
35
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
36
new StrictMode.
ThreadPolicy
.Builder()
/frameworks/base/docs/html/sdk/api_diff/9/changes/
pkg_android.os.html
91
<A NAME="StrictMode.
ThreadPolicy
"></A>
92
<nobr><A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.html" target="_top"><code>StrictMode.
ThreadPolicy
</code></A></nobr>
98
<A NAME="StrictMode.
ThreadPolicy
.Builder"></A>
99
<nobr><A HREF="../../../../reference/android/os/StrictMode.
ThreadPolicy
.Builder.html" target="_top"><code>StrictMode.
ThreadPolicy
.<br>Builder</code></A></nobr>
classes_index_additions.html
355
<A HREF="pkg_android.os.html#StrictMode.
ThreadPolicy
" class="hiddenlink" target="rightframe"><b>StrictMode.
ThreadPolicy
</b></A><br>
356
<A HREF="pkg_android.os.html#StrictMode.
ThreadPolicy
.Builder" class="hiddenlink" target="rightframe"><b>StrictMode.
ThreadPolicy
.Builder</b></A><br>
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
Utils.java
44
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
45
new StrictMode.
ThreadPolicy
.Builder()
/frameworks/base/core/java/android/os/
StrictMode.java
77
* StrictMode.setThreadPolicy(new {@link
ThreadPolicy
.Builder StrictMode.
ThreadPolicy
.Builder}()
95
* For example, using {@link
ThreadPolicy
.Builder#penaltyLog} you can
156
public static final int DETECT_DISK_WRITE = 0x01; // for
ThreadPolicy
161
public static final int DETECT_DISK_READ = 0x02; // for
ThreadPolicy
166
public static final int DETECT_NETWORK = 0x04; // for
ThreadPolicy
173
public static final int DETECT_CUSTOM = 0x08; // for
ThreadPolicy
315
public static final class
ThreadPolicy
{
319
public static final
ThreadPolicy
LAX = new
ThreadPolicy
(0)
[
all
...]
/frameworks/base/core/java/com/android/internal/util/
MemInfoReader.java
29
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java
75
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
128
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
194
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractMailActivity.java
47
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java
285
final StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
287
StrictMode.setThreadPolicy(StrictMode.
ThreadPolicy
.LAX);
374
StrictMode.
ThreadPolicy
.Builder newPolicy = new StrictMode.
ThreadPolicy
.Builder();
385
StrictMode.
ThreadPolicy
policy = newPolicy.build();
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
319
final StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
321
StrictMode.
ThreadPolicy
diskReadDeath =
322
new StrictMode.
ThreadPolicy
.Builder().detectDiskReads().penaltyDeath().build();
/frameworks/base/core/java/android/webkit/
WebViewFactory.java
100
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/Contacts/src/com/android/contacts/
ContactsApplication.java
121
new StrictMode.
ThreadPolicy
.Builder().detectAll().penaltyLog().build());
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
MemInfoReader.java
63
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java
558
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
561
StrictMode.
ThreadPolicy
policyA =
562
new StrictMode.
ThreadPolicy
.Builder().detectDiskReads().build();
563
StrictMode.
ThreadPolicy
policyB =
564
new StrictMode.
ThreadPolicy
.Builder().detectDiskWrites().build();
566
StrictMode.
ThreadPolicy
policy = ((i & 1) == 1) ? policyA : policyB;
/packages/apps/Mms/src/com/android/mms/
MmsApp.java
69
new StrictMode.
ThreadPolicy
.Builder().detectAll().penaltyLog().build());
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java
81
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/development/cmds/monkey/src/com/android/commands/monkey/
Monkey.java
291
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
302
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
319
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
349
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
372
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
[
all
...]
/frameworks/base/docs/html/distribute/googleplay/quality/
core.jd
799
{@link android.os.StrictMode.
ThreadPolicy
.Builder} and enable all supported monitoring in the
800
<code>
ThreadPolicy
</code> using
801
{@link android.os.StrictMode.
ThreadPolicy
.Builder#detectAll()}.</p>
804
for the <code>
ThreadPolicy
</code> using {@link android.os.StrictMode.
ThreadPolicy
.Builder#penaltyFlashScreen() penaltyFlashScreen()}.</p>
/cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java
[
all
...]
/cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java
41
import android.os.StrictMode.
ThreadPolicy
;
162
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
163
ThreadPolicy
tmpPolicy = new
ThreadPolicy
.Builder(oldPolicy)
[
all
...]
Completed in 1005 milliseconds
1
2
3