Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/statsd/
DTraceEventStats.java29 private int mEventType = field in TraceEventStats
55 this.mEventType = eventType; in TraceEventStats()
64 return mEventType; in getEventType()
90 && mEventType == that.mEventType in equals()
102 _hash = 31 * _hash + mEventType; in hashCode()
115 private int mEventType; field in TraceEventStats.Builder
128 mEventType = value; in setEventType()
154mEventType = FEDERATED_COMPUTE_TRACE_EVENT_REPORTED__TRACE_KIND__TRACE_EVENT_KIND_UNSPECIFIED; in build()
163 mEventType, in build()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyEvent.java37 private final int mEventType; field in CarPropertyEvent
52 return mEventType; in getEventType()
70 dest.writeInt(mEventType); in writeToParcel()
93 mEventType = eventType; in CarPropertyEvent()
103 mEventType = eventType; in CarPropertyEvent()
132 mEventType = in.readInt(); in CarPropertyEvent()
140 + "mEventType=" + mEventType in toString()
156 return mEventType == carPropertyEvent.mEventType in equals()
164 return Objects.hash(mEventType, mErrorCode, mCarPropertyValue); in hashCode()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanResult.java74 private int mEventType; field in ScanResult
98 mEventType = (DATA_COMPLETE << 5) | ET_LEGACY_MASK | ET_CONNECTABLE_MASK; in ScanResult()
132 mEventType = eventType; in ScanResult()
163 dest.writeInt(mEventType); in writeToParcel()
180 mEventType = in.readInt(); in readFromParcel()
229 return (mEventType & ET_LEGACY_MASK) != 0; in isLegacy()
234 return (mEventType & ET_CONNECTABLE_MASK) != 0; in isConnectable()
243 return (mEventType >> 5) & 0x03; in getDataStatus()
296 mEventType, in hashCode()
317 && mEventType == other.mEventType in equals()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/statsd/
DTraceEventStats.java33 private int mEventType = ON_DEVICE_PERSONALIZATION_TRACE_EVENT__EVENT_TYPE__UNKNOWN; field in TraceEventStats
61 this.mEventType = eventType; in TraceEventStats()
76 return mEventType; in getEventType()
108 && mEventType == that.mEventType in equals()
122 _hash = 31 * _hash + mEventType; in hashCode()
137 private int mEventType; field in TraceEventStats.Builder
159 mEventType = value; in setEventType()
196 mEventType = 0; in build()
209 mEventType, in build()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java78 final private int mEventType; // The type of event - one of the constants above field in Event
117 mEventType = type; in Event()
128 if (EVENT_TYPE_SUGGESTION_PICKED == mEventType) { in Event()
258 return new Event(source.mEventType, source.mText, source.mCodePoint, source.mKeyCode, in createConsumedEvent()
288 public boolean isGesture() { return EVENT_TYPE_GESTURE == mEventType; } in isGesture()
293 return EVENT_TYPE_SUGGESTION_PICKED == mEventType; in isSuggestionStripPress()
297 return EVENT_TYPE_NOT_HANDLED != mEventType; in isHandled()
304 switch (mEventType) { in getTextToCommit()
317 throw new RuntimeException("Unknown event type: " + mEventType); in getTextToCommit()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java135 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_onlyNotificationEvents()
140 bad.mEventType = Event.CHOOSER_ACTION; in testGetAggregatedUsageEvents_onlyNotificationEvents()
157 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multipleEventsAgg()
162 good1.mEventType = Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multipleEventsAgg()
180 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multiplePkgs()
185 good1.mEventType = Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multiplePkgs()
224 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testLoadAllExtraInfo_multipleEventsAgg()
252 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testLoadAllExtraInfo_multiplePkgs()
258 good1.mEventType = Event.NOTIFICATION_INTERRUPTION; in testLoadAllExtraInfo_multiplePkgs()
295 good.mEventType = Event.NOTIFICATION_INTERRUPTION; in testLoadAllExtraInfo_multipleUsers()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DWnmData.java51 private final @WmnEventType int mEventType; field in WnmData
63 mEventType = eventType; in WnmData()
131 return mEventType; in getEventType()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/notification/
DAppNotificationRepositoryTest.kt115 mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION in mockSentCount()
129 mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION in <lambda>()
134 mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION in <lambda>()
139 mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION in <lambda>()
/packages/services/Car/tools/GenericCarApiBuilder/res/
DTest1.txt136 private final @UserLifecycleEventType int mEventType;
143 mEventType = eventType;
155 return mEventType;
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java160 good.mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multipleEventsAgg()
166 good2.mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multipleEventsAgg()
172 good1.mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION; in testGetAggregatedUsageEvents_multipleEventsAgg()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java1315 private final @UserLifecycleEventType int mEventType; field in CarUserManager.UserLifecycleEvent
1322 mEventType = eventType; in UserLifecycleEvent()
1350 return mEventType; in getEventType()
1399 .append(lifecycleEventTypeToString(mEventType)); in toString()
1417 return mEventType == that.mEventType && mUserId == that.mUserId in equals()
1424 hash = 17 * hash + mEventType; in hashCode()
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/cts/
DCardEmulationTest.java397 int mEventType; field in CardEmulationTest.EventPollLoopReceiver.EventLogEntry
402 mEventType = eventType; in EventLogEntry()
636 assertEquals(EventPollLoopReceiver.PREFERRED_SERVICE, event.mEventType); in testEventListener()
646 assertEquals(EventPollLoopReceiver.OBSERVE_MODE, event.mEventType); in testEventListener()
655 assertEquals(EventPollLoopReceiver.OBSERVE_MODE, event.mEventType); in testEventListener()
663 assertEquals(EventPollLoopReceiver.PREFERRED_SERVICE, event.mEventType); in testEventListener()
731 assertEquals(EventPollLoopReceiver.PREFERRED_SERVICE, lostEvent.mEventType); in testEventListener_WalletHolderToForegroundAndBack()
738 EventPollLoopReceiver.PREFERRED_SERVICE, gainedEvent.mEventType); in testEventListener_WalletHolderToForegroundAndBack()
749 assertEquals(EventPollLoopReceiver.OBSERVE_MODE, event.mEventType); in testEventListener_WalletHolderToForegroundAndBack()
761 assertEquals(EventPollLoopReceiver.OBSERVE_MODE, event.mEventType); in testEventListener_WalletHolderToForegroundAndBack()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java423 event.mEventType = UsageEvents.Event.ACTIVITY_RESUMED; in convertToAppUsageEvent_returnsExpectedResult()
446 event.mEventType = UsageEvents.Event.DEVICE_SHUTDOWN; in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnsExpectedResult()
479 event.mEventType = UsageEvents.Event.DEVICE_SHUTDOWN; in convertToAppUsageEvent_failToGetUid_returnsNull()
DDataProcessManagerTest.java443 event.mEventType = eventType; in getUsageEvent()
DDataProcessorTest.java2486 event.mEventType = eventType; in getUsageEvent()
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceControllerTest.java214 app.mEventType = UsageEvents.Event.NOTIFICATION_INTERRUPTION; in createUsageEvent()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java566 e.mEventType = eventType; in createIndividualUsageEvent()