OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlockGuard
(Results
1 - 10
of
10
) sorted by null
/libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java
19
import dalvik.system.
BlockGuard
;
29
* Informs
BlockGuard
of any activity it should be aware of.
54
BlockGuard
.getThreadPolicy().onNetwork();
65
BlockGuard
.getThreadPolicy().onNetwork();
84
BlockGuard
.getThreadPolicy().onNetwork();
91
BlockGuard
.getThreadPolicy().onWriteToDisk();
96
BlockGuard
.getThreadPolicy().onWriteToDisk();
101
BlockGuard
.getThreadPolicy().onWriteToDisk();
106
BlockGuard
.getThreadPolicy().onReadFromDisk();
108
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/dalvik/src/main/java/dalvik/system/
BlockGuard.java
39
public final class
BlockGuard
{
155
private
BlockGuard
() {}
/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/os/
StrictMode.java
36
import dalvik.system.
BlockGuard
;
771
//
BlockGuard
, we also need to keep a native thread-local in
781
// Sets the policy in Dalvik/libcore (
BlockGuard
)
784
BlockGuard
.setThreadPolicy(
BlockGuard
.LAX_POLICY);
787
final
BlockGuard
.Policy policy =
BlockGuard
.getThreadPolicy();
793
BlockGuard
.setThreadPolicy(androidPolicy);
809
public static class StrictModeViolation extends
BlockGuard
.BlockGuardPolicyException {
859
return
BlockGuard
.getThreadPolicy().getPolicyMask()
[
all
...]
/frameworks/base/core/java/android/app/
SharedPreferencesImpl.java
27
import dalvik.system.
BlockGuard
;
175
BlockGuard
.getThreadPolicy().onReadFromDisk();
203
BlockGuard
.getThreadPolicy().onReadFromDisk();
/libcore/luni/src/main/java/java/net/
InetAddress.java
20
import dalvik.system.
BlockGuard
;
385
BlockGuard
.getThreadPolicy().onNetwork();
438
BlockGuard
.getThreadPolicy().onNetwork();
[
all
...]
/libcore/crypto/src/main/java/org/conscrypt/
OpenSSLSocketImpl.java
19
import dalvik.system.
BlockGuard
;
682
BlockGuard
.getThreadPolicy().onNetwork();
724
BlockGuard
.getThreadPolicy().onNetwork();
[
all
...]
/frameworks/base/core/java/android/database/sqlite/
SQLiteConnection.java
19
import dalvik.system.
BlockGuard
;
[
all
...]
Completed in 965 milliseconds