/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerFilePersistedSettings.java | 43 private static boolean readBackupEnableState(File baseDir) { in readBackupEnableState() argument 44 File enableFile = new File(baseDir, BACKUP_ENABLE_FILE); in readBackupEnableState() 61 private static void writeBackupEnableState(File baseDir, boolean enable) { in writeBackupEnableState() argument 62 File enableFile = new File(baseDir, BACKUP_ENABLE_FILE); in writeBackupEnableState() 63 File stage = new File(baseDir, BACKUP_ENABLE_FILE + "-stage"); in writeBackupEnableState()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestResultPrinter.java | 50 File baseDir = new File(RESULT_DIR); in CameraTestResultPrinter() local 51 baseDir.mkdirs(); in CameraTestResultPrinter() 52 if (!baseDir.isDirectory()) { in CameraTestResultPrinter() 53 throw new IllegalStateException("Couldn't create directory for logs: " + baseDir); in CameraTestResultPrinter() 55 Log.v(TAG, String.format("Saving test results under: %s", baseDir.getAbsolutePath())); in CameraTestResultPrinter() 57 purgeFiles(baseDir); in CameraTestResultPrinter()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | VolumeLoader.java | 34 File baseDir; field in VolumeLoader 40 baseDir = new File(dir); in VolumeLoader() 41 if (!baseDir.exists()) { in VolumeLoader() 45 Properties[] prop = getPropertyFiles(baseDir); in VolumeLoader() 75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener); in getVolume() 85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener); in getVolume()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTestable.java | 64 private File makeDirs(File baseDir, String filePath) { in makeDirs() argument 67 return new File(baseDir, filePath); in makeDirs() 69 File mappedDir = new File(baseDir, path.getParent()); in makeDirs()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 54 File baseDir = new File(Environment.getDataDirectory(), "local"); in dumpWindowToFile() local 55 if (!baseDir.exists()) { in dumpWindowToFile() 56 baseDir.mkdir(); in dumpWindowToFile() 57 baseDir.setExecutable(true, false); in dumpWindowToFile() 58 baseDir.setWritable(true, false); in dumpWindowToFile() 59 baseDir.setReadable(true, false); in dumpWindowToFile()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 722 private File generateFile(@NonNull File baseDir, int depth) { in generateFile() argument 724 return new File(baseDir, Long.toString(globalBeginMillis) + HISTORY_FILE_SUFFIX); in generateFile() 793 File baseDir = null; in getLastPersistTimeMillisDLocked() local 795 baseDir = sHistoricalAppOpsDir.startRead(); in getLastPersistTimeMillisDLocked() 796 final File[] files = baseDir.listFiles(); in getLastPersistTimeMillisDLocked() 823 wtf("Error reading historical app ops. Deleting history.", e, baseDir); in getLastPersistTimeMillisDLocked() 847 File baseDir = null; in collectHistoricalOpsBaseDLocked() local 849 baseDir = sHistoricalAppOpsDir.startRead(); in collectHistoricalOpsBaseDLocked() 853 filesInvariant.startTracking(baseDir); in collectHistoricalOpsBaseDLocked() 855 final Set<String> historyFiles = getHistoricalFileNames(baseDir); in collectHistoricalOpsBaseDLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 537 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in listSyntheticPasswordHandlesForUser() local 539 File[] files = baseDir.listFiles(); in listSyntheticPasswordHandlesForUser() 563 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in ensureSyntheticPasswordDirectoryForUser() local 564 if (!baseDir.exists()) { in ensureSyntheticPasswordDirectoryForUser() 565 baseDir.mkdir(); in ensureSyntheticPasswordDirectoryForUser() 572 final File baseDir = getSyntheticPasswordDirectoryForUser(userId); in getSynthenticPasswordStateFilePathForUser() local 574 return new File(baseDir, baseName).getAbsolutePath(); in getSynthenticPasswordStateFilePathForUser()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 437 File baseDir = userId == UserHandle.USER_SYSTEM ? Environment.getDataDirectory() in getStashFile() local 439 return new File(baseDir, STASH_FILE); in getStashFile()
|
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/ |
D | FingerprintService.java | 782 File baseDir; in updateActiveGroup() local 784 baseDir = Environment.getUserSystemDirectory(userId); in updateActiveGroup() 786 baseDir = Environment.getDataVendorDeDirectory(userId); in updateActiveGroup() 789 File fpDir = new File(baseDir, FP_DATA_DIR); in updateActiveGroup()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 358 File baseDir = new File(getDefaultSystemDir(), "netstats"); in getDefaultBaseDir() local 359 baseDir.mkdirs(); in getDefaultBaseDir() 360 return baseDir; in getDefaultBaseDir() 425 NetworkStatsObservers statsObservers, File systemDir, File baseDir, in NetworkStatsService() argument 437 mBaseDir = Objects.requireNonNull(baseDir, "missing baseDir"); in NetworkStatsService()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1950 for (File baseDir: baseDirs) { in getExcludedDeviceNames() 1951 File confFile = new File(baseDir, EXCLUDED_DEVICES_PATH); in getExcludedDeviceNames() 1983 File baseDir = Environment.getVendorDirectory(); in getInputPortAssociations() local 1984 File confFile = new File(baseDir, PORT_ASSOCIATIONS_PATH); in getInputPortAssociations()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1308 File baseDir = new File(statsDir, "netstats"); 1309 baseDir.mkdirs(); 1310 return baseDir;
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 1137 final File baseDir = Environment.getDataVendorDeDirectory(userId); in updateActiveGroup() local 1138 final File faceDir = new File(baseDir, FACE_DATA_DIR); in updateActiveGroup()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1240 public static @Nullable File createDir(File baseDir, String name) { in createDir() argument 1241 final File dir = new File(baseDir, name); in createDir()
|