Home
last modified time | relevance | path

Searched refs:StorageStatsEvent (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSandboxesStorageMetrics.java72 public List<StorageStatsEvent> consumeStorageStatsEvents() { in consumeStorageStatsEvents()
73 List<StorageStatsEvent> sandboxStorageStatsEvents = new ArrayList<>(); in consumeStorageStatsEvents()
81 new StorageStatsEvent( in consumeStorageStatsEvents()
84 new StorageStatsEvent( in consumeStorageStatsEvents()
96 static class StorageStatsEvent { class in SandboxesStorageMetrics
101 StorageStatsEvent(boolean shared, int storageKb, int uid) { in StorageStatsEvent() method in SandboxesStorageMetrics.StorageStatsEvent
110 if (!(o instanceof StorageStatsEvent)) return false; in equals()
111 StorageStatsEvent that = (StorageStatsEvent) o; in equals()
DSdkSandboxPulledAtoms.java21 import static com.android.server.sdksandbox.SandboxesStorageMetrics.StorageStatsEvent;
78 for (StorageStatsEvent sandboxStorageStatsEvent : in initialize()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSandboxesStorageMetricsUnitTest.java19 import static com.android.server.sdksandbox.SandboxesStorageMetrics.StorageStatsEvent;
48 final List<StorageStatsEvent> expectedStorageStatsEvents = new ArrayList<>(); in testGetStorageStatsEvents_checkLimit()
60 final List<StorageStatsEvent> storageStatsEvents = in testGetStorageStatsEvents_checkLimit()
70 List<StorageStatsEvent> storageStatsEvents = in testGetStorageStatsEvents_eventsAreConsumed()
83 private List<StorageStatsEvent> buildStorageStatsEvents( in buildStorageStatsEvents()
86 new StorageStatsEvent(/*shared= */ true, sharedStorageKb, uid), in buildStorageStatsEvents()
87 new StorageStatsEvent(/*shared= */ false, sdkStorageKb, uid)); in buildStorageStatsEvents()