| /packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
| D | AppsSafetyLabelHistoryPersistenceTest.kt | 64 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/ |
| D | TextStorageRepositoryTest.kt | 46 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/ |
| D | ProtoDataSource.kt | 37 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/ |
| D | DockProtoDataSource.kt | 29 class DockProtoDataSource(dataFile: File) : ProtoDataSource<DockAppItemListMessage>(dataFile) {
|
| D | DockProtoDataController.kt | 30 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/ |
| D | CarUiPortraitDockViewControllerWrapper.java | 64 File dataFile) { in createDockViewController() argument 65 return new DockViewController(dockView, userContext, dataFile) { in createDockViewController()
|
| /packages/services/Telephony/src/com/android/phone/ |
| D | CallTime.java | 204 String dataFile = baseName + ".data"; in startTrace() local 207 file = new File(dataFile); in startTrace()
|
| /packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
| D | DockViewControllerWrapper.java | 143 File dataFile) { in createDockViewController() argument 144 return new DockViewController(dockView, userContext, dataFile); in createDockViewController()
|
| /packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/ |
| D | DockViewController.kt | 64 dataFile: File, in <lambda>() 123 dockProtoDataController = DockProtoDataController(dataFile), in <lambda>()
|