Home
last modified time | relevance | path

Searched refs:is_locked_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/base/memory/
Ddiscardable_memory_ashmem.cc19 is_locked_(false) { in DiscardableMemoryAshmem()
24 if (is_locked_) in ~DiscardableMemoryAshmem()
35 DCHECK(!is_locked_); in Lock()
41 is_locked_ = true; in Lock()
47 DCHECK(is_locked_); in Unlock()
49 is_locked_ = false; in Unlock()
53 DCHECK(is_locked_); in Memory()
Ddiscardable_memory_emulated.cc35 is_locked_(false) { in DiscardableMemoryEmulated()
40 if (is_locked_) in ~DiscardableMemoryEmulated()
66 DCHECK(!is_locked_); in Lock()
72 is_locked_ = true; in Lock()
78 DCHECK(is_locked_); in Unlock()
80 is_locked_ = false; in Unlock()
84 DCHECK(is_locked_); in Memory()
Ddiscardable_memory_mac.cc46 is_locked_(false) { in DiscardableMemoryMac()
53 if (is_locked_) in ~DiscardableMemoryMac()
60 DCHECK(!is_locked_); in Lock()
66 is_locked_ = true; in Lock()
72 DCHECK(is_locked_); in Unlock()
74 is_locked_ = false; in Unlock()
78 DCHECK(is_locked_); in Memory()
151 bool is_locked_; member in base::__anone936e73e0111::DiscardableMemoryMac
Ddiscardable_memory_manager_unittest.cc17 TestAllocationImpl() : is_allocated_(false), is_locked_(false) {} in TestAllocationImpl()
18 virtual ~TestAllocationImpl() { DCHECK(!is_locked_); } in ~TestAllocationImpl()
24 DCHECK(!is_locked_); in AllocateAndAcquireLock()
25 is_locked_ = true; in AllocateAndAcquireLock()
29 DCHECK(is_locked_); in ReleaseLock()
30 is_locked_ = false; in ReleaseLock()
37 bool is_locked() const { return is_locked_; } in is_locked()
41 bool is_locked_; member in base::__anon9cdd8a870111::TestAllocationImpl
Ddiscardable_memory_emulated.h46 bool is_locked_; variable
Ddiscardable_memory_ashmem.h46 bool is_locked_; variable
/external/chromium_org/chrome/browser/notifications/
Dscreen_lock_notification_blocker.cc17 is_locked_(false) { in ScreenLockNotificationBlocker()
24 bool was_locked = is_locked_; in CheckState()
25 is_locked_ = CheckIdleStateIsLocked(); in CheckState()
26 if (is_locked_ != was_locked) in CheckState()
29 if (is_locked_) { in CheckState()
39 return !is_locked_; in ShouldShowNotificationAsPopup()
Dscreen_lock_notification_blocker.h21 bool is_locked() const { return is_locked_; } in is_locked()
29 bool is_locked_;