Searched refs:MemoryState (Results 1 – 12 of 12) sorted by relevance
11 const char* MemoryStateToString(MemoryState state) { in MemoryStateToString()13 case MemoryState::UNKNOWN: in MemoryStateToString()15 case MemoryState::NORMAL: in MemoryStateToString()17 case MemoryState::THROTTLED: in MemoryStateToString()19 case MemoryState::SUSPENDED: in MemoryStateToString()
17 void OnMemoryStateChange(MemoryState state) override { state_ = state; } in OnMemoryStateChange()21 MemoryState state() const { return state_; } in state()25 MemoryState state_ = MemoryState::UNKNOWN;39 registry->Notify(MemoryState::THROTTLED); in TEST()41 ASSERT_EQ(MemoryState::THROTTLED, client.state()); in TEST()
33 enum class MemoryState : int { enum48 const int kMemoryStateMax = static_cast<int>(MemoryState::SUSPENDED) + 1;51 BASE_EXPORT const char* MemoryStateToString(MemoryState state);66 virtual void OnMemoryStateChange(MemoryState state) {} in OnMemoryStateChange()
31 MemoryState MemoryCoordinatorProxy::GetCurrentMemoryState() const { in GetCurrentMemoryState()33 return MemoryState::NORMAL; in GetCurrentMemoryState()
21 virtual MemoryState GetCurrentMemoryState() const = 0;36 MemoryState GetCurrentMemoryState() const;
40 void Notify(MemoryState state);
32 void MemoryCoordinatorClientRegistry::Notify(MemoryState state) { in Notify()
92 enum class MemoryState : uint32_t { enum110 support::little_t<MemoryState> State;
127 void yaml::ScalarBitSetTraits<MemoryState>::bitset(IO &IO, MemoryState &State) { in bitset()129 IO.bitSetCase(State, #NATIVENAME, MemoryState::NAME); in bitset()252 mapRequiredAs<MemoryState>(IO, "State", Info.State); in mapping()
252 LLVM_YAML_DECLARE_BITSET_TRAITS(llvm::minidump::MemoryState)
107 enum MemoryState : uint8_t { enum
103 enum MemoryState : uint8_t { enum