Searched refs:Temperature (Results 1 – 3 of 3) sorted by relevance
/system/iorap/tests/src/binder/ |
D | app_launch_event_test.cc | 29 using Temperature = AppLaunchEvent::Temperature; typedef 98 Temperature temperature, in MakeActivityLaunched() 118 Temperature::kUninitialized, in MakeActivityLaunchCancelled() 131 Temperature::kUninitialized, in MakeActivityLaunchFinished() 159 EXPECT_EQ((MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord())), in TEST() 160 (MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord()))); in TEST() 161 EXPECT_NE((MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord())), in TEST() 162 (MakeActivityLaunched(3, Temperature::kCold, MakeDummyActivityRecord()))); in TEST() 163 EXPECT_NE((MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord())), in TEST() 164 (MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord("other title")))); in TEST() [all …]
|
/system/iorap/include/binder/ |
D | app_launch_event.h | 47 enum class Temperature : int32_t { enum 59 Temperature temperature{Temperature::kUninitialized}; 67 Temperature temperature = Temperature::kUninitialized, 103 temperature = static_cast<Temperature>(temperature_int); in readFromParcel() 329 inline std::ostream& operator<<(std::ostream& os, const AppLaunchEvent::Temperature& type) { 331 case AppLaunchEvent::Temperature::kUninitialized: 334 case AppLaunchEvent::Temperature::kCold: 337 case AppLaunchEvent::Temperature::kWarm: 340 case AppLaunchEvent::Temperature::kHot:
|
/system/iorap/src/manager/ |
D | event_manager.cc | 172 AppLaunchEvent::Temperature temperature = event.temperature; in OnNewEvent() 173 if (temperature != AppLaunchEvent::Temperature::kCold) { in OnNewEvent()
|