Home
last modified time | relevance | path

Searched refs:mLastEvent (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
H A DProximitySensorImplSingleTest.java68 assertNull(listener.mLastEvent); in testSingleListener()
91 assertNull(listenerA.mLastEvent); in testMultiListener()
92 assertNull(listenerB.mLastEvent); in testMultiListener()
119 assertNull(listenerA.mLastEvent); in testDuplicateListener()
137 assertNull(listener.mLastEvent); in testUnregister()
154 assertNull(listener.mLastEvent); in testPauseAndResume()
195 assertNull(listenerA.mLastEvent); in testAlertListeners()
196 assertNull(listenerB.mLastEvent); in testAlertListeners()
199 assertNull(listenerA.mLastEvent); in testAlertListeners()
234 ThresholdSensorEvent mLastEvent; field in ProximitySensorImplSingleTest.TestableListener
[all …]
H A DProximitySensorImplDualTest.java74 assertNull(listener.mLastEvent); in testInitiallyAbovePrimary()
92 assertNull(listener.mLastEvent); in testInitiallyBelowPrimaryAboveSecondary()
96 assertNull(listener.mLastEvent); in testInitiallyBelowPrimaryAboveSecondary()
114 assertNull(listener.mLastEvent); in testInitiallyBelowPrimaryAndSecondary()
118 assertNull(listener.mLastEvent); in testInitiallyBelowPrimaryAndSecondary()
135 assertNull(listener.mLastEvent); in testPrimaryBelowDoesNotInvokeSecondary()
153 assertNull(listener.mLastEvent); in testSingleListener()
160 assertNull(listener.mLastEvent); in testSingleListener()
167 assertNull(listener.mLastEvent); in testSingleListener()
187 assertNull(listener.mLastEvent); in testSecondaryPausing()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
H A DTouchExplorerTest.java165 send(mLastEvent); in testOneFingerMove_shouldInjectHoverEvents()
180 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
185 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
188 send(mLastEvent); in testOneFingerMoveWithExtraMoveEvents()
243 send(mLastEvent); in testTwoFingerDragWithExtraMoveEvents()
246 send(mLastEvent); in testTwoFingerDragWithExtraMoveEvents()
255 send(mLastEvent); in testUpEvent_OneFingerMove_clearStateAndInjectHoverEvents()
280 send(mLastEvent); in testFlickCrossViews_clearStateAndExpectedEvents()
335 mLastEvent = null; in clearEventsWhenInTwoFingerMove_clearsStateAndSendsUp()
396 send(mLastEvent); in testCanceledGesture_shouldDoNothing()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DLocationTimeZoneManagerServiceState.java35 @Nullable private final LocationAlgorithmEvent mLastEvent; field in LocationTimeZoneManagerServiceState
42 mLastEvent = builder.mLastEvent; in LocationTimeZoneManagerServiceState()
54 return mLastEvent; in getLastEvent()
76 + ", mLastEvent=" + mLastEvent in toString()
86 private LocationAlgorithmEvent mLastEvent; field in LocationTimeZoneManagerServiceState.Builder
99 mLastEvent = Objects.requireNonNull(lastEvent); in setLastEvent()
H A DLocationTimeZoneProviderController.java182 private LocationAlgorithmEvent mLastEvent; field in LocationTimeZoneProviderController
319 mLastEvent = event; in reportEvent()
679 ipw.println("mLastEvent=" + mLastEvent); in dump()
852 if (mLastEvent != null) { in getStateForTests()
853 builder.setLastEvent(mLastEvent); in getStateForTests()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
H A DProximitySensorImpl.java72 ThresholdSensorEvent mLastEvent; field in ProximitySensorImpl
282 mLastEvent = null; in unregisterInternal()
288 return isLoaded() && mLastEvent != null ? mLastEvent.getBelow() : null; in isNear()
297 if (mLastEvent != null) { in alertListeners()
298 ThresholdSensorEvent lastEvent = mLastEvent; // Listeners can null out mLastEvent. in alertListeners()
341 if (mLastEvent != null && event.getBelow() == mLastEvent.getBelow()) { in onSensorEvent()
349 mLastEvent = event; in onSensorEvent()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DMagnificationGesturesObserver.java89 private MotionEvent mLastEvent; field in MagnificationGesturesObserver
151 mLastEvent); in notifyDetectionCancel()
174 if (mLastEvent == null) { in recycleLastEvent()
177 mLastEvent.recycle(); in recycleLastEvent()
178 mLastEvent = null; in recycleLastEvent()
183 mLastEvent = MotionEvent.obtain(event); in cacheDelayedMotionEvent()
/aosp14/frameworks/base/core/java/android/app/usage/
H A DUsageStats.java141 public int mLastEvent; field in UsageStats
189 mLastEvent = stats.mLastEvent; in UsageStats()
673 dest.writeInt(mLastEvent); in writeToParcel()
728 stats.mLastEvent = in.readInt();
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
H A DFakeProximitySensor.java45 mLastEvent = event; in setLastEvent()
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsProto.java91 tempPackage.mLastEvent = stats.mLastEvent; in loadUsageStats()
101 tempPackageIndex.mLastEvent = stats.mLastEvent; in loadUsageStats()
115 stats.mLastEvent = in loadUsageStats()
341 usageStats.mLastEvent); in writeUsageStats()
H A DUsageStatsXmlV1.java125 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()