Home
last modified time | relevance | path

Searched refs:eventCount (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/net/metrics/
DDnsEvent.java39 public int eventCount; field in DnsEvent
60 if (eventCount >= SIZE_LIMIT) { in addResult()
64 if (eventCount == eventTypes.length) { in addResult()
65 resize((int) (1.4 * eventCount)); in addResult()
67 eventTypes[eventCount] = eventType; in addResult()
68 returnCodes[eventCount] = returnCode; in addResult()
69 latenciesMs[eventCount] = latencyMs; in addResult()
70 eventCount++; in addResult()
90 builder.append(String.format("%d events, ", eventCount)); in toString()
DConnectStats.java48 public int eventCount = 0; field in ConnectStats
64 eventCount++; in addEvent()
126 builder.append(String.format("%d events, ", eventCount)); in toString()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt49 private val eventCount: MutableMap<EventCountKey, Int> = mutableMapOf() in <lambda>() constant in com.android.settingslib.spa.tests.testutils.SpaLoggerForTest
58 eventCount[key] = (eventCount[key] ?: 0) + 1 in <lambda>()
68 return eventCount[key] ?: 0 in <lambda>()
73 eventCount.clear() in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DParcelableUsageEventListTest.java80 private void testParcelableUsageEventList(int eventCount) throws Exception { in testParcelableUsageEventList() argument
82 for (int i = 0; i < eventCount; i++) { in testParcelableUsageEventList()
99 assertEquals(eventCount, slice.getList().size()); in testParcelableUsageEventList()
101 for (int i = 0; i < eventCount; i++) { in testParcelableUsageEventList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java303 int eventCount = 0; in dump() local
312 eventCount++; in dump()
316 if (eventCount != mCoalescedEvents.size()) { in dump()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp875 EXPECT_EQ(1u, mSystemCB->eventCount()); in testBatteryStats()
887 EXPECT_EQ(2u, mSystemCB->eventCount()); in testBatteryStats()
892 EXPECT_EQ(2u, mSystemCB->eventCount()); in testBatteryStats()
903 EXPECT_EQ(3u, mSystemCB->eventCount()); in testBatteryStats()
908 EXPECT_EQ(3u, mSystemCB->eventCount()); in testBatteryStats()
913 EXPECT_EQ(4u, mSystemCB->eventCount()); in testBatteryStats()
918 EXPECT_EQ(5u, mSystemCB->eventCount()); in testBatteryStats()
924 EXPECT_EQ(1u, mSystemCB->eventCount()); in testCpusetBoost()
935 EXPECT_EQ(2u, mSystemCB->eventCount()); in testCpusetBoost()
940 EXPECT_EQ(2u, mSystemCB->eventCount()); in testCpusetBoost()
[all …]
DResourceManagerServiceTestUtils.h110 size_t eventCount() { return mEventCount; } in eventCount() function
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java581 final int eventCount = actionsInOrder.length; in assertCapturedEvents() local
582 assertEquals(eventCount, getCapturedEvents().size()); in assertCapturedEvents()
583 for (int i = 0; i < eventCount; i++) { in assertCapturedEvents()
584 assertEquals(actionsInOrder[eventCount - i - 1], getCapturedEvent(i).getActionMasked()); in assertCapturedEvents()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsHistoryIteratorTest.java174 final int eventCount = 0x7FFF + 100; in tagsLongHistory() local
175 for (int i = 0; i < eventCount; i++) { in tagsLongHistory()
205 for (int i = 0; i < eventCount; i++) { in tagsLongHistory()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java381 if (stats.eventCount == 0) { in flushStatistics()
388 if (ev.eventCount == 0) { in flushStatistics()
DIpConnectivityEventBuilder.java109 in.resize(in.eventCount); in toProto()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProtoV2.java592 final int eventCount = stats.events.size(); in write() local
593 for (int i = 0; i < eventCount; i++) { in write()
837 final int eventCount = events.size(); in writePendingEvents() local
838 for (int i = 0; i < eventCount; i++) { in writePendingEvents()
DUsageStatsProto.java635 final int eventCount = stats.events.size(); in write() local
636 for (int i = 0; i < eventCount; i++) { in write()
DUserUsageStatsService.java1294 final int eventCount = events != null ? events.size() : 0; in printIntervalStats() local
1295 for (int i = 0; i < eventCount; i++) { in printIntervalStats()
DUsageStatsService.java2045 final int eventCount = pendingEvents.size(); in dump() local
2046 idpw.println("Pending events: count=" + eventCount); in dump()
2048 for (int idx = 0; idx < eventCount; idx++) { in dump()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java1572 final int eventCount = mEvents.size(); in clear() local
1573 for (int i = eventCount - 1; i >= 0; i--) { in clear()
1630 final int eventCount = mEvents.size(); in run() local
1631 for (int i = 1; i < eventCount; i++) { in run()
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp123 size_t eventCount() { return mEventCount; } in eventCount() function
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h158 VKAPI_ATTR void CmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pE…
256 VKAPI_ATTR void CmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* p…
Dnull_driver.cpp1473 void CmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPi… in CmdWaitEvents() argument
1729 void CmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, con… in CmdWaitEvents2() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp520 VKAPI_ATTR void CmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pE…
619 VKAPI_ATTR void CmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* p…
1430 VKAPI_ATTR void CmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pE… in CmdWaitEvents() argument
1431 …GetData(commandBuffer).dispatch.CmdWaitEvents(commandBuffer, eventCount, pEvents, srcStageMask, ds… in CmdWaitEvents()
1826 VKAPI_ATTR void CmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* p… in CmdWaitEvents2() argument
1827 …GetData(commandBuffer).dispatch.CmdWaitEvents2(commandBuffer, eventCount, pEvents, pDependencyInfo… in CmdWaitEvents2()
2496 VKAPI_ATTR void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* … in vkCmdWaitEvents() argument
2497 …vulkan::api::CmdWaitEvents(commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryB… in vkCmdWaitEvents()
2991 VKAPI_ATTR void vkCmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent*… in vkCmdWaitEvents2() argument
2992 vulkan::api::CmdWaitEvents2(commandBuffer, eventCount, pEvents, pDependencyInfos); in vkCmdWaitEvents2()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DRcsStats.java1107 preProto.eventCount = 1; in onImsDedicatedBearerListenerAdded()
1141 preProto.eventCount = 1; in onImsDedicatedBearerListenerUpdateSession()
1719 + ", Count = " + stat.eventCount); in printAllMetrics()
DMetricsCollector.java1361 stats.eventCount); in buildStatsEvent()
DPersistAtomsStorage.java588 existingStats.eventCount += 1; in addImsDedicatedBearerListenerEvent()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java932 int eventCount = mCameraServiceProxy.getUsageEventCount();
934 pw.println("Camera usage events dumped: " + eventCount);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java810 mImsDedicatedBearerListenerEvent1.eventCount = 1; in makeTestData()
818 mImsDedicatedBearerListenerEvent2.eventCount = 1; in makeTestData()
3214 assertEquals(mImsDedicatedBearerListenerEvent1.eventCount, in addImsDedicatedBearerListenerEvent_withSameProto()
3215 output[0].eventCount); in addImsDedicatedBearerListenerEvent_withSameProto()

12