Home
last modified time | relevance | path

Searched refs:getThreadPolicy (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java58 BlockGuard.getThreadPolicy().onNetwork(); in accept()
67 BlockGuard.getThreadPolicy().onReadFromDisk(); in access()
72 BlockGuard.getThreadPolicy().onWriteToDisk(); in chmod()
77 BlockGuard.getThreadPolicy().onWriteToDisk(); in chown()
91 BlockGuard.getThreadPolicy().onNetwork(); in close()
117 BlockGuard.getThreadPolicy().onNetwork(); in connect()
123 BlockGuard.getThreadPolicy().onNetwork(); in connect()
128 BlockGuard.getThreadPolicy().onWriteToDisk(); in fchmod()
133 BlockGuard.getThreadPolicy().onWriteToDisk(); in fchown()
140 BlockGuard.getThreadPolicy().onWriteToDisk(); in fdatasync()
[all …]
DIoTracker.java35 BlockGuard.getThreadPolicy().onUnbufferedIO(); in trackIo()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDispatcherImpl.java52 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()
114 BlockGuard.getThreadPolicy().onWriteToDisk(); in lock()
[all …]
DSocketDispatcher.java42 BlockGuard.getThreadPolicy().onNetwork(); in read()
48 BlockGuard.getThreadPolicy().onNetwork(); in readv()
54 BlockGuard.getThreadPolicy().onNetwork(); in write()
60 BlockGuard.getThreadPolicy().onNetwork(); in writev()
DDatagramDispatcher.java41 BlockGuard.getThreadPolicy().onNetwork(); in read()
46 BlockGuard.getThreadPolicy().onNetwork(); in readv()
51 BlockGuard.getThreadPolicy().onNetwork(); in write()
56 BlockGuard.getThreadPolicy().onNetwork(); in writev()
DFileChannelImpl.java298 BlockGuard.getThreadPolicy().onWriteToDisk(); in position()
325 BlockGuard.getThreadPolicy().onReadFromDisk(); in position()
465 BlockGuard.getThreadPolicy().onWriteToDisk(); in transferToDirectlyInternal()
985 BlockGuard.getThreadPolicy().onReadFromDisk(); in map()
DDatagramChannelImpl.java448 BlockGuard.getThreadPolicy().onNetwork(); in receive()
511 BlockGuard.getThreadPolicy().onNetwork(); in send()
DNet.java462 BlockGuard.getThreadPolicy().onNetwork();
DSocketChannelImpl.java759 BlockGuard.getThreadPolicy().onNetwork(); in finishConnect()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java169 BlockGuard.getThreadPolicy().onReadFromDisk(); in canonicalize()
241 BlockGuard.getThreadPolicy().onReadFromDisk(); in getBooleanAttributes()
251 BlockGuard.getThreadPolicy().onReadFromDisk(); in checkAccess()
258 BlockGuard.getThreadPolicy().onReadFromDisk(); in getLastModifiedTime()
265 BlockGuard.getThreadPolicy().onReadFromDisk(); in getLength()
272 BlockGuard.getThreadPolicy().onWriteToDisk(); in setPermission()
280 BlockGuard.getThreadPolicy().onWriteToDisk(); in createFileExclusively()
294 BlockGuard.getThreadPolicy().onWriteToDisk(); in delete()
302 BlockGuard.getThreadPolicy().onReadFromDisk(); in list()
309 BlockGuard.getThreadPolicy().onWriteToDisk(); in createDirectory()
[all …]
DFileInputStream.java163 BlockGuard.getThreadPolicy().onReadFromDisk(); in FileInputStream()
343 BlockGuard.getThreadPolicy().onReadFromDisk(); in skip()
DFileOutputStream.java236 BlockGuard.getThreadPolicy().onWriteToDisk(); in FileOutputStream()
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java144 public static Policy getThreadPolicy() { in getThreadPolicy() method in BlockGuard
/libcore/ojluni/src/main/java/java/net/
DSocketOutputStream.java116 BlockGuard.getThreadPolicy().onNetwork(); in socketWrite()
DInet6AddressImpl.java117 BlockGuard.getThreadPolicy().onNetwork(); in lookupHostByName()
163 BlockGuard.getThreadPolicy().onNetwork(); in getHostByAddr()
DAbstractPlainSocketImpl.java389 BlockGuard.getThreadPolicy().onNetwork(); in doConnect()
450 BlockGuard.getThreadPolicy().onNetwork(); in accept()
DSocketInputStream.java175 BlockGuard.getThreadPolicy().onNetwork(); in read()
DAbstractPlainDatagramSocketImpl.java132 BlockGuard.getThreadPolicy().onNetwork(); in connect()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java66 savedThreadPolicy = BlockGuard.getThreadPolicy(); in setUp()
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java130 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in test_classLoader_exceptionDuringLoading()
DBlockGuardTest.java43 oldPolicy = BlockGuard.getThreadPolicy(); in setUp()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java893 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()