Searched refs:SetIOAllowed (Results 1 – 10 of 10) sorted by relevance
122 : was_allowed_(SetIOAllowed(true)) {} in ScopedAllowIO()125 SetIOAllowed(was_allowed_); in ~ScopedAllowIO()129 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() function in base::ThreadRestrictions
428 static bool SetIOAllowed(bool allowed);446 static bool SetIOAllowed(bool allowed) { return true; } in SetIOAllowed() function
34 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()107 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()164 base::ThreadRestrictions::SetIOAllowed(true); in SafeServiceStop()166 base::ThreadRestrictions::SetIOAllowed(false); in SafeServiceStop()
66 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()105 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
45 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()127 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
58 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()101 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
150 bool prev = ThreadRestrictions::SetIOAllowed(false); in TEST_F()158 ThreadRestrictions::SetIOAllowed(prev); in TEST_F()
477 ThreadRestrictions::SetIOAllowed(task.traits.may_block()); in RunOrSkipTask()538 ThreadRestrictions::SetIOAllowed(previous_io_allowed); in RunOrSkipTask()
70 const bool previous_value = ThreadRestrictions::SetIOAllowed(true); in GetIOAllowed()71 ThreadRestrictions::SetIOAllowed(previous_value); in GetIOAllowed()
474 ThreadRestrictions::SetIOAllowed(false); in TEST_P()485 ThreadRestrictions::SetIOAllowed(true); in TEST_P()