/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | SilentModeHandlerUnitTest.java | 72 mFeatureFlags, mFileHwStateMonitoring.getFile().getPath(), in testSilentModeHwStateMonitoring() 73 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_NORMAL); in testSilentModeHwStateMonitoring() 76 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testSilentModeHwStateMonitoring() 80 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_NON_SILENT_MODE); in testSilentModeHwStateMonitoring() 88 mFeatureFlags, mFileHwStateMonitoring.getFile().getPath(), in testRebootForForcedSilentMode() 89 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_FORCED_SILENT); in testRebootForForcedSilentMode() 94 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testRebootForForcedSilentMode() 102 mFeatureFlags, mFileHwStateMonitoring.getFile().getPath(), in testRebootForForcedNonSilentMode() 103 mFileKernelSilentMode.getFile().getPath(), BOOT_REASON_FORCED_NON_SILENT); in testRebootForForcedNonSilentMode() 108 writeStringToFile(mFileHwStateMonitoring.getFile(), VALUE_SILENT_MODE); in testRebootForForcedNonSilentMode() [all …]
|
/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()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | UptimeTrackerTest.java | 70 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerFromCleanSlate() 93 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerWithHistoricalState() 110 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState() 122 uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState() 133 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerShutdown() 140 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/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/ |
D | SystemPowerControlHelperTest.java | 71 .thenReturn(powerStateControlFile.getFile().getAbsolutePath()); in testHelperMockedFileWrite() 74 assertThat(IoUtils.readFileAsString(powerStateControlFile.getFile().getAbsolutePath())) in testHelperMockedFileWrite() 125 fileName = temporaryFile.getFile().getAbsolutePath(); in testSystemSupportsSuspend_NoControlFile() 140 .thenReturn(powerStateControlFile.getFile().getAbsolutePath()); in testHelperMockedFileRead()
|
/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/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | FirstGrantTimeDatastoreXmlPersistence.java | 47 File file = getFile(user, dataType); in readForUser() 64 File file = getFile(user, dataType); in writeForUser() 72 public File getFile(@NonNull UserHandle user, @DataType int sourceType) { in getFile() method in FirstGrantTimeDatastoreXmlPersistence
|
D | FirstGrantTimeDatastore.java | 67 File getFile(@NonNull UserHandle user, @DataType int dataType); in getFile() method
|
/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/modules/Permission/service/java/com/android/role/persistence/ |
D | RolesPersistenceImpl.java | 96 File file = getFile(user); in readForUser() 193 File file = getFile(user); in writeForUser() 274 getFile(user).delete(); in deleteForUser() 280 static File getFile(@NonNull UserHandle user) { in getFile() method in RolesPersistenceImpl
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | SamplerRule.java | 54 final File file = getFile(); in startThread() 74 private File getFile() { in startThread()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/ |
D | FakeOsAccess.java | 109 private File getFile(String func, FileDescriptor fd) throws IOException { in getFile() method in FakeOsAccess 158 File file = getFile("fcntl", fd); in setNonBlocking() 167 File file = getFile("read", fd); in read() 197 File file = getFile("write", fd); in write() 361 getFile("poll", pollFd.fd); in poll()
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceImpl.java | 99 File file = getFile(user); in readForUser() 217 File file = getFile(user); in writeForUser() 313 getFile(user).delete(); in deleteForUser() 319 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 | 84 lifetimeFile.getFile(), eolFile.getFile()); in testEMmcWearInformationProvider() 109 lifetimeFile.getFile()); in testUfsWearInformationProvider() 231 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearEstimateRecordJson() 270 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearHistoryJson() 475 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatEntryJson() 673 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatsDeltaJson() 759 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testLifetimeWriteInfoJson()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStore.java | 36 File getFile(int tag) throws IOException; in getFile() method
|
D | UrisSupplier.java | 123 mFile = storage.getFile(tag); in JumboUrisSupplier() 137 mFile = clipStore.getFile(tag); in JumboUrisSupplier()
|
/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/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | GrantTimePersistenceUnitTest.java | 196 File current = datastore.getFile(mUser, DATA_TYPE_CURRENT); in testGetFile_getAllTypes_allFilesNonNullAndDifferent() 197 File staged = datastore.getFile(mUser, DATA_TYPE_STAGED); in testGetFile_getAllTypes_allFilesNonNullAndDifferent()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 393 File prodConfig = getFile(CONFIG_FILENAME_PRODUCTION); in loadConfig() 428 private File getFile(String filename) { in getFile() method in CarUxRestrictionsManagerService 449 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig() 458 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig() 604 File stagedConfig = getFile(CONFIG_FILENAME_STAGED); in getStagedConfigs() 681 File file = getFile(filename); in persistConfig()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | TemporaryFile.java | 78 public File getFile() { in getFile() method in TemporaryFile
|
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/mdd/ |
D | OnDevicePersonalizationFileGroupPopulatorTest.java | 78 ClientFile clientFile = clientFileGroup.getFile(0); in testRefreshFileGroup()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | FileUtils.java | 124 static File getFile(Context context, String timestamp, String name) { in getFile() method in FileUtils
|