/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 128 int eventCode; in loadUsageStats() local 129 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT) { in loadUsageStats() 131 if (eventCode == XmlPullParser.END_TAG && tag.equals(PACKAGE_TAG)) { in loadUsageStats() 134 if (eventCode != XmlPullParser.START_TAG) { in loadUsageStats() 166 int eventCode; in loadChooserCounts() local 167 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT) { in loadChooserCounts() 169 if (eventCode == XmlPullParser.END_TAG && tag.equals(CHOOSER_COUNT_TAG)) { in loadChooserCounts() 172 if (eventCode != XmlPullParser.START_TAG) { in loadChooserCounts() 272 int eventCode; in read() local 274 while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT in read() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
D | BatteryStatsHistoryIteratorTest.java | 140 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_NONE); in tagsLongHistory() 145 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_NONE); in tagsLongHistory() 151 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_NONE); in tagsLongHistory() 161 || item.eventCode == BatteryStats.HistoryItem.EVENT_NONE); in tagsLongHistory() 163 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_ALARM in tagsLongHistory() 170 || item.eventCode == BatteryStats.HistoryItem.EVENT_NONE); in tagsLongHistory() 172 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_ALARM in tagsLongHistory() 221 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS); in cpuSuspendHistoryEvents() 235 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS); in cpuSuspendHistoryEvents() 239 assertThat(item.eventCode).isEqualTo(BatteryStats.HistoryItem.EVENT_ALARM_START); in cpuSuspendHistoryEvents() [all …]
|
D | BatteryUsageStatsProviderTest.java | 318 || item.eventCode == BatteryStats.HistoryItem.EVENT_NONE) { in testWriteAndReadHistoryTags() 323 assertThat(item.eventCode).isEqualTo( in testWriteAndReadHistoryTags() 334 private void assertHistoryItem(BatteryStats.HistoryItem item, int command, int eventCode, in assertHistoryItem() argument 337 assertThat(item.eventCode).isEqualTo(eventCode); in assertHistoryItem()
|
D | BatteryStatsNoteTest.java | 271 if (item.eventCode == HistoryItem.EVENT_LONG_WAKE_LOCK_START) break; in testNoteLongPartialWakelockStart_isolatedUid() 273 assertThat(item.eventCode).isEqualTo(HistoryItem.EVENT_LONG_WAKE_LOCK_START); in testNoteLongPartialWakelockStart_isolatedUid() 279 if (item.eventCode == HistoryItem.EVENT_LONG_WAKE_LOCK_FINISH) break; in testNoteLongPartialWakelockStart_isolatedUid() 281 assertThat(item.eventCode).isEqualTo(HistoryItem.EVENT_LONG_WAKE_LOCK_FINISH); in testNoteLongPartialWakelockStart_isolatedUid() 327 if (item.eventCode == HistoryItem.EVENT_LONG_WAKE_LOCK_START) break; in testNoteLongPartialWakelockStart_isolatedUidRace() 329 assertThat(item.eventCode).isEqualTo(HistoryItem.EVENT_LONG_WAKE_LOCK_START); in testNoteLongPartialWakelockStart_isolatedUidRace() 335 if (item.eventCode == HistoryItem.EVENT_LONG_WAKE_LOCK_FINISH) break; in testNoteLongPartialWakelockStart_isolatedUidRace() 337 assertThat(item.eventCode).isEqualTo(HistoryItem.EVENT_LONG_WAKE_LOCK_FINISH); in testNoteLongPartialWakelockStart_isolatedUidRace() 941 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked() 944 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked() [all …]
|
D | BatteryStatsHistoryTest.java | 414 if (item.eventCode == HistoryItem.EVENT_ALARM_START) { in largeTagPool()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpEvent.java | 207 public IllegalParameterAccess(String propertyName, int eventCode) { in IllegalParameterAccess() argument 208 super("Cannot obtain " + propertyName + " for the event: " + eventCode + "."); in IllegalParameterAccess()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 459 void onEvent(int eventCode, @Nullable V info); 550 public void onEvent(int eventCode, V info) { 557 listener.onEvent(eventCode, info); 561 listener.onEvent(eventCode, info); 613 public void notify(int eventCode, @Nullable V info) { 628 listener.onEvent(eventCode, info);
|
D | AudioTrack.java | 4001 (int eventCode, AudioMetadataReadMap readMap) -> { in addOnCodecFormatChangedListener()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | BatteryStatsServiceTest.java | 73 final int eventCode = 12345; in testAwaitCompletion() 85 mBatteryStatsService.noteEvent(eventCode, eventName, uid); in testAwaitCompletion()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 993 mHistoryCur.eventCode = code; in recordEvent() 1314 mHistoryAddTmp.eventCode = HistoryItem.EVENT_NONE; in writeHistoryItem() 1327 recordTraceEvents(cur.eventCode, cur.eventTag); in writeHistoryItem() 1364 && (mHistoryLastWritten.eventCode == HistoryItem.EVENT_NONE in writeHistoryItem() 1365 || cur.eventCode == HistoryItem.EVENT_NONE) in writeHistoryItem() 1400 if (mHistoryLastWritten.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryItem() 1401 cur.eventCode = mHistoryLastWritten.eventCode; in writeHistoryItem() 1455 copy.eventCode = HistoryItem.EVENT_NONE; in writeHistoryItem() 1484 cur.eventCode = HistoryItem.EVENT_NONE; in writeHistoryItem() 1641 if (cur.eventCode != HistoryItem.EVENT_NONE) { in writeHistoryDelta() [all …]
|
D | BatteryStatsHistoryIterator.java | 201 cur.eventCode = (codeAndIndex & 0xffff); in readHistoryDelta() 210 Slog.i(TAG, "READ DELTA: event=" + cur.eventCode + " tag=#" in readHistoryDelta() 215 cur.eventCode = BatteryStats.HistoryItem.EVENT_NONE; in readHistoryDelta()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | XmlParser.cpp | 45 pos.eventCode == rhs_pos.eventCode; in operator ==()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 837 const int eventCode = device->reapEventRequest(seq, ¶meters); in android_mtp_MtpDevice_reap_event_request() local 838 if (eventCode <= 0) { in android_mtp_MtpDevice_reap_event_request() 843 env->SetIntField(result, field_event_eventCode, eventCode); in android_mtp_MtpDevice_reap_event_request()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2096 public int eventCode; field in BatteryStats.HistoryItem 2131 | (eventCode != EVENT_NONE ? 0x40000000 : 0); in writeToParcel() 2147 if (eventCode != EVENT_NONE) { in writeToParcel() 2148 dest.writeInt(eventCode); in writeToParcel() 2186 eventCode = src.readInt(); in readFromParcel() 2190 eventCode = EVENT_NONE; in readFromParcel() 2218 eventCode = EVENT_NONE; in clear() 2263 eventCode = o.eventCode; in setToCommon() 2293 if (!sameNonEvent(o) || eventCode != o.eventCode) { in same() 7092 if (rec.eventCode != HistoryItem.EVENT_NONE) { in printNextItem() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 243 int eventCode = (Integer) ar.result; 244 if (eventCode == SIMRecords.EVENT_SPN) {
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1675 event_code_t eventCode = (event_code_t)dtohs(next->header.type); in nextNode() local 1676 switch ((mEventCode=eventCode)) { in nextNode() 1708 return eventCode; in nextNode() 1714 pos->eventCode = mEventCode; in getPosition() 1721 mEventCode = pos.eventCode; in setPosition() 1885 const uint16_t eventCode = dtohs(node->header.type); in validateNode() local 1893 if (eventCode != RES_XML_START_ELEMENT_TYPE) { in validateNode()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 739 event_code_t eventCode; member
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 3678 private void processIccRecordEvents(int eventCode) { in processIccRecordEvents() argument 3679 switch (eventCode) { in processIccRecordEvents()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 34820 Landroid/os/BatteryStats$HistoryItem;->eventCode:I
|