Home
last modified time | relevance | path

Searched refs:EventType (Results 1 – 16 of 16) sorted by relevance

/system/extras/simpleperf/
Devent_type.cpp32 static const std::vector<EventType> static_event_type_array = {
36 static const std::vector<EventType> GetTracepointEventTypes() { in GetTracepointEventTypes()
37 std::vector<EventType> result; in GetTracepointEventTypes()
57 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id)); in GetTracepointEventTypes()
61 [](const EventType& type1, const EventType& type2) { return type1.name < type2.name; }); in GetTracepointEventTypes()
65 const std::vector<EventType>& GetAllEventTypes() { in GetAllEventTypes()
66 static std::vector<EventType> event_type_array; in GetAllEventTypes()
70 const std::vector<EventType> tracepoint_array = GetTracepointEventTypes(); in GetAllEventTypes()
77 const EventType* FindEventTypeByName(const std::string& name) { in FindEventTypeByName()
78 const EventType* result = nullptr; in FindEventTypeByName()
[all …]
Devent_type.h38 struct EventType { struct
39 EventType(const std::string& name, uint32_t type, uint64_t config) in EventType() argument
43 EventType() : type(0), config(0) { in EventType() function
51 const std::vector<EventType>& GetAllEventTypes(); argument
52 const EventType* FindEventTypeByName(const std::string& name);
56 EventType event_type;
Devent_attr.h27 struct EventType;
34 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
Dtracing.h86 bool GetTracingData(const std::vector<const EventType*>& event_types,
Dcmd_list.cpp31 const std::vector<EventType>& event_types) { in PrintEventTypesOfType()
Devent_selection_set.cpp32 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsBranchSamplingSupported()
43 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsDwarfCallChainSamplingSupported()
119 std::vector<const EventType*> EventSelectionSet::GetTracepointEvents() const { in GetTracepointEvents()
120 std::vector<const EventType*> result; in GetTracepointEvents()
Devent_selection_set.h76 std::vector<const EventType*> GetTracepointEvents() const;
Drecord_test.cpp27 const EventType* type = FindEventTypeByName("cpu-cycles"); in SetUp()
Devent_attr.cpp77 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) { in CreateDefaultPerfEventAttr()
Dtracing.cpp399 bool GetTracingData(const std::vector<const EventType*>& event_types, in GetTracingData()
Dcmd_stat.cpp548 const EventType* type = FindEventTypeByName(name); in AddDefaultMeasuredEventTypes()
Dcmd_record.cpp664 std::vector<const EventType*> tracepoint_event_types = in DumpTracingData()
/system/core/fastboot/
Dsocket_mock.cpp47 if (events_.front().type != EventType::kSend) { in Send()
80 if (event.type != EventType::kReceive) { in Receive()
115 if (events_.front().type != EventType::kAccept) { in Accept()
126 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); in ExpectSend()
130 events_.push(Event(EventType::kSend, std::move(message), false, nullptr)); in ExpectSendFailure()
134 events_.push(Event(EventType::kReceive, std::move(message), false, nullptr)); in AddReceive()
138 events_.push(Event(EventType::kReceive, "", true, nullptr)); in AddReceiveTimeout()
142 events_.push(Event(EventType::kReceive, "", false, nullptr)); in AddReceiveFailure()
146 events_.push(Event(EventType::kAccept, "", false, std::move(sock))); in AddAccept()
149 SocketMock::Event::Event(EventType _type, std::string _message, ssize_t _status, in Event()
Dsocket_mock.h84 enum class EventType { kSend, kReceive, kAccept }; enum
87 Event(EventType _type, std::string _message, ssize_t _status,
90 EventType type;
/system/extras/perfprofd/
Dperf_profile.proto77 enum EventType { enum
82 optional EventType event = 1;
/system/core/adb/
Dsysdeps_win32.cpp1270 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record()
1275 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()