OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlockGuard
(Results
1 - 25
of
33
) sorted by null
1
2
/external/conscrypt/src/openjdk/java/dalvik/system/
BlockGuard.java
22
public class
BlockGuard
{
23
private
BlockGuard
() {
/external/conscrypt/src/stub/java/dalvik/system/
BlockGuard.java
21
public class
BlockGuard
{
22
private
BlockGuard
() {}
/libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java
25
import dalvik.system.
BlockGuard
;
35
import static dalvik.system.
BlockGuard
.DISALLOW_NETWORK;
38
* Informs
BlockGuard
of any activity it should be aware of.
63
BlockGuard
.getThreadPolicy().onNetwork();
68
BlockGuard
.getThreadPolicy().onReadFromDisk();
73
BlockGuard
.getThreadPolicy().onWriteToDisk();
78
BlockGuard
.getThreadPolicy().onWriteToDisk();
92
BlockGuard
.getThreadPolicy().onNetwork();
111
BlockGuard
.getThreadPolicy().onNetwork();
116
BlockGuard
.getThreadPolicy().onWriteToDisk()
[
all
...]
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
ServiceBase.java
26
import dalvik.system.
BlockGuard
;
55
return
BlockGuard
.getThreadPolicy().getPolicyMask();
59
int policy =
BlockGuard
.getThreadPolicy().getPolicyMask();
62
BlockGuard
.getThreadPolicy().onWriteToDisk();
69
int policy =
BlockGuard
.getThreadPolicy().getPolicyMask();
72
BlockGuard
.getThreadPolicy().onWriteToDisk();
StrictModeActivity.java
57
import dalvik.system.
BlockGuard
;
140
BlockGuard
.Policy policy =
BlockGuard
.getThreadPolicy();
/libcore/ojluni/src/main/java/sun/nio/ch/
DatagramDispatcher.java
28
import dalvik.system.
BlockGuard
;
41
BlockGuard
.getThreadPolicy().onNetwork();
46
BlockGuard
.getThreadPolicy().onNetwork();
51
BlockGuard
.getThreadPolicy().onNetwork();
56
BlockGuard
.getThreadPolicy().onNetwork();
SocketDispatcher.java
28
import dalvik.system.
BlockGuard
;
42
BlockGuard
.getThreadPolicy().onNetwork();
47
BlockGuard
.getThreadPolicy().onNetwork();
52
BlockGuard
.getThreadPolicy().onNetwork();
57
BlockGuard
.getThreadPolicy().onNetwork();
FileDispatcherImpl.java
28
import dalvik.system.
BlockGuard
;
45
BlockGuard
.getThreadPolicy().onReadFromDisk();
52
BlockGuard
.getThreadPolicy().onReadFromDisk();
57
BlockGuard
.getThreadPolicy().onReadFromDisk();
62
BlockGuard
.getThreadPolicy().onWriteToDisk();
69
BlockGuard
.getThreadPolicy().onWriteToDisk();
76
BlockGuard
.getThreadPolicy().onWriteToDisk();
81
BlockGuard
.getThreadPolicy().onWriteToDisk();
86
BlockGuard
.getThreadPolicy().onWriteToDisk();
91
BlockGuard
.getThreadPolicy().onReadFromDisk()
[
all
...]
FileChannelImpl.java
39
import dalvik.system.
BlockGuard
;
269
BlockGuard
.getThreadPolicy().onWriteToDisk();
296
BlockGuard
.getThreadPolicy().onReadFromDisk();
453
BlockGuard
.getThreadPolicy().onWriteToDisk();
914
BlockGuard
.getThreadPolicy().onReadFromDisk();
[
all
...]
/libcore/ojluni/src/main/java/java/io/
UnixFileSystem.java
30
import dalvik.system.
BlockGuard
;
169
BlockGuard
.getThreadPolicy().onReadFromDisk();
240
BlockGuard
.getThreadPolicy().onReadFromDisk();
249
BlockGuard
.getThreadPolicy().onReadFromDisk();
256
BlockGuard
.getThreadPolicy().onReadFromDisk();
263
BlockGuard
.getThreadPolicy().onReadFromDisk();
270
BlockGuard
.getThreadPolicy().onWriteToDisk();
279
BlockGuard
.getThreadPolicy().onWriteToDisk();
293
BlockGuard
.getThreadPolicy().onWriteToDisk();
300
BlockGuard
.getThreadPolicy().onReadFromDisk()
[
all
...]
FileInputStream.java
31
import dalvik.system.
BlockGuard
;
145
BlockGuard
.getThreadPolicy().onReadFromDisk();
287
BlockGuard
.getThreadPolicy().onReadFromDisk();
FileOutputStream.java
31
import dalvik.system.
BlockGuard
;
220
BlockGuard
.getThreadPolicy().onWriteToDisk();
/libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java
39
public final class
BlockGuard
{
155
private
BlockGuard
() {}
/libcore/luni/src/test/java/dalvik/system/
BlockGuardTest.java
32
private
BlockGuard
.Policy oldPolicy;
37
oldPolicy =
BlockGuard
.getThreadPolicy();
38
BlockGuard
.setThreadPolicy(recorder);
43
BlockGuard
.setThreadPolicy(oldPolicy);
142
public static class RecordingPolicy implements
BlockGuard
.Policy {
/libcore/ojluni/src/main/java/java/net/
Inet6AddressImpl.java
30
import dalvik.system.
BlockGuard
;
86
BlockGuard
.getThreadPolicy().onNetwork();
131
BlockGuard
.getThreadPolicy().onNetwork();
174
BlockGuard
.getThreadPolicy().onNetwork();
SocketOutputStream.java
34
import dalvik.system.
BlockGuard
;
111
BlockGuard
.getThreadPolicy().onNetwork();
SocketInputStream.java
34
import dalvik.system.
BlockGuard
;
150
BlockGuard
.getThreadPolicy().onNetwork();
AbstractPlainSocketImpl.java
34
import dalvik.system.
BlockGuard
;
333
BlockGuard
.getThreadPolicy().onNetwork();
388
BlockGuard
.getThreadPolicy().onNetwork();
AbstractPlainDatagramSocketImpl.java
33
import dalvik.system.
BlockGuard
;
117
BlockGuard
.getThreadPolicy().onNetwork();
/frameworks/base/core/java/android/os/
StrictMode.java
39
import dalvik.system.
BlockGuard
;
887
//
BlockGuard
, we also need to keep a native thread-local in
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java
21
import dalvik.system.
BlockGuard
;
552
BlockGuard
.Policy originalPolicy =
BlockGuard
.getThreadPolicy();
554
BlockGuard
.setThreadPolicy(
BlockGuard
.LAX_POLICY);
561
BlockGuard
.setThreadPolicy(originalPolicy);
/frameworks/base/core/java/android/app/
SharedPreferencesImpl.java
31
import dalvik.system.
BlockGuard
;
175
BlockGuard
.getThreadPolicy().onReadFromDisk();
203
BlockGuard
.getThreadPolicy().onReadFromDisk();
/external/conscrypt/src/platform/java/org/conscrypt/
Platform.java
25
import dalvik.system.
BlockGuard
;
296
*
BlockGuard
functions.
300
BlockGuard
.getThreadPolicy().onNetwork();
/libcore/luni/src/test/java/libcore/java/net/
URLTest.java
26
import dalvik.system.
BlockGuard
;
720
final
BlockGuard
.Policy oldPolicy =
BlockGuard
.getThreadPolicy();
721
BlockGuard
.setThreadPolicy(new
BlockGuard
.Policy() {
724
fail("
Blockguard
.Policy.onWriteToDisk");
729
fail("
Blockguard
.Policy.onReadFromDisk");
734
fail("
Blockguard
.Policy.onNetwork");
750
BlockGuard
.setThreadPolicy(oldPolicy);
/external/conscrypt/src/compat/java/org/conscrypt/
Platform.java
21
import dalvik.system.
BlockGuard
;
475
*
BlockGuard
functions.
479
BlockGuard
.getThreadPolicy().onNetwork();
Completed in 1461 milliseconds
1
2