Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java63 BlockGuard.getThreadPolicy().onNetwork(); in accept()
68 BlockGuard.getThreadPolicy().onReadFromDisk(); in access()
73 BlockGuard.getThreadPolicy().onWriteToDisk(); in chmod()
78 BlockGuard.getThreadPolicy().onWriteToDisk(); in chown()
92 BlockGuard.getThreadPolicy().onNetwork(); in close()
111 BlockGuard.getThreadPolicy().onNetwork(); in connect()
116 BlockGuard.getThreadPolicy().onWriteToDisk(); in fchmod()
121 BlockGuard.getThreadPolicy().onWriteToDisk(); in fchown()
128 BlockGuard.getThreadPolicy().onWriteToDisk(); in fdatasync()
133 BlockGuard.getThreadPolicy().onReadFromDisk(); in fstat()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDispatcherImpl.java45 BlockGuard.getThreadPolicy().onReadFromDisk(); in read()
52 BlockGuard.getThreadPolicy().onReadFromDisk(); in pread()
57 BlockGuard.getThreadPolicy().onReadFromDisk(); in readv()
62 BlockGuard.getThreadPolicy().onWriteToDisk(); in write()
69 BlockGuard.getThreadPolicy().onWriteToDisk(); in pwrite()
76 BlockGuard.getThreadPolicy().onWriteToDisk(); in writev()
81 BlockGuard.getThreadPolicy().onWriteToDisk(); in force()
86 BlockGuard.getThreadPolicy().onWriteToDisk(); in truncate()
91 BlockGuard.getThreadPolicy().onReadFromDisk(); in size()
98 BlockGuard.getThreadPolicy().onWriteToDisk(); in lock()
[all …]
DSocketDispatcher.java42 BlockGuard.getThreadPolicy().onNetwork(); in read()
47 BlockGuard.getThreadPolicy().onNetwork(); in readv()
52 BlockGuard.getThreadPolicy().onNetwork(); in write()
57 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.java269 BlockGuard.getThreadPolicy().onWriteToDisk(); in position()
296 BlockGuard.getThreadPolicy().onReadFromDisk(); in position()
453 BlockGuard.getThreadPolicy().onWriteToDisk(); in transferToDirectly()
914 BlockGuard.getThreadPolicy().onReadFromDisk(); in map()
DDatagramChannelImpl.java413 BlockGuard.getThreadPolicy().onNetwork(); in receive()
476 BlockGuard.getThreadPolicy().onNetwork(); in send()
DNet.java473 BlockGuard.getThreadPolicy().onNetwork();
DSocketChannelImpl.java739 BlockGuard.getThreadPolicy().onNetwork(); in finishConnect()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java169 BlockGuard.getThreadPolicy().onReadFromDisk(); in canonicalize()
240 BlockGuard.getThreadPolicy().onReadFromDisk(); in getBooleanAttributes()
249 BlockGuard.getThreadPolicy().onReadFromDisk(); in checkAccess()
256 BlockGuard.getThreadPolicy().onReadFromDisk(); in getLastModifiedTime()
263 BlockGuard.getThreadPolicy().onReadFromDisk(); in getLength()
270 BlockGuard.getThreadPolicy().onWriteToDisk(); in setPermission()
279 BlockGuard.getThreadPolicy().onWriteToDisk(); in createFileExclusively()
293 BlockGuard.getThreadPolicy().onWriteToDisk(); in delete()
300 BlockGuard.getThreadPolicy().onReadFromDisk(); in list()
307 BlockGuard.getThreadPolicy().onWriteToDisk(); in createDirectory()
[all …]
DFileInputStream.java145 BlockGuard.getThreadPolicy().onReadFromDisk(); in FileInputStream()
287 BlockGuard.getThreadPolicy().onReadFromDisk(); in skip()
DFileOutputStream.java220 BlockGuard.getThreadPolicy().onWriteToDisk(); in FileOutputStream()
/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java86 BlockGuard.getThreadPolicy().onNetwork(); in lookupHostByName()
131 BlockGuard.getThreadPolicy().onNetwork(); in getHostByAddr()
174 BlockGuard.getThreadPolicy().onNetwork(); in isReachable()
DSocketOutputStream.java111 BlockGuard.getThreadPolicy().onNetwork(); in socketWrite()
DSocketInputStream.java150 BlockGuard.getThreadPolicy().onNetwork(); in read()
DAbstractPlainSocketImpl.java333 BlockGuard.getThreadPolicy().onNetwork(); in doConnect()
388 BlockGuard.getThreadPolicy().onNetwork(); in accept()
DAbstractPlainDatagramSocketImpl.java117 BlockGuard.getThreadPolicy().onNetwork(); in connect()
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java138 public static Policy getThreadPolicy() { in getThreadPolicy() method in BlockGuard
/libcore/luni/src/test/java/dalvik/system/
DBlockGuardTest.java37 oldPolicy = BlockGuard.getThreadPolicy(); in setUp()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1PRNG_SecureRandomImpl.java552 BlockGuard.Policy originalPolicy = BlockGuard.getThreadPolicy(); in getRandomBytes()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java720 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()