Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 1781) sorted by relevance

12345678910>>...72

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c87 AStatsEvent* event = malloc(sizeof(AStatsEvent)); in AStatsEvent_obtain() local
88 event->lastFieldPos = 0; in AStatsEvent_obtain()
89 event->numBytesWritten = 2; // reserve first 2 bytes for root event type and number of elements in AStatsEvent_obtain()
90 event->numElements = 0; in AStatsEvent_obtain()
91 event->atomId = 0; in AStatsEvent_obtain()
92 event->errors = 0; in AStatsEvent_obtain()
93 event->built = false; in AStatsEvent_obtain()
94 event->bufSize = MAX_PUSH_EVENT_PAYLOAD; in AStatsEvent_obtain()
95 event->buf = (uint8_t*)calloc(event->bufSize, 1); in AStatsEvent_obtain()
97 event->buf[0] = OBJECT_TYPE; in AStatsEvent_obtain()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DNativeInterface.java351 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged() local
352 event.valueInt = state; in onConnectionStateChanged()
353 event.valueInt2 = peerFeat; in onConnectionStateChanged()
354 event.valueInt3 = chldFeat; in onConnectionStateChanged()
355 event.device = getDevice(address); in onConnectionStateChanged()
358 Log.d(TAG, "Device addr " + event.device + " State " + state); in onConnectionStateChanged()
361 service.messageFromNative(event); in onConnectionStateChanged()
363 Log.w(TAG, "Ignoring message because service not available: " + event); in onConnectionStateChanged()
369 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in onAudioStateChanged() local
370 event.valueInt = state; in onAudioStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientStackEventTest.java30 HapClientStackEvent event; in toString_containsProperSubStrings() local
32 event = new HapClientStackEvent(0 /* EVENT_TYPE_NONE */); in toString_containsProperSubStrings()
33 eventStr = event.toString(); in toString_containsProperSubStrings()
36 event = new HapClientStackEvent(10000); in toString_containsProperSubStrings()
37 eventStr = event.toString(); in toString_containsProperSubStrings()
40 event = new HapClientStackEvent(HapClientStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in toString_containsProperSubStrings()
41 event.valueInt1 = -1; in toString_containsProperSubStrings()
42 eventStr = event.toString(); in toString_containsProperSubStrings()
46 event.valueInt1 = HapClientStackEvent.CONNECTION_STATE_DISCONNECTED; in toString_containsProperSubStrings()
47 eventStr = event.toString(); in toString_containsProperSubStrings()
[all …]
DHapClientNativeInterfaceTest.java62 ArgumentCaptor<HapClientStackEvent> event = in onConnectionStateChanged() local
64 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
65 assertThat(event.getValue().type) in onConnectionStateChanged()
67 assertThat(event.getValue().valueInt1).isEqualTo(state); in onConnectionStateChanged()
75 ArgumentCaptor<HapClientStackEvent> event = in onDeviceAvailable() local
77 verify(mService).messageFromNative(event.capture()); in onDeviceAvailable()
78 assertThat(event.getValue().type) in onDeviceAvailable()
80 assertThat(event.getValue().valueInt1).isEqualTo(features); in onDeviceAvailable()
88 ArgumentCaptor<HapClientStackEvent> event = in onFeaturesUpdate() local
90 verify(mService).messageFromNative(event.capture()); in onFeaturesUpdate()
[all …]
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp143 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
144 AStatsEvent_setAtomId(event, atomId); in TEST()
145 AStatsEvent_writeInt32(event, int32Value); in TEST()
146 AStatsEvent_writeInt64(event, int64Value); in TEST()
147 AStatsEvent_writeFloat(event, floatValue); in TEST()
148 AStatsEvent_writeBool(event, boolValue); in TEST()
149 AStatsEvent_build(event); in TEST()
153 uint8_t* buffer = AStatsEvent_getBuffer(event, &bufferSize); in TEST()
175 EXPECT_EQ(AStatsEvent_getErrors(event), 0); in TEST()
176 AStatsEvent_release(event); in TEST()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientNativeInterface.java85 void sendMessageToService(HapClientStackEvent event) { in sendMessageToService() argument
88 service.messageFromNative(event); in sendMessageToService()
90 Log.e(TAG, "Event ignored, service not available: " + event); in sendMessageToService()
209 HapClientStackEvent event = in onConnectionStateChanged() local
211 event.device = getDevice(address); in onConnectionStateChanged()
212 event.valueInt1 = state; in onConnectionStateChanged()
214 Log.d(TAG, "onConnectionStateChanged: " + event); in onConnectionStateChanged()
215 sendMessageToService(event); in onConnectionStateChanged()
220 HapClientStackEvent event = in onDeviceAvailable() local
222 event.device = getDevice(address); in onDeviceAvailable()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterface.java79 private void sendMessageToService(LeAudioStackEvent event) { in sendMessageToService() argument
82 service.messageFromNative(event); in sendMessageToService()
84 Log.e(TAG, "Event ignored, service not available: " + event); in sendMessageToService()
96 LeAudioStackEvent event = in onInitialized() local
99 Log.d(TAG, "onInitialized: " + event); in onInitialized()
100 sendMessageToService(event); in onInitialized()
105 LeAudioStackEvent event = in onConnectionStateChanged() local
107 event.device = getDevice(address); in onConnectionStateChanged()
108 event.valueInt1 = state; in onConnectionStateChanged()
110 Log.d(TAG, "onConnectionStateChanged: " + event); in onConnectionStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java68 ArgumentCaptor<StackEvent> event = ArgumentCaptor.forClass(StackEvent.class); in onConnectionStateChanged() local
69 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
70 assertThat(event.getValue().type).isEqualTo(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()
71 assertThat(event.getValue().valueInt).isEqualTo(state); in onConnectionStateChanged()
72 assertThat(event.getValue().valueInt2).isEqualTo(peerFeat); in onConnectionStateChanged()
73 assertThat(event.getValue().valueInt3).isEqualTo(chldFeat); in onConnectionStateChanged()
81 ArgumentCaptor<StackEvent> event = ArgumentCaptor.forClass(StackEvent.class); in onAudioStateChanged() local
82 verify(mService).messageFromNative(event.capture()); in onAudioStateChanged()
83 assertThat(event.getValue().type).isEqualTo(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in onAudioStateChanged()
84 assertThat(event.getValue().valueInt).isEqualTo(state); in onAudioStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStackEventTest.java39 HeadsetStackEvent event = new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_NONE, device); in getTypeString() local
40 assertThat(event.getTypeString()).isEqualTo("EVENT_TYPE_NONE"); in getTypeString()
42 event = in getTypeString()
45 assertThat(event.getTypeString()).isEqualTo("EVENT_TYPE_CONNECTION_STATE_CHANGED"); in getTypeString()
47 event = new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED, device); in getTypeString()
48 assertThat(event.getTypeString()).isEqualTo("EVENT_TYPE_AUDIO_STATE_CHANGED"); in getTypeString()
50 event = new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_VR_STATE_CHANGED, device); in getTypeString()
51 assertThat(event.getTypeString()).isEqualTo("EVENT_TYPE_VR_STATE_CHANGED"); in getTypeString()
53 event = new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_ANSWER_CALL, device); in getTypeString()
54 assertThat(event.getTypeString()).isEqualTo("EVENT_TYPE_ANSWER_CALL"); in getTypeString()
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java94 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
96 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
98 event -> mTouchTransformer.touchInAssistantRegion(event)); in disabledMultipleRegions_shouldOverrideFirstRegion()
100 event -> mTouchTransformer.touchInAssistantRegion(event)); in disabledMultipleRegions_shouldOverrideFirstRegion()
106 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
108 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
110 event -> mTouchTransformer.touchInAssistantRegion(event)); in disabledMultipleRegions_shouldOverrideFirstRegion()
112 event -> mTouchTransformer.touchInAssistantRegion(event)); in disabledMultipleRegions_shouldOverrideFirstRegion()
117 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
119 event -> mTouchTransformer.touchInValidSwipeRegions(event.getX(), event.getY())); in disabledMultipleRegions_shouldOverrideFirstRegion()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dsecurity_event_parser.cc63 static void parse_encryption_change(const EventView event) { in parse_encryption_change() argument
64 auto change_opt = EncryptionChangeView::CreateOptional(event); in parse_encryption_change()
81 static void parse_change_connection_link_key_complete(const EventView event) { in parse_change_connection_link_key_complete() argument
83 ChangeConnectionLinkKeyCompleteView::CreateOptional(event); in parse_change_connection_link_key_complete()
95 static void parse_central_link_key_complete(const EventView event) { in parse_central_link_key_complete() argument
96 auto event_opt = CentralLinkKeyCompleteView::CreateOptional(event); in parse_central_link_key_complete()
101 log::info("Unhandled event: {}", EventCodeText(event.GetEventCode())); in parse_central_link_key_complete()
103 static void parse_return_link_keys(const EventView event) { in parse_return_link_keys() argument
104 auto event_opt = ReturnLinkKeysView::CreateOptional(event); in parse_return_link_keys()
109 log::info("Unhandled event: {}", EventCodeText(event.GetEventCode())); in parse_return_link_keys()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp69 NetworkDnsEventReported event; in fromNetworkDnsEventReportedStr() local
77 dnsQueryEvent = event.mutable_dns_query_events()->add_dns_query_event(); in fromNetworkDnsEventReportedStr()
95 event.set_event_type(static_cast<EventType>(value)); in fromNetworkDnsEventReportedStr()
97 event.set_return_code(static_cast<ReturnCode>(value)); in fromNetworkDnsEventReportedStr()
99 event.set_latency_micros(value); in fromNetworkDnsEventReportedStr()
101 event.set_hints_ai_flags(value); in fromNetworkDnsEventReportedStr()
103 event.set_res_nsend_flags(value); in fromNetworkDnsEventReportedStr()
105 event.set_network_type(static_cast<NetworkType>(value)); in fromNetworkDnsEventReportedStr()
107 event.set_private_dns_modes(static_cast<PrivateDnsModes>(value)); in fromNetworkDnsEventReportedStr()
109 event.set_sampling_rate_denom(value); in fromNetworkDnsEventReportedStr()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceCallbackHidlImpl.java287 public void eventClusterEvent(NanClusterEventInd event) { in eventClusterEvent() argument
290 Log.v(TAG, "eventClusterEvent: eventType=" + event.eventType + ", addr=" in eventClusterEvent()
291 + String.valueOf(HexEncoding.encode(event.addr))); in eventClusterEvent()
294 NanClusterEventType.fromHidl(event.eventType), event.addr); in eventClusterEvent()
328 public void eventMatch(NanMatchInd event) { in eventMatch() argument
331 Log.v(TAG, "eventMatch: discoverySessionId=" + event.discoverySessionId + ", peerId=" in eventMatch()
332 + event.peerId + ", addr=" + String.valueOf(HexEncoding.encode(event.addr)) in eventMatch()
334 convertArrayListToNativeByteArray(event.serviceSpecificInfo)) + ", ssi.size()=" in eventMatch()
335 + (event.serviceSpecificInfo == null ? 0 : event.serviceSpecificInfo.size()) in eventMatch()
337 convertArrayListToNativeByteArray(event.matchFilter)) + ", mf.size()=" + ( in eventMatch()
[all …]
DWifiNanIfaceCallbackAidlImpl.java352 public void eventClusterEvent(NanClusterEventInd event) { in eventClusterEvent() argument
355 Log.v(TAG, "eventClusterEvent: eventType=" + event.eventType + ", addr=" in eventClusterEvent()
356 + String.valueOf(HexEncoding.encode(event.addr))); in eventClusterEvent()
359 NanClusterEventType.fromAidl(event.eventType), event.addr); in eventClusterEvent()
393 public void eventMatch(NanMatchInd event) { in eventMatch() argument
395 byte[] serviceSpecificInfo = event.serviceSpecificInfo; in eventMatch()
398 serviceSpecificInfo = event.extendedServiceSpecificInfo; in eventMatch()
402 if (WifiHalAidlImpl.isServiceVersionAtLeast(2) && event.vendorData != null) { in eventMatch()
403 vendorData = HalAidlUtil.halToFrameworkOuiKeyedDataList(event.vendorData); in eventMatch()
409 + event.discoverySessionId in eventMatch()
[all …]
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp202 AStatsEvent* event = AStatsEvent_obtain(); in TEST_P() local
203 AStatsEvent_setAtomId(event, 100); in TEST_P()
204 AStatsEvent_writeInt32(event, 10); in TEST_P()
205 AStatsEvent_writeInt64(event, 0x123456789); in TEST_P()
206 AStatsEvent_writeFloat(event, 2.0); in TEST_P()
207 AStatsEvent_writeBool(event, true); in TEST_P()
208 AStatsEvent_build(event); in TEST_P()
211 const uint8_t* buf = AStatsEvent_getBuffer(event, &size); in TEST_P()
248 AStatsEvent_release(event); in TEST_P()
252 AStatsEvent* event = AStatsEvent_obtain(); in TEST_P() local
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dmatchers.py40 event = HciMatchers._extract_matching_event(packet_bytes, hci.EventCode.COMMAND_COMPLETE)
41 if not isinstance(event, hci.CommandComplete):
43 if opcode and event.command_op_code != opcode:
45 return event
61 event = HciMatchers._extract_matching_event(packet_bytes, hci.EventCode.COMMAND_STATUS)
62 if not isinstance(event, hci.CommandStatus):
64 if opcode and event.command_op_code != opcode:
66 return event
83 event = hci.Event.parse_all(packet_bytes)
84 return event if event.event_code == event_code else None
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/
DMetricsFeatureProvider.java41 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logGetSuggestion() local
42 event.eventType = SettingsIntelligenceEvent.GET_SUGGESTION; in logGetSuggestion()
43 event.latencyMillis = latency; in logGetSuggestion()
45 event.suggestionIds = ids.toArray(new String[0]); in logGetSuggestion()
47 logEvent(event); in logGetSuggestion()
51 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logDismissSuggestion() local
52 event.eventType = SettingsIntelligenceEvent.DISMISS_SUGGESTION; in logDismissSuggestion()
53 event.latencyMillis = latency; in logDismissSuggestion()
55 event.suggestionIds = new String[]{id}; in logDismissSuggestion()
57 logEvent(event); in logDismissSuggestion()
[all …]
/packages/modules/StatsD/statsd/benchmark/
Dlog_event_benchmark.cpp25 static void writeEventTestFields(AStatsEvent& event) { in writeEventTestFields() argument
26 AStatsEvent_writeInt64(&event, 3L); in writeEventTestFields()
27 AStatsEvent_writeInt32(&event, 2); in writeEventTestFields()
28 AStatsEvent_writeFloat(&event, 2.0); in writeEventTestFields()
29 AStatsEvent_writeString(&event, "DemoStringValue"); in writeEventTestFields()
33 AStatsEvent* event = AStatsEvent_obtain(); in createStatsEvent() local
34 AStatsEvent_setAtomId(event, 100); in createStatsEvent()
36 writeEventTestFields(*event); in createStatsEvent()
38 AStatsEvent_build(event); in createStatsEvent()
41 uint8_t* buf = AStatsEvent_getBuffer(event, &size); in createStatsEvent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeInterface.java229 private void sendMessageToService(VolumeControlStackEvent event) { in sendMessageToService() argument
232 service.messageFromNative(event); in sendMessageToService()
234 Log.e(TAG, "Event ignored, service not available: " + event); in sendMessageToService()
243 VolumeControlStackEvent event = in onConnectionStateChanged() local
246 event.device = getDevice(address); in onConnectionStateChanged()
247 event.valueInt1 = state; in onConnectionStateChanged()
249 Log.d(TAG, "onConnectionStateChanged: " + event); in onConnectionStateChanged()
250 sendMessageToService(event); in onConnectionStateChanged()
255 VolumeControlStackEvent event = in onVolumeStateChanged() local
258 event.device = getDevice(address); in onVolumeStateChanged()
[all …]
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py148 event = Event()
149 event.setTimestamp(json.timestamp)
150 event.setType(json.type)
152 event.setIntValue(intValue.id, intValue.value)
154 event.setFloatValue(floatValue.id, floatValue.value)
155 event.setStringValue(json.stringValue)
156 return event
159 event = Event()
160 event.setTimestamp(self.getTimestamp())
161 event.setType(self.getType())
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DEventTest.java92 BluetoothMapContentObserver.Event event = in constructor() local
95 assertThat(event.eventType).isEqualTo(TEST_EVENT_TYPE); in constructor()
96 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor()
97 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor()
102 BluetoothMapContentObserver.Event event = in constructor_withNullOldFolder() local
105 assertThat(event.eventType).isEqualTo(TEST_EVENT_TYPE); in constructor_withNullOldFolder()
106 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor_withNullOldFolder()
107 assertThat(event.oldFolder).isNull(); in constructor_withNullOldFolder()
108 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_withNullOldFolder()
113 BluetoothMapContentObserver.Event event = in constructor_withNonNullOldFolder() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DEventGeometry.kt44 fun computeEventRect(date: Int, left: Int, top: Int, cellWidth: Int, event: Event): Boolean { in computeEventRect()
45 if (event.drawAsAllday()) { in computeEventRect()
49 val startDay: Int = event.startDay in computeEventRect()
50 val endDay: Int = event.endDay in computeEventRect()
54 var startTime: Int = event.startTime in computeEventRect()
55 var endTime: Int = event.endTime in computeEventRect()
68 val col: Int = event.column in computeEventRect()
69 val maxCols: Int = event.maxColumns in computeEventRect()
77 event.top = top as Float in computeEventRect()
78 event.top += (startTime * cellMinuteHeight).toInt() in computeEventRect()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java321 CsipSetCoordinatorStackEvent event = new CsipSetCoordinatorStackEvent(-1); in testStackEvent_withoutStateChange_onDisconnectedState() local
322 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, event); in testStackEvent_withoutStateChange_onDisconnectedState()
326 event = in testStackEvent_withoutStateChange_onDisconnectedState()
329 event.valueInt1 = CsipSetCoordinatorStackEvent.CONNECTION_STATE_DISCONNECTED; in testStackEvent_withoutStateChange_onDisconnectedState()
330 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, event); in testStackEvent_withoutStateChange_onDisconnectedState()
334 event = in testStackEvent_withoutStateChange_onDisconnectedState()
337 event.valueInt1 = CsipSetCoordinatorStackEvent.CONNECTION_STATE_CONNECTING; in testStackEvent_withoutStateChange_onDisconnectedState()
338 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, event); in testStackEvent_withoutStateChange_onDisconnectedState()
344 event = in testStackEvent_withoutStateChange_onDisconnectedState()
347 event.valueInt1 = CsipSetCoordinatorStackEvent.CONNECTION_STATE_CONNECTED; in testStackEvent_withoutStateChange_onDisconnectedState()
[all …]
/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_mx_fsm.cc46 static void rfc_mx_sm_state_idle(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
48 static void rfc_mx_sm_state_wait_conn_cnf(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
50 static void rfc_mx_sm_state_configure(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
52 static void rfc_mx_sm_sabme_wait_ua(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
54 static void rfc_mx_sm_state_wait_sabme(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
56 static void rfc_mx_sm_state_connected(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
58 static void rfc_mx_sm_state_disc_wait_ua(tRFC_MCB* p_mcb, tRFC_MX_EVENT event,
74 void rfc_mx_sm_execute(tRFC_MCB* p_mcb, tRFC_MX_EVENT event, void* p_data) { in rfc_mx_sm_execute() argument
75 log::assert_that(p_mcb != nullptr, "NULL mcb for event {}", event); in rfc_mx_sm_execute()
77 log::info("RFCOMM peer:{} event:{} state:{}", p_mcb->bd_addr, event, in rfc_mx_sm_execute()
[all …]
/packages/modules/StatsD/lib/libstatssocket/include/
Dstats_event.h72 void AStatsEvent_build(AStatsEvent* event);
84 int AStatsEvent_write(AStatsEvent* event);
91 void AStatsEvent_release(AStatsEvent* event);
99 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId);
104 void AStatsEvent_writeInt32(AStatsEvent* event, int32_t value);
109 void AStatsEvent_writeInt64(AStatsEvent* event, int64_t value);
114 void AStatsEvent_writeFloat(AStatsEvent* event, float value);
119 void AStatsEvent_writeBool(AStatsEvent* event, bool value);
124 void AStatsEvent_writeByteArray(AStatsEvent* event, const uint8_t* buf, size_t numBytes);
131 void AStatsEvent_writeString(AStatsEvent* event, const char* value);
[all …]

12345678910>>...72