Home
last modified time | relevance | path

Searched refs:FirstGrantTimeDatastore (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DGrantTimePersistenceUnitTest.java19 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_CURRENT;
20 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_STAGED;
110 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_packageAndSharedUserState_restoredCorrectly()
118 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_multipleSharedUserState_restoredCorrectly()
126 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_multiplePackagesState_restoredCorrectly()
134 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_emptyState_restoredCorrectly()
142 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_overwroteState_restoredCorrectly()
151 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_writeAllStateTypes_restoredCorrectly()
161 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testWriteReadData_statesForTwoUsersWritten_restoredCorrectly()
173 FirstGrantTimeDatastore datastore = FirstGrantTimeDatastore.createInstance(); in testReadData_stateIsNotWritten_nullIsReturned()
[all …]
DFirstGrantTimeUnitTest.java21 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_CURRENT;
22 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_STAGED;
85 @Mock private FirstGrantTimeDatastore mDatastore;
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DFirstGrantTimeDatastore.java32 public interface FirstGrantTimeDatastore { interface
75 static FirstGrantTimeDatastore createInstance() { in createInstance()
DFirstGrantTimeDatastoreXmlPersistence.java29 class FirstGrantTimeDatastoreXmlPersistence implements FirstGrantTimeDatastore {
74 sourceType == FirstGrantTimeDatastore.DATA_TYPE_CURRENT in getFile()
DFirstGrantTimeManager.java19 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_CURRENT;
20 import static com.android.server.healthconnect.permission.FirstGrantTimeDatastore.DATA_TYPE_STAGED;
65 private final FirstGrantTimeDatastore mDatastore;
79 @NonNull FirstGrantTimeDatastore datastore) { in FirstGrantTimeManager()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectManagerService.java38 import com.android.server.healthconnect.permission.FirstGrantTimeDatastore;
72 context, permissionIntentTracker, FirstGrantTimeDatastore.createInstance()); in HealthConnectManagerService()