Searched refs:FirstGrantTimeDatastore (Results 1 – 6 of 6) sorted by relevance
19 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 …]
21 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;
32 public interface FirstGrantTimeDatastore { interface75 static FirstGrantTimeDatastore createInstance() { in createInstance()
29 class FirstGrantTimeDatastoreXmlPersistence implements FirstGrantTimeDatastore {74 sourceType == FirstGrantTimeDatastore.DATA_TYPE_CURRENT in getFile()
19 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()
38 import com.android.server.healthconnect.permission.FirstGrantTimeDatastore;72 context, permissionIntentTracker, FirstGrantTimeDatastore.createInstance()); in HealthConnectManagerService()