Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/mtp/
DMtpEvent.java207 public IllegalParameterAccess(String propertyName, int eventCode) { in IllegalParameterAccess() argument
208 super("Cannot obtain " + propertyName + " for the event: " + eventCode + "."); in IllegalParameterAccess()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java195 int eventCode; in read() local
197 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT in read()
198 && (eventCode != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in read()
199 if (eventCode != XmlPullParser.START_TAG) { in read()
/frameworks/base/core/java/android/os/
DBatteryStats.java1320 public int eventCode; field in BatteryStats.HistoryItem
1356 | (eventCode != EVENT_NONE ? 0x40000000 : 0); in writeToParcel()
1370 if (eventCode != EVENT_NONE) { in writeToParcel()
1371 dest.writeInt(eventCode); in writeToParcel()
1406 eventCode = src.readInt(); in readFromParcel()
1410 eventCode = EVENT_NONE; in readFromParcel()
1435 eventCode = EVENT_NONE; in clear()
1473 eventCode = o.eventCode; in setToCommon()
1497 if (!sameNonEvent(o) || eventCode != o.eventCode) { in same()
4810 if (rec.eventCode != HistoryItem.EVENT_NONE) { in printNextItem()
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp684 const int eventCode = device->reapEventRequest(seq, &parameters); in android_mtp_MtpDevice_reap_event_request() local
685 if (eventCode <= 0) { in android_mtp_MtpDevice_reap_event_request()
690 env->SetIntField(result, field_event_eventCode, eventCode); in android_mtp_MtpDevice_reap_event_request()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java290 int eventCode = (Integer) ar.result; in handleMessage() local
291 if (eventCode == SIMRecords.EVENT_SPN) { in handleMessage()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2265 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
2327 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
2329 int codeAndIndex = (cur.eventCode&0xffff) | (index<<16); in writeHistoryDelta()
2331 if (DEBUG) Slog.i(TAG, "WRITE DELTA: event=" + cur.eventCode + " tag=#" in writeHistoryDelta()
2589 cur.eventCode = (codeAndIndex&0xffff); in readHistoryDelta()
2593 if (DEBUG) Slog.i(TAG, "READ DELTA: event=" + cur.eventCode + " tag=#" in readHistoryDelta()
2597 cur.eventCode = HistoryItem.EVENT_NONE; in readHistoryDelta()
2638 && (mHistoryLastWritten.eventCode == HistoryItem.EVENT_NONE in addHistoryBufferLocked()
2639 || cur.eventCode == HistoryItem.EVENT_NONE) in addHistoryBufferLocked()
2672 if (mHistoryLastWritten.eventCode != HistoryItem.EVENT_NONE) { in addHistoryBufferLocked()
[all …]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1482 event_code_t eventCode = (event_code_t)dtohs(next->header.type); in nextNode() local
1483 switch ((mEventCode=eventCode)) { in nextNode()
1515 return eventCode; in nextNode()
1521 pos->eventCode = mEventCode; in getPosition()
1528 mEventCode = pos.eventCode; in setPosition()
1682 const uint16_t eventCode = dtohs(node->header.type); in validateNode() local
1690 if (eventCode != RES_XML_START_ELEMENT_TYPE) { in validateNode()
/frameworks/base/include/androidfw/
DResourceTypes.h707 event_code_t eventCode; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java2392 private void processIccRecordEvents(int eventCode) { in processIccRecordEvents() argument
2393 switch (eventCode) { in processIccRecordEvents()