/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventHistoryImplTest.java | 108 mEventHistory.addEvent(E1); in testMultipleEvents() 109 mEventHistory.addEvent(E2); in testMultipleEvents() 110 mEventHistory.addEvent(E3); in testMultipleEvents() 111 mEventHistory.addEvent(E4); in testMultipleEvents() 122 mEventHistory.addEvent(E1); in testQuerySomeEventTypes() 123 mEventHistory.addEvent(E2); in testQuerySomeEventTypes() 124 mEventHistory.addEvent(E3); in testQuerySomeEventTypes() 125 mEventHistory.addEvent(E4); in testQuerySomeEventTypes() 137 mEventHistory.addEvent(E1); in testQuerySingleEventType() 138 mEventHistory.addEvent(E2); in testQuerySingleEventType() [all …]
|
D | EventIndexTest.java | 61 mEventIndex.addEvent(timestamp("01-06 05:26")); in testMultipleEvents() 62 mEventIndex.addEvent(timestamp("01-27 18:41")); in testMultipleEvents() 63 mEventIndex.addEvent(timestamp("01-30 03:06")); in testMultipleEvents() 64 mEventIndex.addEvent(timestamp("01-30 18:14")); in testMultipleEvents() 81 mEventIndex.addEvent(CURRENT_TIMESTAMP); in testBitmapShift() 115 mEventIndex.addEvent(timestamp("01-06 05:26")); in testCopyConstructor() 116 mEventIndex.addEvent(timestamp("01-27 18:41")); in testCopyConstructor() 117 mEventIndex.addEvent(timestamp("01-30 03:06")); in testCopyConstructor() 118 mEventIndex.addEvent(timestamp("01-30 18:14")); in testCopyConstructor() 135 a.addEvent(mInjector.mCurrentTimeMillis); in combineEventIndexes() [all …]
|
D | PackageDataTest.java | 85 .addEvent(mE1); in testGetEventHistory() 87 .addEvent(mE2); in testGetEventHistory() 102 .addEvent(mE1); in testGetEventHistoryDefaultDialerAndSmsApp() 103 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryDefaultDialerAndSmsApp() 104 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testGetEventHistoryDefaultDialerAndSmsApp() 120 .addEvent(mE1); in testGetEventHistoryNotDefaultDialerOrSmsApp() 121 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryNotDefaultDialerOrSmsApp() 122 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testGetEventHistoryNotDefaultDialerOrSmsApp() 138 .addEvent(mE1); in testDeleteConversationData() 140 .addEvent(mE2); in testDeleteConversationData() [all …]
|
D | AggregateEventHistoryImplTest.java | 74 mEventHistory1.addEvent(E1); in setUp() 75 mEventHistory1.addEvent(E2); in setUp() 78 mEventHistory2.addEvent(E3); in setUp() 79 mEventHistory2.addEvent(E4); in setUp()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustArchive.java | 75 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, in logGrantTrust() 80 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false)); in logRevokeTrust() 84 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, 0, false)); in logTrustTimeout() 88 addEvent(new Event(TYPE_AGENT_DIED, userId, agent, null, 0, 0, false)); in logAgentDied() 92 addEvent(new Event(TYPE_AGENT_CONNECTED, userId, agent, null, 0, 0, false)); in logAgentConnected() 96 addEvent(new Event(TYPE_AGENT_STOPPED, userId, agent, null, 0, 0, false)); in logAgentStopped() 100 addEvent(new Event(TYPE_MANAGING_TRUST, userId, agent, null, 0, 0, managing)); in logManagingTrust() 104 addEvent(new Event(TYPE_POLICY_CHANGED, UserHandle.USER_ALL, null, null, 0, 0, false)); in logDevicePolicyChanged() 107 private void addEvent(Event e) { in addEvent() method in TrustArchive
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | InProgressSmsSession.java | 91 public void addEvent(SmsSessionEventBuilder builder) { in addEvent() method in InProgressSmsSession 92 addEvent(SystemClock.elapsedRealtime(), builder); in addEvent() 101 public synchronized void addEvent(long timestamp, SmsSessionEventBuilder builder) { in addEvent() method in InProgressSmsSession
|
D | InProgressCallSession.java | 75 public void addEvent(CallSessionEventBuilder builder) { in addEvent() method in InProgressCallSession 76 addEvent(SystemClock.elapsedRealtime(), builder); in addEvent() 85 synchronized public void addEvent(long timestamp, CallSessionEventBuilder builder) { in addEvent() method in InProgressCallSession
|
D | TelephonyMetrics.java | 1035 callSession.addEvent(timestamp, eventBuilder); in annotateInProgressCallSession() 1050 smsSession.addEvent(timestamp, eventBuilder); in annotateInProgressSmsSession() 1071 callSession.addEvent(callSession.startElapsedTimeMs, new CallSessionEventBuilder( in startNewCallSessionIfNeeded() 1078 callSession.addEvent(callSession.startElapsedTimeMs, new CallSessionEventBuilder( in startNewCallSessionIfNeeded() 1085 callSession.addEvent(callSession.startElapsedTimeMs, new CallSessionEventBuilder( in startNewCallSessionIfNeeded() 1122 smsSession.addEvent(smsSession.startElapsedTimeMs, new SmsSessionEventBuilder( in startNewSmsSession() 1129 smsSession.addEvent(smsSession.startElapsedTimeMs, new SmsSessionEventBuilder( in startNewSmsSession() 1136 smsSession.addEvent(smsSession.startElapsedTimeMs, new SmsSessionEventBuilder( in startNewSmsSession() 1572 callSession.addEvent( in writeRilCallList() 1693 callSession.addEvent(callSession.startElapsedTimeMs, in writeRilDial() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | InProgressCallSessionTest.java | 60 mCallSession.addEvent(builder); in testAddEvent() 75 mCallSession.addEvent(builder); in testEventDropped() 91 mCallSession.addEvent(builder); in testAddCallQualityEvent() 129 mCallSession.addEvent(builder); in testAddCallQualitySummaryEvent()
|
D | InProgressSmsSessionTest.java | 55 mSmsSession.addEvent(builder); in testAddEvent() 68 mSmsSession.addEvent(builder); in testEventDropped()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBatteryExemptionTracker.java | 134 boolean addEvent = false; in onStateChange() 148 addEvent = true; in onStateChange() 163 addEvent = true; in onStateChange() 172 if (addEvent) { in onStateChange() 178 pkg.addEvent(start, now, batteryUsage, stateTypeIndex); in onStateChange() 243 void addEvent(boolean start, long now, ImmutableBatteryUsage batteryUsage, int eventType) { in addEvent() method in AppBatteryExemptionTracker.UidBatteryStates 245 addEvent(start, new UidStateEventWithBattery(start, now, batteryUsage, null), in addEvent() 255 addEvent(start, new UidStateEventWithBattery(start, now, in addEvent()
|
D | AppMediaSessionTracker.java | 107 pkg.addEvent(true, now); in handleMediaSessionChanged() 130 pkg.addEvent(false, now); in handleMediaSessionChanged() 149 pkg.addEvent(false, now); in handleMediaSessionChanged()
|
D | BaseAppStateDurationsTracker.java | 65 uidStateDurations.addEvent(procState < PROCESS_STATE_FOREGROUND_SERVICE, in onUidProcStateChanged() 239 void addEvent(boolean active, long now) { in addEvent() method in BaseAppStateDurationsTracker.SimplePackageDurations 240 addEvent(active, new BaseTimeEvent(now), DEFAULT_INDEX); in addEvent()
|
/frameworks/base/tests/MotionPrediction/src/test/motionprediction/ |
D | DrawingView.kt | 64 private fun addEvent(event: MotionEvent) { in addEvent() method 77 addEvent(event) in onTouchEvent()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | CallLogQueryHelper.java | 92 if (addEvent(phoneNumber, date, durationSeconds, callType)) { in querySince() 107 private boolean addEvent(String phoneNumber, long date, long durationSeconds, int callType) { in addEvent() method in CallLogQueryHelper
|
D | SmsQueryHelper.java | 96 if (address != null && addEvent(address, date, type)) { in querySince() 111 private boolean addEvent(String phoneNumber, long date, int type) { in addEvent() method in SmsQueryHelper
|
D | MmsQueryHelper.java | 98 if (address != null && addEvent(address, date, msgBox)) { in querySince() 143 private boolean addEvent(String phoneNumber, long date, int msgBox) { in addEvent() method in MmsQueryHelper
|
D | UsageStatsQueryHelper.java | 215 eventHistory.addEvent(event); in addEventByShortcutId() 227 eventHistory.addEvent(event); in addEventByLocusId()
|
/frameworks/native/services/sensorservice/ |
D | RecentEventLogger.h | 39 void addEvent(const sensors_event_t& event);
|
/frameworks/base/media/java/android/media/ |
D | SubtitleTrack.java | 403 private boolean addEvent(Cue cue, long timeMs) { in addEvent() method in SubtitleTrack.CueList 432 if (!addEvent(cue, cue.mStartTimeMs)) { in add() 440 addEvent(cue, timeMs); in add() 446 addEvent(cue, cue.mEndTimeMs); in add()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | MainContentCaptureSession.java | 419 boolean addEvent = true; in sendContentCaptureEvent() 448 addEvent = false; in sendContentCaptureEvent() 451 addEvent = false; in sendContentCaptureEvent() 453 if (!addEvent && sVerbose) { in sendContentCaptureEvent() 470 addEvent = false; in sendContentCaptureEvent() 474 if (addEvent) { in sendContentCaptureEvent()
|
D | MainContentCaptureSessionV2.java | 442 boolean addEvent = true; in sendContentCaptureEvent() 471 addEvent = false; in sendContentCaptureEvent() 474 addEvent = false; in sendContentCaptureEvent() 476 if (!addEvent && sVerbose) { in sendContentCaptureEvent() 493 addEvent = false; in sendContentCaptureEvent() 497 if (addEvent) { in sendContentCaptureEvent()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 848 mEventHistory.addEvent( in setAuthenticationSelected() 863 mEventHistory.addEvent( in logDatasetAuthenticationSelected() 877 mEventHistory.addEvent(new Event(Event.TYPE_SAVE_SHOWN, null, clientState, null, in logSaveShown() 890 mEventHistory.addEvent( in logDatasetSelected() 904 mEventHistory.addEvent( in logDatasetShown() 931 mEventHistory.addEvent( in logViewEntered() 944 mAugmentedAutofillEventHistory.addEvent( in logAugmentedAutofillAuthenticationSelected() 957 mAugmentedAutofillEventHistory.addEvent( in logAugmentedAutofillSelected() 971 mAugmentedAutofillEventHistory.addEvent( in logAugmentedAutofillShown() 1054 mEventHistory.addEvent(new Event(Event.TYPE_CONTEXT_COMMITTED, null, in logContextCommittedLocked()
|
/frameworks/base/core/java/android/net/metrics/ |
D | ConnectStats.java | 63 boolean addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() method in ConnectStats
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 512 mSendHoverEnterAndMoveDelayed.addEvent(event, mState.getLastReceivedEvent()); in onGestureCancelled() 581 mSendHoverEnterAndMoveDelayed.addEvent(event, rawEvent); in handleActionDown() 587 mSendHoverEnterAndMoveDelayed.addEvent(event, rawEvent); in handleActionDown() 706 mSendHoverEnterAndMoveDelayed.addEvent(event, rawEvent); in handleActionMoveStateTouchInteracting() 717 mSendHoverEnterAndMoveDelayed.addEvent(event, rawEvent); in handleActionMoveStateTouchInteracting() 1539 addEvent(event, rawEvent); in post() 1545 public void addEvent(MotionEvent event, MotionEvent rawEvent) { in addEvent() method in TouchExplorer.SendHoverEnterAndMoveDelayed
|