Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java129 int eventCode; in loadUsageStats() local
130 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT) { in loadUsageStats()
132 if (eventCode == XmlPullParser.END_TAG && tag.equals(PACKAGE_TAG)) { in loadUsageStats()
135 if (eventCode != XmlPullParser.START_TAG) { in loadUsageStats()
167 int eventCode; in loadChooserCounts() local
168 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT) { in loadChooserCounts()
170 if (eventCode == XmlPullParser.END_TAG && tag.equals(CHOOSER_COUNT_TAG)) { in loadChooserCounts()
173 if (eventCode != XmlPullParser.START_TAG) { in loadChooserCounts()
402 int eventCode; in read() local
404 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT in read()
[all …]
/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/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java314 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked()
321 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked()
324 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked()
353 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
358 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
361 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
366 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
371 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp687 const int eventCode = device->reapEventRequest(seq, &parameters); in android_mtp_MtpDevice_reap_event_request() local
688 if (eventCode <= 0) { in android_mtp_MtpDevice_reap_event_request()
693 env->SetIntField(result, field_event_eventCode, eventCode); in android_mtp_MtpDevice_reap_event_request()
/frameworks/base/core/java/android/os/
DBatteryStats.java1814 public int eventCode; field in BatteryStats.HistoryItem
1851 | (eventCode != EVENT_NONE ? 0x40000000 : 0); in writeToParcel()
1867 if (eventCode != EVENT_NONE) { in writeToParcel()
1868 dest.writeInt(eventCode); in writeToParcel()
1905 eventCode = src.readInt(); in readFromParcel()
1909 eventCode = EVENT_NONE; in readFromParcel()
1937 eventCode = EVENT_NONE; in clear()
1979 eventCode = o.eventCode; in setToCommon()
2006 if (!sameNonEvent(o) || eventCode != o.eventCode) { in same()
6484 if (rec.eventCode != HistoryItem.EVENT_NONE) { in printNextItem()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java221 int eventCode = (Integer) ar.result;
222 if (eventCode == SIMRecords.EVENT_SPN) {
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1546 event_code_t eventCode = (event_code_t)dtohs(next->header.type); in nextNode() local
1547 switch ((mEventCode=eventCode)) { in nextNode()
1579 return eventCode; in nextNode()
1585 pos->eventCode = mEventCode; in getPosition()
1592 mEventCode = pos.eventCode; in setPosition()
1757 const uint16_t eventCode = dtohs(node->header.type); in validateNode() local
1765 if (eventCode != RES_XML_START_ELEMENT_TYPE) { in validateNode()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3251 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
3313 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta()
3315 int codeAndIndex = (cur.eventCode&0xffff) | (index<<16); in writeHistoryDelta()
3317 if (DEBUG) Slog.i(TAG, "WRITE DELTA: event=" + cur.eventCode + " tag=#" in writeHistoryDelta()
3583 cur.eventCode = (codeAndIndex&0xffff); in readHistoryDelta()
3587 if (DEBUG) Slog.i(TAG, "READ DELTA: event=" + cur.eventCode + " tag=#" in readHistoryDelta()
3591 cur.eventCode = HistoryItem.EVENT_NONE; in readHistoryDelta()
3641 && (mHistoryLastWritten.eventCode == HistoryItem.EVENT_NONE in addHistoryBufferLocked()
3642 || cur.eventCode == HistoryItem.EVENT_NONE) in addHistoryBufferLocked()
3675 if (mHistoryLastWritten.eventCode != HistoryItem.EVENT_NONE) { in addHistoryBufferLocked()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h714 event_code_t eventCode; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java3223 private void processIccRecordEvents(int eventCode) { in processIccRecordEvents() argument
3224 switch (eventCode) { in processIccRecordEvents()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48659 Landroid/os/BatteryStats$HistoryItem;->eventCode:I