Home
last modified time | relevance | path

Searched refs:eventCode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java196 int eventCode; in read() local
198 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT in read()
199 && (eventCode != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in read()
200 if (eventCode != XmlPullParser.START_TAG) { in read()
/frameworks/base/core/java/android/os/
DBatteryStats.java739 public int eventCode; field in BatteryStats.HistoryItem
775 | (eventCode != EVENT_NONE ? 0x40000000 : 0); in writeToParcel()
788 if (eventCode != EVENT_NONE) { in writeToParcel()
789 dest.writeInt(eventCode); in writeToParcel()
823 eventCode = src.readInt(); in readFromParcel()
827 eventCode = EVENT_NONE; in readFromParcel()
851 eventCode = EVENT_NONE; in clear()
888 eventCode = o.eventCode; in setToCommon()
911 if (!sameNonEvent(o) || eventCode != o.eventCode) { in same()
3667 if (rec.eventCode != HistoryItem.EVENT_NONE) { in printNextItem()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java306 int eventCode = (Integer) ar.result; in handleMessage() local
307 if (eventCode == SIMRecords.EVENT_SPN) { in handleMessage()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1978 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
2035 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
2037 int codeAndIndex = (cur.eventCode&0xffff) | (index<<16); in writeHistoryDelta()
2039 if (DEBUG) Slog.i(TAG, "WRITE DELTA: event=" + cur.eventCode + " tag=#" in writeHistoryDelta()
2173 cur.eventCode = (codeAndIndex&0xffff); in readHistoryDelta()
2177 if (DEBUG) Slog.i(TAG, "READ DELTA: event=" + cur.eventCode + " tag=#" in readHistoryDelta()
2181 cur.eventCode = HistoryItem.EVENT_NONE; in readHistoryDelta()
2210 && (mHistoryLastWritten.eventCode == HistoryItem.EVENT_NONE in addHistoryBufferLocked()
2211 || cur.eventCode == HistoryItem.EVENT_NONE) in addHistoryBufferLocked()
2244 if (mHistoryLastWritten.eventCode != HistoryItem.EVENT_NONE) { in addHistoryBufferLocked()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java1663 private void processIccRecordEvents(int eventCode) { in processIccRecordEvents() argument
1664 switch (eventCode) { in processIccRecordEvents()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1418 event_code_t eventCode = (event_code_t)dtohs(next->header.type); in nextNode() local
1419 switch ((mEventCode=eventCode)) { in nextNode()
1451 return eventCode; in nextNode()
1457 pos->eventCode = mEventCode; in getPosition()
1464 mEventCode = pos.eventCode; in setPosition()
1608 const uint16_t eventCode = dtohs(node->header.type); in validateNode() local
1616 if (eventCode != RES_XML_START_ELEMENT_TYPE) { in validateNode()
/frameworks/base/include/androidfw/
DResourceTypes.h700 event_code_t eventCode; member