Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/location/
DContextHubIntentEvent.java36 @ContextHubManager.Event private final int mEventType; field in ContextHubIntentEvent
50 mEventType = eventType; in ContextHubIntentEvent()
144 return mEventType; in getEventType()
161 if (mEventType == ContextHubManager.EVENT_HUB_RESET) { in getNanoAppId()
174 if (mEventType != ContextHubManager.EVENT_NANOAPP_ABORTED) { in getNanoAppAbortCode()
176 "Cannot invoke getNanoAppAbortCode() on non-abort event: " + mEventType); in getNanoAppAbortCode()
188 if (mEventType != ContextHubManager.EVENT_NANOAPP_MESSAGE) { in getNanoAppMessage()
190 "Cannot invoke getNanoAppMessage() on non-message event: " + mEventType); in getNanoAppMessage()
198 String out = "ContextHubIntentEvent[eventType = " + mEventType in toString()
201 if (mEventType != ContextHubManager.EVENT_HUB_RESET) { in toString()
[all …]
DActivityRecognitionEvent.java29 private final int mEventType; field in ActivityRecognitionEvent
34 mEventType = eventType; in ActivityRecognitionEvent()
43 return mEventType; in getEventType()
75 parcel.writeInt(mEventType); in writeToParcel()
84 mEventType, in toString()
/frameworks/base/core/java/android/app/usage/
DEventStats.java31 public int mEventType; field in EventStats
65 mEventType = stats.mEventType; in EventStats()
78 return mEventType; in getEventType()
132 if (mEventType != right.mEventType) { in add()
134 + mEventType + " with EventStats for event #" + right.mEventType); in add()
155 dest.writeInt(mEventType); in writeToParcel()
167 stats.mEventType = in.readInt();
DUsageEvents.java337 public int mEventType; field in UsageEvents.Event
399 mEventType = type; in Event()
411 mEventType = orig.mEventType; in Event()
499 return mEventType; in getEventType()
748 p.writeInt(event.mEventType); in writeEventToParcel()
751 switch (event.mEventType) { in writeEventToParcel()
807 eventOut.mEventType = p.readInt(); in readEventFromParcel()
818 switch (eventOut.mEventType) { in readEventFromParcel()
/frameworks/base/core/java/android/bluetooth/le/
DScanResult.java87 private int mEventType; field in ScanResult
111 mEventType = (DATA_COMPLETE << 5) | ET_LEGACY_MASK | ET_CONNECTABLE_MASK; in ScanResult()
137 mEventType = eventType; in ScanResult()
168 dest.writeInt(mEventType); in writeToParcel()
185 mEventType = in.readInt(); in readFromParcel()
233 return (mEventType & ET_LEGACY_MASK) != 0; in isLegacy()
240 return (mEventType & ET_CONNECTABLE_MASK) != 0; in isConnectable()
250 return (mEventType >> 5) & 0x03; in getDataStatus()
306 mEventType, mPrimaryPhy, mSecondaryPhy, in hashCode()
323 && mEventType == other.mEventType in equals()
[all …]
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionEvent.java25 private final int mEventType; field in ActivityRecognitionEvent
30 mEventType = eventType; in ActivityRecognitionEvent()
39 return mEventType; in getEventType()
49 switch (mEventType) { in toString()
68 mEventType, in toString()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java127 private @EventType int mEventType; field in SelectionEvent
151 mEventType = eventType; in SelectionEvent()
160 mEventType = in.readInt(); in SelectionEvent()
184 dest.writeInt(mEventType); in writeToParcel()
378 return mEventType; in getEventType()
387 mEventType = eventType; in setEventType()
612 return isTerminal(mEventType); in isTerminal()
638 return Objects.hash(mAbsoluteStart, mAbsoluteEnd, mEventType, mEntityType, in hashCode()
656 && mEventType == other.mEventType in equals()
683 mAbsoluteStart, mAbsoluteEnd, mEventType, mEntityType, in toString()
DTextClassifierEvent.java138 private final int mEventType; field in TextClassifierEvent
164 mEventType = builder.mEventType; in TextClassifierEvent()
178 mEventType = in.readInt(); in TextClassifierEvent()
228 dest.writeInt(mEventType); in writeToParcel()
270 return mEventType; in getEventType()
502 private final int mEventType; field in TextClassifierEvent.Builder
526 mEventType = eventType; in Builder()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java761 private @EventType int mEventType; field in AccessibilityEvent
796 mEventType = event.mEventType; in init()
869 return mEventType; in getEventType()
972 mEventType = eventType; in setEventType()
1162 mEventType = 0; in clear()
1185 mEventType = parcel.readInt(); in initFromParcel()
1255 parcel.writeInt(mEventType); in writeToParcel()
1326 builder.append("EventType: ").append(eventTypeToString(mEventType)); in toString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java46 private int mEventType; field in LayoutParserWrapper
108 mEventType = mDelegate.getEventType(); in peekNext()
110 if (mEventType == START_TAG) { in peekNext()
155 return mPeeked ? mEventType : mDelegate.getEventType(); in getEventType()
178 if (mEventType != START_TAG) { in getAttributeValue()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java168 + eventToString(event.mEventType)); in reportEvent()
179 if (event.mEventType == Event.CONFIGURATION_CHANGE in reportEvent()
186 if (event.mEventType != Event.SYSTEM_INTERACTION in reportEvent()
190 && event.mEventType != Event.ACTIVITY_DESTROYED in reportEvent()
192 && event.mEventType != Event.FLUSH_TO_DISK in reportEvent()
194 && event.mEventType != Event.DEVICE_SHUTDOWN) { in reportEvent()
199 if (event.mEventType == Event.ACTIVITY_RESUMED) { in reportEvent()
203 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent()
210 switch (event.mEventType) { in reportEvent()
237 event.mTimeStamp, event.mEventType, event.mInstanceId); in reportEvent()
[all …]
DIntervalStats.java103 ev.mEventType = event; in addToEventStats()
194 event.mEventType = parser.readInt(IntervalStatsProto.Event.TYPE); in buildEvent()
230 switch (event.mEventType) { in buildEvent()
329 if (event.mEventType == NOTIFICATION_INTERRUPTION) { in addEvent()
DAppStandbyController.java880 if ((event.mEventType == UsageEvents.Event.ACTIVITY_RESUMED in reportEvent()
881 || event.mEventType == UsageEvents.Event.ACTIVITY_PAUSED in reportEvent()
882 || event.mEventType == UsageEvents.Event.SYSTEM_INTERACTION in reportEvent()
883 || event.mEventType == UsageEvents.Event.USER_INTERACTION in reportEvent()
884 || event.mEventType == UsageEvents.Event.NOTIFICATION_SEEN in reportEvent()
885 || event.mEventType == UsageEvents.Event.SLICE_PINNED in reportEvent()
886 || event.mEventType == UsageEvents.Event.SLICE_PINNED_PRIV in reportEvent()
887 || event.mEventType == UsageEvents.Event.FOREGROUND_SERVICE_START)) { in reportEvent()
894 final int subReason = usageEventToSubReason(event.mEventType); in reportEvent()
896 if (event.mEventType == UsageEvents.Event.NOTIFICATION_SEEN in reportEvent()
[all …]
DUsageStatsXmlV1.java217 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
225 switch (event.mEventType) { in loadEvent()
345 XmlUtils.writeIntAttribute(xml, TYPE_ATTR, event.mEventType); in writeEvent()
348 switch (event.mEventType) { in writeEvent()
DUsageStatsProto.java438 proto.write(IntervalStatsProto.Event.TYPE, event.mEventType); in writeEvent()
462 switch (event.mEventType) { in writeEvent()
DUsageStatsService.java480 switch (event.mEventType) { in reportEvent()
506 + "/" + event.mClass + " event : " + event.mEventType in reportEvent()
516 event.mEventType = Event.ACTIVITY_STOPPED; in reportEvent()
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java141 parcel.writeInt(event.mEventType); in writeToParcel()
238 @EventIds private final int mEventType; field in FillEventHistory.Event
262 return mEventType; in getType()
476 mEventType = Preconditions.checkArgumentInRange(eventType, 0, TYPE_CONTEXT_COMMITTED, in Event()
506 + ", type=" + mEventType in toString()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java144 event.mEventType = i % (MAX_EVENT_TYPE + 1); //"random" event type in populateIntervalStats()
154 switch (event.mEventType) { in populateIntervalStats()
174 mIntervalStats.update(event.mPackage, event.mClass, event.mTimeStamp, event.mEventType, in populateIntervalStats()
271 assertEquals(e1.mEventType, e2.mEventType, "Usage event " + debugId); in compareUsageEvent()
272 switch (e1.mEventType) { in compareUsageEvent()
DAppStandbyControllerTests.java521 ev.mEventType = eventType; in reportEvent()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java126 if (event.mEventType != SelectionEvent.EventType.SELECTION_STARTED && mSessionId == null in logEvent()
133 switch (event.mEventType) { in logEvent()
207 switch (event.mEventType) { in getLogType()
426 private @EventType int mEventType; field in SmartSelectionEventTracker.SelectionEvent
436 mEventType = eventType; in SelectionEvent()
572 switch (mEventType) { in isTerminal()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java49 private int mEventType = START_DOCUMENT; field in BridgeXmlBlockParser
205 return mEventType; in getEventType()
309 eventTypeToString(mEventType) + " -> " + eventTypeToString(ev)); in next()
317 mEventType = ev; in next()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java92 event.mEventType = UsageEvents.Event.ACTIVITY_RESUMED; in populateIntervalStats()
96 event.mEventType, 1); in populateIntervalStats()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java168 return mEventType; in getEventType()
217 return mEventType == START_TAG ? nativeGetAttributeCount(mParseState) : -1; in getAttributeCount()
276 mEventType = ev; in next()
487 private int mEventType = START_DOCUMENT; field in XmlBlock.Parser
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1301 private final int mEventType; field in TouchExplorer.SendAccessibilityEventDelayed
1305 mEventType = eventType; in SendAccessibilityEventDelayed()
1330 sendAccessibilityEvent(mEventType); in run()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9215 Landroid/app/usage/EventStats;->mEventType:I
12482 Landroid/bluetooth/le/ScanResult;->mEventType:I
16885 Landroid/content/res/XmlBlock$Parser;->mEventType:I
23929 Landroid/hardware/location/ActivityRecognitionEvent;->mEventType:I
62734 Landroid/service/autofill/FillEventHistory$Event;->mEventType:I
76719 Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->mEventType:I
76797 Landroid/view/textclassifier/SelectionEvent;->mEventType:I