Home
last modified time | relevance | path

Searched refs:Temperature (Results 1 – 3 of 3) sorted by relevance

/system/iorap/tests/src/binder/
Dapp_launch_event_test.cc29 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/
Dapp_launch_event.h47 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/
Devent_manager.cc172 AppLaunchEvent::Temperature temperature = event.temperature; in OnNewEvent()
173 if (temperature != AppLaunchEvent::Temperature::kCold) { in OnNewEvent()