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
56
) sorted by null
1
2
3
/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()
/external/libmojo/base/android/java/src/org/chromium/base/
SysUtils.java
50
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskReads();
PathUtils.java
73
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskReads();
191
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskReads();
BuildInfo.java
115
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskReads();
/frameworks/base/core/java/com/android/internal/os/
KernelCpuSpeedReader.java
66
StrictMode.
ThreadPolicy
policy = StrictMode.allowThreadDiskReads();
KernelMemoryBandwidthStats.java
40
StrictMode.
ThreadPolicy
policy = StrictMode.allowThreadDiskReads();
/frameworks/base/core/java/com/android/internal/util/
MemInfoReader.java
29
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/Dialer/java/com/android/dialer/binary/common/
DialerApplication.java
58
new StrictMode.
ThreadPolicy
.Builder().detectAll().penaltyDeath().build());
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractMailActivity.java
50
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
WebViewDeviceSideStartupTest.java
153
StrictMode.
ThreadPolicy
oldThreadPolicy = StrictMode.getThreadPolicy();
155
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/frameworks/base/tests/CoreTests/android/core/
NsdServiceInfoTest.java
23
StrictMode.
ThreadPolicy
policy = new StrictMode.
ThreadPolicy
.Builder().permitAll().build();
/cts/tests/tests/os/src/android/os/cts/
StrictModeTest.java
47
private StrictMode.
ThreadPolicy
mThreadPolicy;
217
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
251
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
291
StrictMode.setThreadPolicy(new StrictMode.
ThreadPolicy
.Builder()
/frameworks/base/core/java/android/os/
StrictMode.java
84
* StrictMode.setThreadPolicy(new {@link
ThreadPolicy
.Builder StrictMode.
ThreadPolicy
.Builder}()
102
* For example, using {@link
ThreadPolicy
.Builder#penaltyLog} you can
170
public static final int DETECT_DISK_WRITE = 0x01; // for
ThreadPolicy
175
public static final int DETECT_DISK_READ = 0x02; // for
ThreadPolicy
180
public static final int DETECT_NETWORK = 0x04; // for
ThreadPolicy
187
public static final int DETECT_CUSTOM = 0x08; // for
ThreadPolicy
194
public static final int DETECT_RESOURCE_MISMATCH = 0x10; // for
ThreadPolicy
199
public static final int DETECT_UNBUFFERED_IO = 0x20; // for
ThreadPolicy
376
public static final class
ThreadPolicy
{
[
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
99
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
150
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
278
final StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskReads();
/packages/apps/Contacts/src/com/android/contacts/
ContactsApplication.java
109
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/core/java/android/app/
QueuedWork.java
170
StrictMode.
ThreadPolicy
oldPolicy = StrictMode.allowThreadDiskWrites();
/frameworks/base/media/java/android/media/
MediaHTTPConnection.java
320
StrictMode.
ThreadPolicy
policy =
321
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
272
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
283
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
301
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
336
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
362
StrictMode.
ThreadPolicy
savedPolicy = StrictMode.allowThreadDiskWrites();
[
all
...]
Completed in 527 milliseconds
1
2
3