OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:strictmode
(Results
26 - 50
of
283
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/services/core/java/com/android/server/
ServiceThread.java
21
import android.os.
StrictMode
;
41
StrictMode
.initThreadDefaults(null);
/external/libmojo/base/android/java/src/org/chromium/base/
PathUtils.java
11
import android.os.
StrictMode
;
69
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.allowThreadDiskReads();
70
StrictMode
.allowThreadDiskWrites();
76
StrictMode
.setThreadPolicy(oldPolicy);
187
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.allowThreadDiskReads();
193
RecordHistogram.recordTimesHistogram("Android.
StrictMode
.DownloadsDir",
196
StrictMode
.setThreadPolicy(oldPolicy);
SysUtils.java
10
import android.os.
StrictMode
;
53
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.allowThreadDiskReads();
88
StrictMode
.setThreadPolicy(oldPolicy);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
RSBase.java
21
import android.os.
StrictMode
;
85
StrictMode
.setVmPolicy(new
StrictMode
.VmPolicy.Builder()
/frameworks/base/core/java/android/os/strictmode/
CleartextNetworkViolation.java
16
package android.os.
strictmode
;
ContentUriWithoutPermissionViolation.java
16
package android.os.
strictmode
;
CustomViolation.java
16
package android.os.
strictmode
;
DiskReadViolation.java
16
package android.os.
strictmode
;
DiskWriteViolation.java
16
package android.os.
strictmode
;
FileUriExposedViolation.java
16
package android.os.
strictmode
;
IntentReceiverLeakedViolation.java
16
package android.os.
strictmode
;
LeakedClosableViolation.java
16
package android.os.
strictmode
;
NetworkViolation.java
16
package android.os.
strictmode
;
NonSdkApiUsedViolation.java
17
package android.os.
strictmode
;
ResourceMismatchViolation.java
16
package android.os.
strictmode
;
ServiceConnectionLeakedViolation.java
16
package android.os.
strictmode
;
SqliteObjectLeakedViolation.java
16
package android.os.
strictmode
;
UntaggedSocketViolation.java
16
package android.os.
strictmode
;
WebViewMethodCalledOnWrongThreadViolation.java
16
package android.os.
strictmode
;
/packages/apps/Contacts/src/com/android/contacts/
ContactsApplication.java
27
import android.os.
StrictMode
;
44
* Log tag for enabling/disabling
StrictMode
violation log.
108
StrictMode
.setThreadPolicy(
109
new
StrictMode
.ThreadPolicy.Builder().detectAll().penaltyLog().build());
/packages/apps/Dialer/java/com/android/dialer/strictmode/
DialerStrictMode.java
17
package com.android.dialer.
strictmode
;
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
ConnectivityTestActivity.java
29
import android.os.
StrictMode
;
50
StrictMode
.ThreadPolicy policy =
51
new
StrictMode
.ThreadPolicy.Builder().permitAll().build();
52
StrictMode
.setThreadPolicy(policy);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
AndroidInterceptorsTest.java
19
new MethodRef("android.os.
StrictMode
", "trackActivity"),
20
new MethodRef("android.os.
StrictMode
", "incrementExpectedActivityCount"),
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
24
import android.os.
StrictMode
;
25
import android.os.
StrictMode
.ViolationInfo;
26
import android.os.
StrictMode
.ViolationLogger;
333
final
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
335
StrictMode
.ThreadPolicy diskReadDeath =
336
new
StrictMode
.ThreadPolicy.Builder().detectDiskReads().penaltyLog().build();
337
StrictMode
.setThreadPolicy(diskReadDeath);
339
StrictMode
.setViolationLogger(info -> latch.countDown());
351
StrictMode
.setThreadPolicy(oldPolicy)
[
all
...]
/frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java
27
import android.os.
StrictMode
;
162
final
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskReads();
200
StrictMode
.setThreadPolicy(savedPolicy);
218
final
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskReads();
250
StrictMode
.setThreadPolicy(savedPolicy);
304
final
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskReads();
347
StrictMode
.setThreadPolicy(savedPolicy)
[
all
...]
Completed in 1150 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>