/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MetricsLoggerService.java | 87 private final ArrayDeque<ConnectivityMetricsEvent> mEvents = new ArrayDeque<>(); field in MetricsLoggerService 118 while (mEvents.size() >= MAX_NUMBER_OF_EVENTS) { in addEvent() 119 mEvents.removeFirst(); in addEvent() 122 mEvents.addLast(e); in addEvent() 170 synchronized (mEvents) { in dump() 171 pw.println("Number of events: " + mEvents.size()); in dump() 173 if (mEvents.size() > 0) { in dump() 176 (System.currentTimeMillis() - mEvents.peekFirst().timestamp) in dump() 182 for (ConnectivityMetricsEvent e : mEvents) { in dump() 192 for (ConnectivityMetricsEvent e : mEvents) { in dump() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanSessionState.java | 43 private int mEvents; field in WifiNanSessionState 56 mEvents = events; in WifiNanSessionState() 140 if (mListener != null && (mEvents & WifiNanSessionListener.LISTEN_PUBLISH_FAIL) != 0) { in onPublishFail() 152 && (mEvents & WifiNanSessionListener.LISTEN_PUBLISH_TERMINATED) != 0) { in onPublishTerminated() 169 && (mEvents & WifiNanSessionListener.LISTEN_SUBSCRIBE_FAIL) != 0) { in onSubscribeFail() 181 && (mEvents & WifiNanSessionListener.LISTEN_SUBSCRIBE_TERMINATED) != 0) { in onSubscribeTerminated() 192 && (mEvents & WifiNanSessionListener.LISTEN_MESSAGE_SEND_SUCCESS) != 0) { in onMessageSendSuccess() 203 && (mEvents & WifiNanSessionListener.LISTEN_MESSAGE_SEND_FAIL) != 0) { in onMessageSendFail() 219 if (mListener != null && (mEvents & WifiNanSessionListener.LISTEN_MATCH) != 0) { in onMatch() 239 && (mEvents & WifiNanSessionListener.LISTEN_MESSAGE_RECEIVED) != 0) { in onMessageReceived() [all …]
|
D | WifiNanClientState.java | 39 private int mEvents; field in WifiNanClientState 48 mEvents = events; in WifiNanClientState() 108 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_CONFIG_COMPLETED) != 0) { in onConfigCompleted() 118 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_CONFIG_FAILED) != 0) { in onConfigFailed() 128 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_NAN_DOWN) != 0) { in onNanDown() 142 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_IDENTITY_CHANGED) != 0) { in onInterfaceAddressChange() 156 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_IDENTITY_CHANGED) != 0) { in onClusterChange() 174 pw.println(" mEvents: " + mEvents); in dump()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 74 private final CircularArray<UsageEvents.Event> mEvents = new CircularArray<>(MAX_EVENTS); field in UsageLogActivity.Adapter 82 if (mEvents.size() == MAX_EVENTS) { in update() 83 mEvents.popLast(); in update() 85 mEvents.addFirst(event); in update() 96 return mEvents.size(); in getCount() 101 return mEvents.get(position); in getItem()
|
/frameworks/av/media/mtp/ |
D | MtpDeviceInfo.cpp | 33 mEvents(NULL), in MtpDeviceInfo() 48 delete mEvents; in ~MtpDeviceInfo() 76 mEvents = packet.getAUInt16(); in read() 77 if (!mEvents) return false; in read()
|
D | MtpDeviceInfo.h | 34 UInt16List* mEvents; variable
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustArchive.java | 71 ArrayDeque<Event> mEvents = new ArrayDeque<Event>(); field in TrustArchive 108 if (mEvents.size() >= HISTORY_LIMIT) { in addEvent() 109 mEvents.removeFirst(); in addEvent() 111 mEvents.addLast(e); in addEvent() 117 Iterator<Event> iter = mEvents.descendingIterator(); in dump()
|
/frameworks/native/services/surfaceflinger/ |
D | MessageQueue.cpp | 96 mEvents = eventThread->createEventConnection(); in setEventThread() 97 mEventTube = mEvents->getDataChannel(); in setEventThread() 138 mEvents->requestNextVsync(); in invalidate()
|
D | MessageQueue.h | 83 sp<IDisplayEventConnection> mEvents; variable
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 232 if (record != null && record.mEvents == events) { in updateOnFileDescriptorEventListenerLocked() 248 record.mEvents = events; in updateOnFileDescriptorEventListenerLocked() 253 record.mEvents = 0; in updateOnFileDescriptorEventListenerLocked() 271 oldWatchedEvents = record.mEvents; in dispatchEvents() 295 record.mEvents = newWatchedEvents; in dispatchEvents() 861 public int mEvents; field in MessageQueue.FileDescriptorRecord 868 mEvents = events; in FileDescriptorRecord()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 1138 private final List<MotionEvent> mEvents = new ArrayList<MotionEvent>(); field in TouchExplorer.SendHoverEnterAndMoveDelayed 1153 mEvents.add(MotionEvent.obtain(event)); in addEvent() 1170 final int eventCount = mEvents.size(); in clear() 1172 mEvents.remove(i).recycle(); in clear() 1187 if (!mEvents.isEmpty()) { in run() 1189 sendMotionEvent(mEvents.get(0), MotionEvent.ACTION_HOVER_ENTER, in run() 1197 final int eventCount = mEvents.size(); in run() 1199 sendMotionEvent(mEvents.get(i), MotionEvent.ACTION_HOVER_MOVE, in run()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 263 assert(deviceInfo->mEvents); in android_mtp_MtpDevice_get_device_info() 265 const size_t size = deviceInfo->mEvents->size(); in android_mtp_MtpDevice_get_device_info() 274 elements[i] = deviceInfo->mEvents->itemAt(i); in android_mtp_MtpDevice_get_device_info()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 335 List<RawEvent> mEvents; member in android::FakeEventHub 456 mEvents.push_back(event); in enqueueEvent() 464 ASSERT_EQ(size_t(0), mEvents.size()) in assertQueueIsEmpty() 568 if (mEvents.empty()) { in getEvents() 572 *buffer = *mEvents.begin(); in getEvents() 573 mEvents.erase(mEvents.begin()); in getEvents()
|