Searched refs:dataController (Results 1 – 2 of 2) sorted by relevance
36 private lateinit var dataController: DockProtoDataController variable in com.android.car.docklib.data.DockProtoDataControllerTest44 dataController = DockProtoDataController(mock<File>()) in setup()47 field.set(dataController, dataSource) in setup()55 dataController.savePinnedItemsToFile(dockData) in testSaveToFile_OneItem_DataCorrect()75 dataController.savePinnedItemsToFile(dockData) in testSaveToFile_MultipleItems_DataCorrect()96 val loadedDockData = dataController.loadFromFile() in testLoadFromFile_OneItem_DataCorrect()110 val loadedDockData = dataController.loadFromFile() in testLoadFromFile_MultipleItems_DataCorrect()
81 private val dataController = mock<DockProtoDataController>() in <lambda>() constant86 whenever(dataController.loadFromFile()).thenReturn(null) in <lambda>()110 whenever(dataController.loadFromFile()).thenReturn(savedPinnedItems) in <lambda>()130 whenever(dataController.loadFromFile()).thenReturn(savedPinnedItems) in <lambda>()599 dockProtoDataController = dataController, in <lambda>()