/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | SilentModeHandlerUnitTest.java | 68 mFileHwStateMonitoring.getFile().getPath(), in testSilentModeHwStateMonitoring() 69 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_NORMAL); in testSilentModeHwStateMonitoring() 72 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testSilentModeHwStateMonitoring() 76 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_NON_SILENT_MODE); in testSilentModeHwStateMonitoring() 84 mFileHwStateMonitoring.getFile().getPath(), in testRebootForForcedSilentMode() 85 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_FORCED_SILENT); in testRebootForForcedSilentMode() 90 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testRebootForForcedSilentMode() 98 mFileHwStateMonitoring.getFile().getPath(), in testRebootForForcedNonSilentMode() 99 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_FORCED_NON_SILENT); in testRebootForForcedNonSilentMode() 104 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testRebootForForcedNonSilentMode() [all …]
|
D | CarPowerManagementServiceUnitTest.java | 152 mVoiceInteractionManagerService, new AtomicFile(mComponentStateFile.getFile())); in setUp() 182 mVoiceInteractionManagerService, new AtomicFile(mComponentStateFile.getFile())); in setService() 185 mFileHwStateMonitoring.getFile().getPath(), in setService() 186 mFileKernelSilentMode.getFile().getPath(), NORMAL_BOOT); in setService()
|
D | PowerComponentHandlerUnitTest.java | 72 mVoiceInteractionManagerService, new AtomicFile(mComponentStateFile.getFile())); in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MmsFileProvider.java | 47 final File file = getFile(uri.getPath()); in buildRawMmsUri() 55 File getFile(final String path, final String extension) { in getFile() method in MmsFileProvider 56 return getFile(path); in getFile() 59 public static File getFile(final Uri uri) { in getFile() method in MmsFileProvider 60 return getFile(uri.getPath()); in getFile() 63 private static File getFile(final String path) { in getFile() method in MmsFileProvider
|
D | FileProvider.java | 39 abstract File getFile(final String path, final String extension); in getFile() method in FileProvider 102 final File file = getFile(fileId, getExtensionFromUri(uri)); in delete() 113 final File file = getFile(fileId, getExtensionFromUri(uri)); in openFile()
|
D | MediaScratchFileProvider.java | 87 File getFile(final String path, final String extension) { in getFile() method in MediaScratchFileProvider
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | UptimeTrackerTest.java | 68 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerFromCleanSlate() 91 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerWithHistoricalState() 108 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState() 120 uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState() 131 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerShutdown() 138 uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerShutdown()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/ |
D | ClipStorageTest.java | 94 File copy = mStorage.getFile(mSlot); in testRead() 107 mStorage.getFile(firstSlot); in testClaimStorageSlot_NoAvailableSlot() 111 mStorage.getFile(slot); in testClaimStorageSlot_NoAvailableSlot() 123 File copy = mStorage.getFile(mSlot); in testReadConcurrently() 124 File copy2 = mStorage.getFile(mSlot); in testReadConcurrently()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreference.java | 50 public File getFile() { in getFile() method in DownloadsFilePreference 61 File otherFile = ((DownloadsFilePreference) other).getFile(); in compareTo() 62 File file = getFile(); in compareTo()
|
D | DownloadsDeletionPreferenceGroup.java | 108 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange() 122 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange()
|
/packages/modules/Permission/service/java/com/android/role/persistence/ |
D | RolesPersistenceImpl.java | 69 File file = getFile(user); in readForUser() 150 File file = getFile(user); in writeForUser() 209 getFile(user).delete(); in deleteForUser() 213 private static File getFile(@NonNull UserHandle user) { in getFile() method in RolesPersistenceImpl
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceImpl.java | 71 File file = getFile(user); in readForUser() 177 File file = getFile(user); in writeForUser() 256 getFile(user).delete(); in deleteForUser() 260 private static File getFile(@NonNull UserHandle user) { in getFile() method in RuntimePermissionsPersistenceImpl
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | CarStorageMonitoringTest.java | 83 lifetimeFile.getFile(), eolFile.getFile()); in testEMmcWearInformationProvider() 108 lifetimeFile.getFile()); in testUfsWearInformationProvider() 230 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearEstimateRecordJson() 269 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearHistoryJson() 474 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatEntryJson() 688 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatsDeltaJson() 774 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testLifetimeWriteInfoJson()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PersistedItemArray.java | 71 AtomicFile file = getFile(context); in write() 126 try (FileInputStream fis = getFile(context).openRead()) { in read() 169 public AtomicFile getFile(Context context) { in getFile() method in PersistedItemArray
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 254 File prodConfig = getFile(CONFIG_FILENAME_PRODUCTION); in loadConfig() 282 private File getFile(String filename) { in getFile() method in CarUxRestrictionsManagerService 303 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig() 312 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig() 460 File stagedConfig = getFile(CONFIG_FILENAME_STAGED); in getStagedConfigs() 518 File file = getFile(filename); in persistConfig()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | UrisSupplier.java | 123 mFile = storage.getFile(tag); in JumboUrisSupplier() 137 mFile = clipStore.getFile(tag); in JumboUrisSupplier()
|
D | ClipStore.java | 36 File getFile(int tag) throws IOException; in getFile() method
|
D | ClipStorage.java | 156 public synchronized File getFile(int slot) throws IOException { in getFile() method in ClipStorage
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | TemporarySessionFile.java | 81 public synchronized File getFile() { in getFile() method in TemporarySessionFile
|
D | CaptureSessionImpl.java | 361 jpegDataTemp = FileUtil.readFileToByteArray(mTempOutputFile.getFile()); in finish() 404 path = mTempOutputFile.getFile(); in updatePreview()
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/ |
D | TemporaryFile.java | 68 public File getFile() { in getFile() method in TemporaryFile
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | FileUtils.java | 125 static File getFile(Context context, String timestamp, String name) { in getFile() method in FileUtils
|
D | BugReportService.java | 390 File outputFile = FileUtils.getFile(this, mMetaBugReport.getTimestamp(), OUTPUT_ZIP_FILE); in saveBugReport() 391 File extraOutputFile = FileUtils.getFile(this, mMetaBugReport.getTimestamp(), in saveBugReport()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 1023 FileOutputStream outputStream = new FileOutputStream(dumpsysFile.getFile()); in testDumpMetrics_VendorProperty() 1027 FileInputStream inputStream = new FileInputStream(dumpsysFile.getFile()); in testDumpMetrics_VendorProperty()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSender.java | 176 final File tempFile = MmsFileProvider.getFile(contentUri); in writePduToTempFile()
|