Searched refs:mLastEvent (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | ProximitySensorTest.java | 61 assertNull(listener.mLastEvent); in testSingleListener() 64 assertFalse(listener.mLastEvent.getNear()); in testSingleListener() 67 assertTrue(listener.mLastEvent.getNear()); in testSingleListener() 87 assertNull(listenerA.mLastEvent); in testMultiListener() 88 assertNull(listenerB.mLastEvent); in testMultiListener() 91 assertFalse(listenerA.mLastEvent.getNear()); in testMultiListener() 92 assertFalse(listenerB.mLastEvent.getNear()); in testMultiListener() 96 assertTrue(listenerA.mLastEvent.getNear()); in testMultiListener() 97 assertTrue(listenerB.mLastEvent.getNear()); in testMultiListener() 118 assertNull(listenerA.mLastEvent); in testDuplicateListener() [all …]
|
D | FakeProximitySensor.java | 35 mLastEvent = event; in setLastEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 73 private MotionEvent mLastEvent; field in TouchExplorerTest 94 if (mLastEvent != null) { in onMotionEvent() 95 MotionEventMatcher lastEventMatcher = new MotionEventMatcher(mLastEvent); in onMotionEvent() 145 mLastEvent = null; in clearEventsWhenInTwoFingerMove_clearsStateAndSendsUp() 223 moveEachPointers(mLastEvent, p(10, 0), p(5, 10)); in goFromStateClearTo() 224 send(mLastEvent); in goFromStateClearTo() 229 moveEachPointers(mLastEvent, p(10, 0), p(10, 0)); in goFromStateClearTo() 230 send(mLastEvent); in goFromStateClearTo() 235 moveEachPointers(mLastEvent, p(10, 0), p(-10, 1)); in goFromStateClearTo() 236 send(mLastEvent); in goFromStateClearTo() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | ProximitySensor.java | 51 @VisibleForTesting ProximityEvent mLastEvent; field in ProximitySensor 217 return getSensorAvailable() && mLastEvent != null ? mLastEvent.getNear() : null; in isNear() 228 proximitySensorListener.onSensorEvent(mLastEvent)); in alertListeners() 234 mLastEvent = new ProximityEvent(near, event.timestamp); in onSensorEvent()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 127 public int mLastEvent; field in UsageStats 173 mLastEvent = stats.mLastEvent; in UsageStats() 624 dest.writeInt(mLastEvent); in writeToParcel() 678 stats.mLastEvent = in.readInt();
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 71 mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback() 88 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo() 93 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo() 98 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo() 103 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost() 109 EventType lastEventType() { return mLastEvent.type; } in lastEventType() 110 EventEntry lastEvent() { return mLastEvent; } in lastEvent() 116 EventEntry mLastEvent; member
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 91 tempPackage.mLastEvent = stats.mLastEvent; in loadUsageStats() 101 tempPackageIndex.mLastEvent = stats.mLastEvent; in loadUsageStats() 115 stats.mLastEvent = in loadUsageStats() 337 usageStats.mLastEvent); in writeUsageStats()
|
D | UsageStatsXmlV1.java | 125 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 964 RawEvent mLastEvent GUARDED_BY(mLock); 1024 *outLastEvent = mLastEvent; in assertProcessWasCalled() 1079 mLastEvent = *rawEvent; in process()
|