Home
last modified time | relevance | path

Searched refs:setThreadPolicy (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java131 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in test_classLoader_exceptionDuringLoading()
172 BlockGuard.setThreadPolicy(policy); in test_classLoader_exceptionDuringLoading()
DBlockGuardTest.java44 BlockGuard.setThreadPolicy(recorder); in setUp()
49 BlockGuard.setThreadPolicy(oldPolicy); in tearDown()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java84 BlockGuard.setThreadPolicy(mockThreadPolicy); in setUp()
91 BlockGuard.setThreadPolicy(savedThreadPolicy); in tearDown()
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java228 public static void setThreadPolicy(@NonNull Policy policy) { in setThreadPolicy() method in BlockGuard
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java914 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo()
953 BlockGuard.setThreadPolicy(oldPolicy); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt541 method public static void setThreadPolicy(@NonNull dalvik.system.BlockGuard.Policy);