Home
last modified time | relevance | path

Searched refs:PersistentInt (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DPersistentIntTest.kt118 fun pathOf(pi: PersistentInt): Path { in pathOf()
122 fun createPersistentInt(path: Path = randomTempPath()): PersistentInt { in createPersistentInt()
124 return PersistentInt(path.toString(), in createPersistentInt()
DNetworkStatsServiceTest.java302 private @Mock PersistentInt mImportLegacyAttemptsCounter;
303 private @Mock PersistentInt mImportLegacySuccessesCounter;
304 private @Mock PersistentInt mImportLegacyFallbacksCounter;
306 private @Mock PersistentInt mFastDataInputSuccessesCounter;
307 private @Mock PersistentInt mFastDataInputFallbacksCounter;
511 public PersistentInt createPersistentCounter(@NonNull Path dir, @NonNull String name) { in createPersistentCounter()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DPersistentInt.java35 public class PersistentInt { class
50 public PersistentInt(@NonNull String path, @Nullable SystemConfigFileCommitEventLogger logger) in PersistentInt() method in PersistentInt
DNetworkStatsService.java337 private PersistentInt mImportLegacyAttemptsCounter = null;
338 private PersistentInt mImportLegacySuccessesCounter = null;
339 private PersistentInt mImportLegacyFallbacksCounter = null;
340 private PersistentInt mFastDataInputSuccessesCounter = null;
341 private PersistentInt mFastDataInputFallbacksCounter = null;
763 public PersistentInt createPersistentCounter(@NonNull Path dir, @NonNull String name) in createPersistentCounter()
768 return new PersistentInt(path, null /* logger */); in createPersistentCounter()