summaryrefslogtreecommitdiff
path: root/tests/unit/java/com/android/server/net/PersistentIntTest.kt
Commit message (Collapse)AuthorAgeFilesLines
* Skip PersistentIntTest on S- deviceJunyu Lai2022-05-191-1/+7
| | | | | | | | | | | This class is only used in the service runs on T+ devices. Thus run this test on S- device does not make senses. Ignore-AOSP-First: in a topic with internal-only changes Bug: 230289468 Test: atest ConnectivityCoverageTests:PersistentIntTest on S device Change-Id: I97a29df17ef9ee9ab373655f045cdb5c820e06ef
* Add a PersistentInt class.Lorenzo Colitti2022-05-181-0/+127
This implements a simple integer written to disk backed by AtomicFile. Bug: 230289468 Test: new unit test Ignore-AOSP-First: in a topic with internal-only changes Change-Id: I1c73c8ac2429f92153cfba3b006b4374e75e65df