Lines Matching refs:os
303 inline std::ostream& operator<<(std::ostream& os, const AppLaunchEvent::Type& type) {
306 os << "kUninitialized";
309 os << "kIntentStarted";
312 os << "kIntentFailed";
315 os << "kActivityLaunched";
318 os << "kActivityLaunchCancelled";
321 os << "kActivityLaunchFinished";
324 os << "(unknown)";
326 return os;
329 inline std::ostream& operator<<(std::ostream& os, const AppLaunchEvent::Temperature& type) {
332 os << "kUninitialized";
335 os << "kCold";
338 os << "kWarm";
341 os << "kHot";
344 os << "(unknown)";
346 return os;
349 inline std::ostream& operator<<(std::ostream& os, const AppLaunchEvent& e) {
350 os << "AppLaunchEvent{";
351 os << "type=" << e.type << ",";
352 os << "sequence_id=" << e.sequence_id << ",";
354 os << "intent_proto=";
356 os << "(nullptr)";
358 os << "(action=" << e.intent_proto->action() << ",";
359 os << "component=";
362 os << e.intent_proto->component().package_name() << "/"
365 os << "(no component)";
367 os << ")";
369 os << ",";
371 os << "temperature=" << e.temperature << ",";
372 os << ",";
374 os << "activity_record_proto=";
376 os << "(nullptr)";
379 os << "'" << e.activity_record_proto->identifier().title() << "'";
381 os << "}";
383 return os;