Home
last modified time | relevance | path

Searched refs:eventData (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp156 static void nfaConnectionCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
158 tNFA_DM_CBACK_DATA* eventData);
277 tNFA_CONN_EVT_DATA* eventData) { in nfaConnectionCallback() argument
285 __func__, eventData->status); in nfaConnectionCallback()
294 __func__, eventData->status); in nfaConnectionCallback()
303 __func__, eventData->status); in nfaConnectionCallback()
313 eventData->status); in nfaConnectionCallback()
323 eventData->status); in nfaConnectionCallback()
332 status = eventData->disc_result.status; in nfaConnectionCallback()
340 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
[all …]
DHciEventManager.cpp138 tNFA_HCI_EVT_DATA* eventData) { in nfaHciCallback() argument
139 if (eventData == nullptr) { in nfaHciCallback()
144 "event=%d code=%d pipe=%d len=%d", event, eventData->rcvd_evt.evt_code, in nfaHciCallback()
145 eventData->rcvd_evt.pipe, eventData->rcvd_evt.evt_len); in nfaHciCallback()
148 if (eventData->rcvd_evt.pipe == sEsePipe) { in nfaHciCallback()
150 } else if (eventData->rcvd_evt.pipe == sSimPipe) { in nfaHciCallback()
158 uint8_t* event_buff = eventData->rcvd_evt.p_evt_buf; in nfaHciCallback()
159 uint32_t event_buff_len = eventData->rcvd_evt.evt_len; in nfaHciCallback()
161 eventData->rcvd_evt.evt_code != NFA_HCI_EVT_TRANSACTION || in nfaHciCallback()
DNativeWlcManager.cpp43 tNFA_WLC_EVT_DATA* eventData);
171 tNFA_WLC_EVT_DATA* eventData) { in nfaWlcManagementCallback() argument
178 __func__, eventData->status); in nfaWlcManagementCallback()
187 __func__, eventData->status); in nfaWlcManagementCallback()
189 sIsWlcpStarted = eventData->status == NFA_STATUS_OK; in nfaWlcManagementCallback()
199 eventData->status); in nfaWlcManagementCallback()
210 eventData->wpt_end_cdt); in nfaWlcManagementCallback()
214 eventData->wpt_end_cdt); in nfaWlcManagementCallback()
DRoutingManager.cpp558 tNFA_CONN_EVT_DATA* eventData) { in stackCallback() argument
565 tNFA_CE_REGISTERED& ce_registered = eventData->ce_registered; in stackCallback()
572 tNFA_CE_DEREGISTERED& ce_deregistered = eventData->ce_deregistered; in stackCallback()
592 tNFA_CE_DATA& ce_data = eventData->ce_data; in stackCallback()
831 tNFA_EE_CBACK_DATA* eventData) { in nfaEeCallback() argument
835 if (!eventData) { in nfaEeCallback()
839 routingManager.mCbEventData = *eventData; in nfaEeCallback()
844 eventData->ee_register); in nfaEeCallback()
850 eventData->status); in nfaEeCallback()
859 eventData->mode_set.status, eventData->mode_set.ee_handle); in nfaEeCallback()
[all …]
DRoutingManager.h85 static void nfaEeCallback(tNFA_EE_EVT event, tNFA_EE_CBACK_DATA* eventData);
86 static void stackCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
87 static void nfcFCeCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventTest.java35 byte[] eventData = "data".getBytes(); in testBuilderAndEquals()
43 .setEventData(eventData) in testBuilderAndEquals()
52 assertArrayEquals(event1.getEventData(), eventData); in testBuilderAndEquals() local
60 eventId, queryId, rowIndex, service, EVENT_TYPE, timeMillis, eventData) in testBuilderAndEquals()
68 byte[] eventData = "data".getBytes(); in testBuildTwiceThrows()
76 .setEventData(eventData) in testBuildTwiceThrows()
DJoinedEventTest.java40 byte[] eventData = "eventData".getBytes(); in testBuilderAndEquals()
51 .setEventData(eventData) in testBuilderAndEquals()
61 assertArrayEquals(joinedEvent1.getEventData(), eventData); in testBuilderAndEquals() local
66 eventId, queryId, rowIndex, service, type, eventTimeMillis, eventData, in testBuilderAndEquals()
82 byte[] eventData = "eventData".getBytes(); in testBuildTwiceThrows()
93 .setEventData(eventData) in testBuildTwiceThrows()
DJoinedTableDaoTest.java191 ContentValues eventData = new ContentValues(); in insertEventAndQueryData() local
192 eventData.put("eventCol1", 100); in insertEventAndQueryData()
193 eventData.put("eventCol2", "helloWorld"); in insertEventAndQueryData()
194 eventData.put("eventCol3", "unused"); in insertEventAndQueryData()
195 eventData.put("eventCol4", "wrong_type"); in insertEventAndQueryData()
196 eventData.put("random", 20); in insertEventAndQueryData()
199 .setEventData(OnDevicePersonalizationFlatbufferUtils.createEventData(eventData)) in insertEventAndQueryData()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DReportEventRequest.java174 @NonNull String eventData, in Builder() argument
177 Objects.requireNonNull(eventData); in Builder()
188 eventData.getBytes(StandardCharsets.UTF_8).length in Builder()
194 this.mEventData = eventData; in Builder()
241 public Builder setData(@NonNull String eventData) { in setData() argument
242 Objects.requireNonNull(eventData); in setData()
244 mEventData = eventData; in setData()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DEventMetricDataConverter.java52 for (StatsLogProto.EventMetricData eventData : eventDataList) { in convertEventDataList()
53 if (eventData.hasAggregatedAtomInfo()) { in convertEventDataList()
54 StatsLogProto.AggregatedAtomInfo aggregate = eventData.getAggregatedAtomInfo(); in convertEventDataList()
61 elapsedTimes.add(eventData.getElapsedTimestampNanos()); in convertEventDataList()
62 atoms.add(eventData.getAtom()); in convertEventDataList()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DWebViewFlow.java239 EventLogRecord eventData = result.getEventLogRecord(); in writeEvent() local
241 if (eventData.getType() <= 0 || eventData.getRowIndex() < 0 in writeEvent()
242 || eventData.getRowIndex() >= rowCount) { in writeEvent()
248 eventData.getData()); in writeEvent()
250 .setType(eventData.getType()) in writeEvent()
254 .setRowIndex(eventData.getRowIndex()) in writeEvent()
262 mQueryId, eventData.getType(), eventData.getRowIndex(), mService)) { in writeEvent()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DOnDevicePersonalizationFlatbufferUtilsTests.java52 byte[] eventData = OnDevicePersonalizationFlatbufferUtils.createEventData(data); in testCreateEventData()
53 EventFields eventFields = EventFields.getRootAsEventFields(ByteBuffer.wrap(eventData)); in testCreateEventData()
95 byte[] eventData = OnDevicePersonalizationFlatbufferUtils.createEventData(null); in testCreateEventDataNullInput()
97 EventFields eventFields = EventFields.getRootAsEventFields(ByteBuffer.wrap(eventData)); in testCreateEventDataNullInput()
189 byte[] eventData = OnDevicePersonalizationFlatbufferUtils.createEventData(data); in testGetContentValuesFromEventData()
191 OnDevicePersonalizationFlatbufferUtils.getContentValuesFromEventData(eventData); in testGetContentValuesFromEventData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandlerTest.java215 Pair<Integer, Object>[] eventData = fragment.getEventData(); in handleUserTriggeredNonLeaDeviceConnected_sharing_showStopDialog() local
216 assertThat(eventData) in handleUserTriggeredNonLeaDeviceConnected_sharing_showStopDialog()
267 Pair<Integer, Object>[] eventData = fragment.getEventData(); in handleUserTriggeredLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog() local
268 assertThat(eventData) in handleUserTriggeredLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog()
311 Pair<Integer, Object>[] eventData = fragment.getEventData(); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog() local
312 assertThat(eventData) in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog()
357 Pair<Integer, Object>[] eventData = fragment.getEventData(); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog() local
358 assertThat(eventData) in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
414 Pair<Integer, Object>[] eventData = fragment.getEventData(); in handleNonLeaDeviceConnected_sharing_showStopDialog() local
415 assertThat(eventData) in handleNonLeaDeviceConnected_sharing_showStopDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java208 Pair<Integer, Object>[] eventData = in handleNonLeAudioDeviceConnected() local
223 eventData); in handleNonLeAudioDeviceConnected()
281 Pair<Integer, Object>[] eventData = in handleLeAudioDeviceConnected() local
297 eventData); in handleLeAudioDeviceConnected()
312 Pair<Integer, Object>[] eventData = in handleLeAudioDeviceConnected() local
327 eventData); in handleLeAudioDeviceConnected()
369 Pair<Integer, Object>[] eventData = in handleLeAudioDeviceConnected() local
380 mHostFragment, deviceItems, cachedDevice, listener, eventData); in handleLeAudioDeviceConnected()
DAudioSharingStopDialogFragment.java82 @NonNull Pair<Integer, Object>[] eventData) { in show() argument
98 sEventData = eventData; in show()
123 sEventData = eventData; in show()
DAudioSharingDisconnectDialogFragment.java85 @NonNull Pair<Integer, Object>[] eventData) { in show() argument
101 sEventData = eventData; in show()
127 sEventData = eventData; in show()
DAudioSharingSwitchBarController.java505 Pair<Integer, Object>[] eventData = in handleOnBroadcastReady() local
524 showDialog(eventData); in handleOnBroadcastReady()
527 private void showDialog(Pair<Integer, Object>[] eventData) { in showDialog() argument
556 mFragment, mDeviceItemsForSharing, listener, eventData); in showDialog()
DAudioSharingJoinDialogFragment.java82 @NonNull Pair<Integer, Object>[] eventData) { in show() argument
87 sEventData = eventData; in show()
DAudioSharingDialogFragment.java78 @NonNull Pair<Integer, Object>[] eventData) { in show() argument
82 sEventData = eventData; in show()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DMeasurementWebTriggerEventParamsParcel.java114 @Nullable byte[] eventData) { in MeasurementWebTriggerEventParamsParcel() argument
125 this.mEventData = eventData; in MeasurementWebTriggerEventParamsParcel()
207 byte[] eventData = in.createByteArray(); in MeasurementWebTriggerEventParamsParcel()
219 this.mEventData = eventData; in MeasurementWebTriggerEventParamsParcel()
DJoinedLogRecord.java74 @Nullable ContentValues eventData) { in JoinedLogRecord() argument
83 this.mEventData = eventData; in JoinedLogRecord()
197 …ContentValues eventData = (flg & 0x10) == 0 ? null : (ContentValues) in.readTypedObject(ContentVal… in JoinedLogRecord() local
207 this.mEventData = eventData; in JoinedLogRecord()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEvent.java88 @Nullable byte[] eventData) { in Event() argument
97 this.mEventData = eventData; in Event()
242 @Nullable byte[] eventData) { in Builder() argument
251 mEventData = eventData; in Builder()
DJoinedEvent.java93 @Nullable byte[] eventData, in JoinedEvent() argument
104 this.mEventData = eventData; in JoinedEvent()
277 @Nullable byte[] eventData, in Builder() argument
288 mEventData = eventData; in Builder()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DNonPrivateObservationGenerator.java88 for (Map.Entry<SystemProfile, Collection<EventRecordAndSystemProfile>> eventData : in generateObservations()
90 SystemProfile systemProfile = eventData.getKey(); in generateObservations()
92 ImmutableList.copyOf(eventData.getValue()); in generateObservations()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/
DConfigMetricsReportListConverterTest.java55 EventMetricData eventData = EventMetricData.newBuilder() in testConvertMultipleReports_correctlySetsPersistableBundles() local
88 .addData(eventData)))) in testConvertMultipleReports_correctlySetsPersistableBundles()

12