/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 38 import dalvik.system.BlockGuard; 62 BlockGuard.getThreadPolicy().onNetwork(); in accept() 71 BlockGuard.getThreadPolicy().onReadFromDisk(); in access() 72 BlockGuard.getVmPolicy().onPathAccess(path); in access() 78 BlockGuard.getThreadPolicy().onWriteToDisk(); in chmod() 79 BlockGuard.getVmPolicy().onPathAccess(path); in chmod() 85 BlockGuard.getThreadPolicy().onWriteToDisk(); in chown() 86 BlockGuard.getVmPolicy().onPathAccess(path); in chown() 101 BlockGuard.getThreadPolicy().onNetwork(); in close() 137 if (!skipGuard) BlockGuard.getThreadPolicy().onNetwork(); in connect() [all …]
|
D | IoTracker.java | 19 import dalvik.system.BlockGuard; 35 BlockGuard.getThreadPolicy().onUnbufferedIO(); in trackIo()
|
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 33 import dalvik.system.BlockGuard; 176 BlockGuard.getThreadPolicy().onReadFromDisk(); in canonicalize() 177 BlockGuard.getVmPolicy().onPathAccess(path); in canonicalize() 250 BlockGuard.getThreadPolicy().onReadFromDisk(); in getBooleanAttributes() 251 BlockGuard.getVmPolicy().onPathAccess(f.getPath()); in getBooleanAttributes() 289 BlockGuard.getThreadPolicy().onReadFromDisk(); in getLastModifiedTime() 290 BlockGuard.getVmPolicy().onPathAccess(f.getPath()); in getLastModifiedTime() 306 BlockGuard.getThreadPolicy().onWriteToDisk(); in setPermission() 307 BlockGuard.getVmPolicy().onPathAccess(f.getPath()); in setPermission() 315 BlockGuard.getThreadPolicy().onWriteToDisk(); in createFileExclusively() [all …]
|
D | FileInputStream.java | 34 import dalvik.system.BlockGuard; 359 BlockGuard.getThreadPolicy().onReadFromDisk(); in skip()
|
D | FileOutputStream.java | 37 import dalvik.system.BlockGuard;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileDispatcherImpl.java | 28 import dalvik.system.BlockGuard; 52 BlockGuard.getThreadPolicy().onReadFromDisk(); in read() 60 BlockGuard.getThreadPolicy().onReadFromDisk(); in pread() 66 BlockGuard.getThreadPolicy().onReadFromDisk(); in readv() 72 BlockGuard.getThreadPolicy().onWriteToDisk(); in write() 80 BlockGuard.getThreadPolicy().onWriteToDisk(); in pwrite() 88 BlockGuard.getThreadPolicy().onWriteToDisk(); in writev() 94 BlockGuard.getThreadPolicy().onWriteToDisk(); in force() 100 BlockGuard.getThreadPolicy().onWriteToDisk(); in truncate() 106 BlockGuard.getThreadPolicy().onReadFromDisk(); in size() [all …]
|
D | SocketDispatcher.java | 28 import dalvik.system.BlockGuard; 42 BlockGuard.getThreadPolicy().onNetwork(); in read() 48 BlockGuard.getThreadPolicy().onNetwork(); in readv() 54 BlockGuard.getThreadPolicy().onNetwork(); in write() 60 BlockGuard.getThreadPolicy().onNetwork(); in writev()
|
D | DatagramDispatcher.java | 28 import dalvik.system.BlockGuard; 47 BlockGuard.getThreadPolicy().onNetwork(); in read() 53 BlockGuard.getThreadPolicy().onNetwork(); in readv() 59 BlockGuard.getThreadPolicy().onNetwork(); in write() 65 BlockGuard.getThreadPolicy().onNetwork(); in writev()
|
D | FileChannelImpl.java | 53 import dalvik.system.BlockGuard; 304 BlockGuard.getThreadPolicy().onWriteToDisk(); in position() 335 BlockGuard.getThreadPolicy().onReadFromDisk(); in position() 477 BlockGuard.getThreadPolicy().onWriteToDisk(); in transferToDirectlyInternal() 982 BlockGuard.getThreadPolicy().onReadFromDisk(); in map()
|
D | Net.java | 29 import dalvik.system.BlockGuard; 462 BlockGuard.getThreadPolicy().onNetwork();
|
D | DatagramChannelImpl.java | 38 import dalvik.system.BlockGuard; 439 BlockGuard.getThreadPolicy().onNetwork(); in receive() 503 BlockGuard.getThreadPolicy().onNetwork(); in send()
|
D | SocketChannelImpl.java | 55 import dalvik.system.BlockGuard; 759 BlockGuard.getThreadPolicy().onNetwork(); in finishConnect()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 54 import dalvik.system.BlockGuard; 73 @Mock private BlockGuard.Policy mockThreadPolicy; 74 @Mock private BlockGuard.VmPolicy mockVmPolicy; 76 private BlockGuard.Policy savedThreadPolicy; 77 private BlockGuard.VmPolicy savedVmPolicy; 82 savedThreadPolicy = BlockGuard.getThreadPolicy(); in setUp() 83 savedVmPolicy = BlockGuard.getVmPolicy(); in setUp() 84 BlockGuard.setThreadPolicy(mockThreadPolicy); in setUp() 85 BlockGuard.setVmPolicy(mockVmPolicy); in setUp() 90 BlockGuard.setVmPolicy(savedVmPolicy); in tearDown() [all …]
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 19 import dalvik.system.BlockGuard; 130 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in test_classLoader_exceptionDuringLoading() 131 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in test_classLoader_exceptionDuringLoading() 172 BlockGuard.setThreadPolicy(policy); in test_classLoader_exceptionDuringLoading()
|
D | BlockGuardTest.java | 33 import dalvik.system.BlockGuard; 37 private BlockGuard.Policy oldPolicy; 43 oldPolicy = BlockGuard.getThreadPolicy(); in setUp() 44 BlockGuard.setThreadPolicy(recorder); in setUp() 49 BlockGuard.setThreadPolicy(oldPolicy); in tearDown() 308 private static class RecordingPolicy implements BlockGuard.Policy {
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketOutputStream.java | 34 import dalvik.system.BlockGuard; 116 BlockGuard.getThreadPolicy().onNetwork(); in socketWrite()
|
D | SocketInputStream.java | 34 import dalvik.system.BlockGuard; 175 BlockGuard.getThreadPolicy().onNetwork(); in read()
|
D | Inet6AddressImpl.java | 32 import dalvik.system.BlockGuard; 115 BlockGuard.getThreadPolicy().onNetwork(); in lookupHostByName() 162 BlockGuard.getThreadPolicy().onNetwork(); in getHostByAddr()
|
D | AbstractPlainSocketImpl.java | 35 import dalvik.system.BlockGuard; 389 BlockGuard.getThreadPolicy().onNetwork(); in doConnect() 450 BlockGuard.getThreadPolicy().onNetwork(); in accept()
|
D | AbstractPlainDatagramSocketImpl.java | 35 import dalvik.system.BlockGuard; 134 BlockGuard.getThreadPolicy().onNetwork(); in connect()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BlockGuard.java | 39 public final class BlockGuard { class 257 private BlockGuard() {} in BlockGuard() method in BlockGuard
|
/libcore/mmodules/intracoreapi/api/intra/ |
D | last-api.txt | 12 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public final class BlockGuard { 13 ….CorePlatformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThread… 16 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
|
D | current-api.txt | 52 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public final class BlockGuard { 53 ….CorePlatformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThread… 56 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 33 import dalvik.system.BlockGuard; 775 BlockGuard.getThreadPolicy().onExplicitGc(); in gc()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 38 import dalvik.system.BlockGuard; 913 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo() 914 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo() 953 BlockGuard.setThreadPolicy(oldPolicy); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
|