Searched refs:setThreadPolicy (Results 1 – 6 of 6) sorted by relevance
131 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in test_classLoader_exceptionDuringLoading()172 BlockGuard.setThreadPolicy(policy); in test_classLoader_exceptionDuringLoading()
44 BlockGuard.setThreadPolicy(recorder); in setUp()49 BlockGuard.setThreadPolicy(oldPolicy); in tearDown()
84 BlockGuard.setThreadPolicy(mockThreadPolicy); in setUp()91 BlockGuard.setThreadPolicy(savedThreadPolicy); in tearDown()
228 public static void setThreadPolicy(@NonNull Policy policy) { in setThreadPolicy() method in BlockGuard
914 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo()953 BlockGuard.setThreadPolicy(oldPolicy); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
541 method public static void setThreadPolicy(@NonNull dalvik.system.BlockGuard.Policy);