/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubIntentEvent.java | 36 @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 …]
|
D | ActivityRecognitionEvent.java | 29 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/ |
D | EventStats.java | 31 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();
|
D | UsageEvents.java | 420 public int mEventType; field in UsageEvents.Event 504 mEventType = type; in Event() 590 return mEventType; in getEventType() 692 mEventType = orig.mEventType; in copyFrom() 879 p.writeInt(event.mEventType); in writeEventToParcel() 882 switch (event.mEventType) { in writeEventToParcel() 941 eventOut.mEventType = p.readInt(); in readEventFromParcel() 953 switch (eventOut.mEventType) { in readEventFromParcel()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanResult.java | 87 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/ |
D | ActivityRecognitionEvent.java | 25 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/service/quickaccesswallet/ |
D | WalletServiceEvent.java | 57 private final int mEventType; field in WalletServiceEvent 63 this.mEventType = eventType; in WalletServiceEvent() 73 dest.writeInt(mEventType); in writeToParcel() 96 return mEventType; in getEventType()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionEvent.java | 125 private @EventType int mEventType; field in SelectionEvent 149 mEventType = eventType; in SelectionEvent() 158 mEventType = in.readInt(); in SelectionEvent() 182 dest.writeInt(mEventType); in writeToParcel() 376 return mEventType; in getEventType() 385 mEventType = eventType; in setEventType() 615 return isTerminal(mEventType); in isTerminal() 641 return Objects.hash(mAbsoluteStart, mAbsoluteEnd, mEventType, mEntityType, in hashCode() 659 && mEventType == other.mEventType in equals() 687 mAbsoluteStart, mAbsoluteEnd, mEventType, mEntityType, in toString()
|
D | TextClassifierEvent.java | 142 private final int mEventType; field in TextClassifierEvent 168 mEventType = builder.mEventType; in TextClassifierEvent() 182 mEventType = in.readInt(); in TextClassifierEvent() 232 dest.writeInt(mEventType); in writeToParcel() 274 return mEventType; in getEventType() 372 out.append(", mEventType=").append(mEventType); in toString() 515 private final int mEventType; field in TextClassifierEvent.Builder 539 mEventType = eventType; in Builder()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 778 private @EventType int mEventType; field in AccessibilityEvent 814 mEventType = eventType; in AccessibilityEvent() 835 mEventType = event.mEventType; in init() 917 return mEventType; in getEventType() 1023 mEventType = eventType; in setEventType() 1213 mEventType = 0; in clear() 1236 mEventType = parcel.readInt(); in initFromParcel() 1306 parcel.writeInt(mEventType); in writeToParcel() 1377 builder.append("EventType: ").append(eventTypeToString(mEventType)); in toString()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapper.java | 46 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/ |
D | UserUsageStatsService.java | 277 + eventToString(event.mEventType)); in reportEvent() 291 if (event.mEventType == Event.CONFIGURATION_CHANGE in reportEvent() 298 if (event.mEventType != Event.SYSTEM_INTERACTION in reportEvent() 302 && event.mEventType != Event.ACTIVITY_DESTROYED in reportEvent() 304 && event.mEventType != Event.FLUSH_TO_DISK in reportEvent() 306 && event.mEventType != Event.DEVICE_SHUTDOWN) { in reportEvent() 311 if (event.mEventType == Event.ACTIVITY_RESUMED) { in reportEvent() 315 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent() 322 switch (event.mEventType) { in reportEvent() 349 event.mTimeStamp, event.mEventType, event.mInstanceId); in reportEvent() [all …]
|
D | IntervalStats.java | 112 ev.mEventType = event; in addToEventStats() 203 event.mEventType = parser.readInt(IntervalStatsProto.Event.TYPE); in buildEvent() 243 switch (event.mEventType) { in buildEvent() 343 if (event.mEventType == NOTIFICATION_INTERRUPTION) { in addEvent() 548 switch (event.mEventType) { in deobfuscateEvents() 681 switch (event.mEventType) { in obfuscateEventsData()
|
D | UsageStatsProtoV2.java | 247 event.mEventType = proto.readInt(EventObfuscatedProto.TYPE); in parseEvent() 388 proto.write(EventObfuscatedProto.TYPE, event.mEventType); in writeEvent() 397 switch (event.mEventType) { in writeEvent() 669 event.mEventType = proto.readInt(PendingEventProto.TYPE); in parsePendingEvent() 696 switch (event.mEventType) { in parsePendingEvent() 755 proto.write(PendingEventProto.TYPE, event.mEventType); in writePendingEvent() 763 switch (event.mEventType) { in writePendingEvent()
|
D | UsageStatsXmlV1.java | 216 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent() 224 switch (event.mEventType) { in loadEvent()
|
D | UsageStatsProto.java | 438 proto.write(IntervalStatsProto.Event.TYPE, event.mEventType); in writeEvent() 454 switch (event.mEventType) { in writeEvent()
|
D | UsageStatsService.java | 787 switch (event.mEventType) { in reportEvent() 806 + " eventType:" + event.mEventType in reportEvent() 811 switch (event.mEventType) { in reportEvent() 844 + "/" + event.mClass + " event : " + event.mEventType in reportEvent() 861 event.mEventType = Event.ACTIVITY_STOPPED; in reportEvent()
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillEventHistory.java | 141 parcel.writeInt(event.mEventType); in writeToParcel() 246 @EventIds private final int mEventType; field in FillEventHistory.Event 270 return mEventType; in getType() 484 mEventType = Preconditions.checkArgumentInRange(eventType, 0, TYPE_DATASETS_SHOWN, in Event() 514 + ", type=" + mEventType in toString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | IntervalStatsTests.java | 75 event.mEventType = i % (MAX_EVENT_TYPE + 1); //"random" event type in populateIntervalStats() 85 switch (event.mEventType) { in populateIntervalStats() 105 intervalStats.update(event.mPackage, event.mClass, event.mTimeStamp, event.mEventType, in populateIntervalStats()
|
D | UsageStatsDatabaseTest.java | 154 event.mEventType = i % (maxEventType + 1); //"random" event type in populateIntervalStats() 164 switch (event.mEventType) { in populateIntervalStats() 187 mIntervalStats.update(event.mPackage, event.mClass, event.mTimeStamp, event.mEventType, in populateIntervalStats() 282 switch (e1.mEventType) { in compareUsageEvent() 306 assertEquals(e1.mEventType, e2.mEventType, "Usage event " + debugId); in compareUsageEvent() 307 switch (e1.mEventType) { in compareUsageEvent()
|
D | AppStandbyControllerTests.java | 522 ev.mEventType = eventType; in reportEvent()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParser.java | 49 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/core/java/android/content/res/ |
D | XmlBlock.java | 168 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/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/ |
D | UsageStatsDatabasePerfTest.java | 94 event.mEventType = UsageEvents.Event.ACTIVITY_RESUMED; in populateIntervalStats() 98 event.mEventType, 1); in populateIntervalStats()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 1153 private final int mEventType; field in TouchExplorer.SendAccessibilityEventDelayed 1157 mEventType = eventType; in SendAccessibilityEventDelayed() 1182 mDispatcher.sendAccessibilityEvent(mEventType); in run()
|