Home
last modified time | relevance | path

Searched refs:dataFile (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryPersistenceTest.kt64 private lateinit var dataFile: File variable in com.android.permissioncontroller.tests.mocking.safetylabel.AppsSafetyLabelHistoryPersistenceTest
71 dataFile = context.getFileStreamPath(TEST_FILE_NAME) in setUp()
92 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
93 AppsSafetyLabelHistoryPersistence.clear(dataFile) in read_afterDeleted_returnsNull()
95 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
105 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
107 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
119 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_noSharing_returnsIdenticalAppsSafetyLabelHistory()
121 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterWrite_noSharing_returnsIdenticalAppsSafetyLabelHistory()
137 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_returnsIdenticalAppsSafetyLabelHistory()
[all …]
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DTextStorageRepositoryTest.kt46 private lateinit var dataFile: File in <lambda>() variable in com.android.permissioncontroller.tests.mocking.privacysources.TextStorageRepositoryTest
59 dataFile = context.getFileStreamPath("testFile") in <lambda>()
70 val storageRepository = TextStorageRepository(dataFile) in <lambda>()
77 val storageRepository = TextStorageRepository(dataFile) in <lambda>()
87 val storageRepository = TextStorageRepository(dataFile) in <lambda>()
101 val storageRepository = TextStorageRepository(dataFile) in <lambda>()
109 appendCorruptedData(dataFile, "not_enough_parts") in <lambda>()
110 appendCorruptedData(dataFile, "not_enough_parts") in <lambda>()
111 appendCorruptedData(dataFile, "") in <lambda>()
118 val storageRepository = TextStorageRepository(dataFile) in <lambda>()
[all …]
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/proto/
DProtoDataSource.kt37 abstract class ProtoDataSource<T : MessageLite>(private val dataFile: File) { constant in com.android.car.carlaunchercommon.proto.ProtoDataSource
46 dataFile.exists() && dataFile.canRead() in exists()
59 mOutputStream = FileOutputStream(dataFile, false) in writeToFile()
90 mInputStream = FileInputStream(dataFile) in readFromFile()
139 return dataFile.absolutePath in toString()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/data/
DDockProtoDataSource.kt29 class DockProtoDataSource(dataFile: File) : ProtoDataSource<DockAppItemListMessage>(dataFile) {
DDockProtoDataController.kt30 class DockProtoDataController(dataFile: File) { in <lambda>()
36 private val dataSource = DockProtoDataSource(dataFile) in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
DCarUiPortraitDockViewControllerWrapper.java64 File dataFile) { in createDockViewController() argument
65 return new DockViewController(dockView, userContext, dataFile) { in createDockViewController()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java204 String dataFile = baseName + ".data"; in startTrace() local
207 file = new File(dataFile); in startTrace()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DDockViewControllerWrapper.java142 File dataFile) { in createDockViewController() argument
143 return new DockViewController(dockView, userContext, dataFile); in createDockViewController()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewController.kt62 dataFile: File, in <lambda>()
117 dockProtoDataController = DockProtoDataController(dataFile), in <lambda>()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...