OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ThreadPolicy
(Results
1 - 25
of
46
) sorted by null
1
2
/frameworks/base/core/tests/benchmarks/src/android/os/
StrictModeBenchmark.java
19
import android.os.StrictMode.
ThreadPolicy
;
23
private
ThreadPolicy
mOff = new
ThreadPolicy
.Builder().build();
24
private
ThreadPolicy
mOn = new
ThreadPolicy
.Builder().detectAll().build();
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
Utils.java
37
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
38
new StrictMode.
ThreadPolicy
.Builder()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
Utils.java
37
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
38
new StrictMode.
ThreadPolicy
.Builder()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
Utils.java
37
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
38
new StrictMode.
ThreadPolicy
.Builder()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
Utils.java
44
StrictMode.
ThreadPolicy
.Builder threadPolicyBuilder =
45
new StrictMode.
ThreadPolicy
.Builder()
/cts/tests/tests/webkit/src/android/webkit/cts/
WebViewStartupTest.java
95
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
96
StrictMode.
ThreadPolicy
testPolicy = new StrictMode.
ThreadPolicy
.Builder()
WebViewSslTest.java
25
import android.os.StrictMode.
ThreadPolicy
;
[
all
...]
/frameworks/base/core/java/com/android/internal/util/
MemInfoReader.java
29
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractMailActivity.java
50
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/frameworks/base/tests/CoreTests/android/core/
NsdServiceInfoTest.java
23
StrictMode.
ThreadPolicy
policy = new StrictMode.
ThreadPolicy
.Builder().permitAll().build();
/frameworks/base/core/java/android/os/
StrictMode.java
82
* StrictMode.setThreadPolicy(new {@link
ThreadPolicy
.Builder StrictMode.
ThreadPolicy
.Builder}()
100
* For example, using {@link
ThreadPolicy
.Builder#penaltyLog} you can
168
public static final int DETECT_DISK_WRITE = 0x01; // for
ThreadPolicy
173
public static final int DETECT_DISK_READ = 0x02; // for
ThreadPolicy
178
public static final int DETECT_NETWORK = 0x04; // for
ThreadPolicy
185
public static final int DETECT_CUSTOM = 0x08; // for
ThreadPolicy
192
public static final int DETECT_RESOURCE_MISMATCH = 0x10; // for
ThreadPolicy
344
public static final class
ThreadPolicy
{
348
public static final
ThreadPolicy
LAX = new ThreadPolicy(0)
[
all
...]
Process.java
[
all
...]
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
329
final StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
331
StrictMode.
ThreadPolicy
diskReadDeath =
332
new StrictMode.
ThreadPolicy
.Builder().detectDiskReads().penaltyDeath().build();
/frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java
93
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
146
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
269
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/Contacts/src/com/android/contacts/
ContactsApplication.java
111
new StrictMode.
ThreadPolicy
.Builder().detectAll().penaltyLog().build());
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java
285
final StrictMode.
ThreadPolicy
oldPolicy = StrictMode.getThreadPolicy();
287
StrictMode.setThreadPolicy(StrictMode.
ThreadPolicy
.LAX);
375
StrictMode.
ThreadPolicy
.Builder newPolicy = new StrictMode.
ThreadPolicy
.Builder();
387
StrictMode.
ThreadPolicy
policy = newPolicy.build();
/frameworks/base/media/java/android/media/
MediaHTTPConnection.java
314
StrictMode.
ThreadPolicy
policy =
315
new StrictMode.
ThreadPolicy
.Builder().permitAll().build();
/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;
/development/cmds/monkey/src/com/android/commands/monkey/
Monkey.java
266
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
277
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
295
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
325
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
348
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
[
all
...]
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptingLayerService.java
176
StrictMode.
ThreadPolicy
sl4aPolicy = new StrictMode.
ThreadPolicy
.Builder()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java
93
final StrictMode.
ThreadPolicy
old = StrictMode.allowThreadDiskReads();
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java
81
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/packages/apps/TV/src/com/android/tv/
TvApplication.java
107
new StrictMode.
ThreadPolicy
.Builder().detectAll().penaltyLog().build());
/frameworks/base/core/java/com/android/internal/os/
ProcessCpuTracker.java
379
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
852
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java
785
? new StrictMode.
ThreadPolicy
.Builder().detectAll().build()
786
: StrictMode.
ThreadPolicy
.LAX);
Completed in 500 milliseconds
1
2