Home
last modified time | relevance | path

Searched refs:SetIOAllowed (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/threading/
Dthread_restrictions.cc122 : was_allowed_(SetIOAllowed(true)) {} in ScopedAllowIO()
125 SetIOAllowed(was_allowed_); in ~ScopedAllowIO()
129 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() function in base::ThreadRestrictions
Dthread_restrictions.h428 static bool SetIOAllowed(bool allowed);
446 static bool SetIOAllowed(bool allowed) { return true; } in SetIOAllowed() function
/external/libchrome/dbus/
Dsignal_sender_verification_unittest.cc34 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()
Dobject_manager_unittest.cc66 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
105 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
Dend_to_end_async_unittest.cc45 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
127 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
Dproperty_unittest.cc58 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
101 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
/external/libchrome/base/files/
Dfile_proxy_unittest.cc150 bool prev = ThreadRestrictions::SetIOAllowed(false); in TEST_F()
158 ThreadRestrictions::SetIOAllowed(prev); in TEST_F()
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc477 ThreadRestrictions::SetIOAllowed(task.traits.may_block()); in RunOrSkipTask()
538 ThreadRestrictions::SetIOAllowed(previous_io_allowed); in RunOrSkipTask()
Dtask_scheduler_impl_unittest.cc70 const bool previous_value = ThreadRestrictions::SetIOAllowed(true); in GetIOAllowed()
71 ThreadRestrictions::SetIOAllowed(previous_value); in GetIOAllowed()
Dtask_tracker_unittest.cc474 ThreadRestrictions::SetIOAllowed(false); in TEST_P()
485 ThreadRestrictions::SetIOAllowed(true); in TEST_P()