Home
last modified time | relevance | path

Searched refs:eventId (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/logging/testing/
DUiEventLoggerFake.java36 public final int eventId; field in UiEventLoggerFake.FakeUiEvent
42 FakeUiEvent(int eventId, int uid, String packageName) { in FakeUiEvent() argument
43 this.eventId = eventId; in FakeUiEvent()
50 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId) { in FakeUiEvent() argument
51 this.eventId = eventId; in FakeUiEvent()
58 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId, int position) { in FakeUiEvent() argument
59 this.eventId = eventId; in FakeUiEvent()
82 public int eventId(int index) { in eventId() method in UiEventLoggerFake
83 return mLogs.get(index).eventId; in eventId()
98 final int eventId = event.getId(); in log() local
[all …]
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt64 val eventId = assigner.processEvent(event) in testTouchGesture() constant
65 assertEquals(event.id, eventId) in testTouchGesture()
80 var eventId = assigner.processEvent(down) in testTouchDownWithMove() variable
81 assertEquals(down.id, eventId) in testTouchDownWithMove()
82 eventId = assigner.processEvent(move1) in testTouchDownWithMove()
83 assertEquals(down.id, eventId) in testTouchDownWithMove()
84 eventId = assigner.processEvent(move2) in testTouchDownWithMove()
87 assertEquals(down.id, eventId) in testTouchDownWithMove()
91 eventId = assigner.processEvent(move3) in testTouchDownWithMove()
92 assertEquals(move3.id, eventId) in testTouchDownWithMove()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DStatLogger.java102 public long logDurationStat(int eventId, long start) { in logDurationStat() argument
105 if (eventId >= 0 && eventId < SIZE) { in logDurationStat()
106 mCountStats[eventId]++; in logDurationStat()
107 mDurationStats[eventId] += duration; in logDurationStat()
109 Slog.wtf(TAG, "Invalid event ID: " + eventId); in logDurationStat()
112 if (mMaxDurationStats[eventId] < duration) { in logDurationStat()
113 mMaxDurationStats[eventId] = duration; in logDurationStat()
119 if (mMaxCallsPerSecond[eventId] < mCallsPerSecond[eventId]) { in logDurationStat()
120 mMaxCallsPerSecond[eventId] = mCallsPerSecond[eventId]; in logDurationStat()
122 if (mMaxDurationPerSecond[eventId] < mDurationPerSecond[eventId]) { in logDurationStat()
[all …]
/frameworks/base/telephony/java/android/telephony/
DAnomalyReporter.java90 public static void reportAnomaly(@NonNull UUID eventId, String description) { in reportAnomaly() argument
91 reportAnomaly(eventId, description, UNKNOWN_CARRIER_ID); in reportAnomaly()
107 public static void reportAnomaly(@NonNull UUID eventId, String description, int carrierId) { in reportAnomaly() argument
108 Rlog.i(TAG, "reportAnomaly: Received anomaly event report with eventId= " + eventId in reportAnomaly()
111 Rlog.w(TAG, "AnomalyReporter not yet initialized, dropping event=" + eventId); in reportAnomaly()
119 eventId.getLeastSignificantBits(), in reportAnomaly()
120 eventId.getMostSignificantBits()); in reportAnomaly()
130 Rlog.w(TAG, "Unable to read device config, dropping event=" + eventId); in reportAnomaly()
136 Integer count = sEvents.containsKey(eventId) ? sEvents.get(eventId) + 1 : 1; in reportAnomaly()
137 sEvents.put(eventId, count); in reportAnomaly()
[all …]
/frameworks/native/include/input/
DInputTransport.h94 int32_t eventId; member
114 int32_t eventId; member
178 int32_t eventId; member
187 int32_t eventId; member
195 int32_t eventId; member
205 int32_t eventId; member
213 int32_t eventId; member
355 status_t publishKeyEvent(uint32_t seq, int32_t eventId, int32_t deviceId, int32_t source,
369 status_t publishMotionEvent(uint32_t seq, int32_t eventId, int32_t deviceId, int32_t source,
387 status_t publishFocusEvent(uint32_t seq, int32_t eventId, bool hasFocus);
[all …]
/frameworks/native/libs/input/
DInputTransport.cpp191 msg->body.key.eventId = body.key.eventId; in getSanitizedCopy()
220 msg->body.motion.eventId = body.motion.eventId; in getSanitizedCopy()
296 msg->body.focus.eventId = body.focus.eventId; in getSanitizedCopy()
301 msg->body.capture.eventId = body.capture.eventId; in getSanitizedCopy()
306 msg->body.drag.eventId = body.drag.eventId; in getSanitizedCopy()
313 msg->body.timeline.eventId = body.timeline.eventId; in getSanitizedCopy()
318 msg->body.touchMode.eventId = body.touchMode.eventId; in getSanitizedCopy()
532 status_t InputPublisher::publishKeyEvent(uint32_t seq, int32_t eventId, int32_t deviceId, in publishKeyEvent() argument
546 mChannel->getName().c_str(), __func__, seq, eventId, deviceId, in publishKeyEvent()
558 msg.body.key.eventId = eventId; in publishKeyEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/
DQSLogger.kt105 fun logTileClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
111 int1 = eventId in <lambda>()
119 fun logHandleClick(tileSpec: String, eventId: Int) { in <lambda>()
125 int1 = eventId in <lambda>()
131 fun logTileSecondaryClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
137 int1 = eventId in <lambda>()
145 fun logHandleSecondaryClick(tileSpec: String, eventId: Int) { in <lambda>()
151 int1 = eventId in <lambda>()
157 fun logTileLongClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
163 int1 = eventId in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewUiEventLoggerTest.kt43 assertThat(uiEventLoggerFake.eventId(0)) in testViewAdded()
53 assertThat(uiEventLoggerFake.eventId(0)) in testMultipleViewsAdded_differentInstanceIds()
55 assertThat(uiEventLoggerFake.eventId(1)) in testMultipleViewsAdded_differentInstanceIds()
66 assertThat(uiEventLoggerFake.eventId(0)) in testViewManuallyDismissed()
/frameworks/base/telecomm/java/android/telecom/Logging/
DEventManager.java130 public String eventId; field in EventManager.Event
138 public Event(String eventId, String sessionId, long time, Object data) { in Event() argument
139 this.eventId = eventId; in Event()
212 if (requestResponsePairs.containsKey(event.eventId)) { in extractEventTimings()
216 event.eventId)) { in extractEventTimings()
217 pendingResponses.put(p.mResponse, new PendingResponse(event.eventId, in extractEventTimings()
222 PendingResponse pendingResponse = pendingResponses.remove(event.eventId); in extractEventTimings()
243 pw.print(event.eventId); in dump()
353 pw.print(event.second.eventId); in dumpEventsTimeline()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyEventLogger.java57 private DevicePolicyEventLogger(int eventId) { in DevicePolicyEventLogger() argument
58 mEventId = eventId; in DevicePolicyEventLogger()
68 public static DevicePolicyEventLogger createEvent(int eventId) { in createEvent() argument
69 return new DevicePolicyEventLogger(eventId); in createEvent()
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp37 CHECK_OFFSET(InputMessage::Body::Key, eventId, 0); in TestInputMessageAlignment()
51 CHECK_OFFSET(InputMessage::Body::Motion, eventId, 0); in TestInputMessageAlignment()
85 CHECK_OFFSET(InputMessage::Body::Focus, eventId, 0); in TestInputMessageAlignment()
89 CHECK_OFFSET(InputMessage::Body::Capture, eventId, 0); in TestInputMessageAlignment()
93 CHECK_OFFSET(InputMessage::Body::Drag, eventId, 0); in TestInputMessageAlignment()
103 CHECK_OFFSET(InputMessage::Body::Timeline, eventId, 0); in TestInputMessageAlignment()
107 CHECK_OFFSET(InputMessage::Body::TouchMode, eventId, 0); in TestInputMessageAlignment()
DInputPublisherAndConsumer_test.cpp48 const int32_t eventId; member
87 eventId(InputEvent::nextId()), in PublishMotionArgs()
125 EXPECT_EQ(args.eventId, motionEvent.getId()); in verifyArgsEqualToEvent()
185 publisher.publishMotionEvent(a.seq, a.eventId, a.deviceId, a.source, a.displayId, in publishMotionEvent()
264 int32_t eventId = InputEvent::nextId(); in publishAndConsumeKeyEvent() local
281 status = mPublisher->publishKeyEvent(seq, eventId, deviceId, source, displayId, hmac, action, in publishAndConsumeKeyEvent()
302 EXPECT_EQ(eventId, keyEvent->getId()); in publishAndConsumeKeyEvent()
405 int32_t eventId = InputEvent::nextId(); in publishAndConsumeFocusEvent() local
409 status = mPublisher->publishFocusEvent(seq, eventId, hasFocus); in publishAndConsumeFocusEvent()
423 EXPECT_EQ(eventId, focusEvent->getId()); in publishAndConsumeFocusEvent()
[all …]
DInputPublisherAndConsumerNoResampling_test.cpp55 const int32_t eventId; member
94 eventId(InputEvent::nextId()), in PublishMotionArgs()
132 EXPECT_EQ(args.eventId, motionEvent.getId()); in verifyArgsEqualToEvent()
192 publisher.publishMotionEvent(a.seq, a.eventId, a.deviceId, a.source, a.displayId, in publishMotionEvent()
447 int32_t eventId = InputEvent::nextId(); in publishAndConsumeKeyEvent() local
464 status = mPublisher->publishKeyEvent(seq, eventId, deviceId, source, displayId, hmac, action, in publishAndConsumeKeyEvent()
478 EXPECT_EQ(eventId, keyEvent->getId()); in publishAndConsumeKeyEvent()
592 int32_t eventId = InputEvent::nextId(); in publishAndConsumeFocusEvent() local
596 status = mPublisher->publishFocusEvent(seq, eventId, hasFocus); in publishAndConsumeFocusEvent()
602 EXPECT_EQ(eventId, focusEvent->getId()); in publishAndConsumeFocusEvent()
[all …]
/frameworks/base/core/java/android/view/
DViewFrameInfo.java77 public void setInputEvent(int eventId) { in setInputEvent() argument
78 mInputEventId = eventId; in setInputEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsMetricsLoggerImpl.kt48 eventId: Int, in log()
55 eventId, in log()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractorTest.kt112 assertThat(uiEventLoggerFake[0].eventId) in <lambda>()
123 assertThat(uiEventLoggerFake[1].eventId) in <lambda>()
161 assertThat(uiEventLoggerFake[0].eventId) in <lambda>()
180 assertThat(uiEventLoggerFake[1].eventId) in <lambda>()
205 assertThat(uiEventLoggerFake[0].eventId) in <lambda>()
220 assertThat(uiEventLoggerFake[1].eventId) in <lambda>()
/frameworks/base/core/java/android/provider/
DCalendarContract.java266 long eventId, long startMs, long endMs, boolean allDay, int flags) { in startViewCalendarEventInManagedProfile() argument
270 return dpm.startViewCalendarEventInManagedProfile(eventId, startMs, in startViewCalendarEventInManagedProfile()
986 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument
987 String[] attArgs = {Long.toString(eventId)}; in query()
1476 final long eventId = cursor.getLong(cursor.getColumnIndexOrThrow(Events._ID)); in getEntityAndIncrementCursor() local
1478 cv.put(Events._ID, eventId); in getEntityAndIncrementCursor()
1549 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1554 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1571 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1576 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityLoggerFake.java49 CallRecord(int atomId, UiEventLogger.UiEventEnum eventId, in CallRecord() argument
54 this.event = eventId; in CallRecord()
108 public void logShareStarted(int eventId, String packageName, String mimeType, in logShareStarted() argument
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java136 final int eventId = cursor.getInt(4); in checkEvent() local
146 availabilityToString(availability), eventId, name, owner, calendarId, in checkEvent()
157 final boolean meetsAttendee = meetsAttendee(filter, eventId, owner); in checkEvent()
182 private boolean meetsAttendee(EventInfo filter, int eventId, String email) {
185 String[] selectionArgs = { Integer.toString(eventId), email };
208 final boolean eventMeets = rowEventId == eventId && Objects.equals(rowEmail, email)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallLoggerTest.kt35 assertThat(uiEventLoggerFake.eventId(0)) in logChipClicked_clickEventLogged()
45 assertThat(uiEventLoggerFake.eventId(0)) in logChipVisibilityChanged_changeFromInvisibleToVisible_visibleEventLogged()
/frameworks/base/core/tests/coretests/src/com/android/internal/logging/
DUiEventLoggerTest.java70 assertThat(mLogger.eventId(0)).isEqualTo(TEST_EVENT_ID); in testSimple()
77 assertThat(mLogger.eventId(0)).isEqualTo(TEST_EVENT_ID); in testWithInstance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/sender/
DMediaTttSenderUiEventLoggerTest.kt28 assertThat(uiEventLoggerFake.eventId(0)).isEqualTo(state.uiEvent.id) in logSenderStateChange_eventAssociatedWithStateIsLogged()
39 assertThat(uiEventLoggerFake.eventId(0)).isEqualTo(undoEvent.id) in logUndoClicked_undoEventLogged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotServiceTest.kt130 .that(requestEvent.eventId) in takeScreenshotFullscreen_userLocked()
139 .that(failureEvent.eventId) in takeScreenshotFullscreen_userLocked()
172 requestEvent.eventId in takeScreenshotFullscreen_screenCaptureDisabled_allUsers()
183 failureEvent.eventId in takeScreenshotFullscreen_screenCaptureDisabled_allUsers()
/frameworks/base/media/java/android/media/tv/
DStreamEventResponse.java54 int eventId, long nptMillis, @Nullable byte[] data) { in StreamEventResponse() argument
56 mEventId = eventId; in StreamEventResponse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java293 final int eventId = mClickEventId++; in click() local
295 eventId); in click()
297 mHandler.obtainMessage(H.CLICK, eventId, 0, expandable).sendToTarget(); in click()
308 final int eventId = mClickEventId++; in secondaryClick() local
310 mState.state, eventId); in secondaryClick()
311 mHandler.obtainMessage(H.SECONDARY_CLICK, eventId, 0, expandable).sendToTarget(); in secondaryClick()
321 final int eventId = mClickEventId++; in longClick() local
323 eventId); in longClick()
325 mHandler.obtainMessage(H.LONG_CLICK, eventId, 0, expandable).sendToTarget(); in longClick()

1234