/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerFilePersistedSettings.java | 45 private static boolean readBackupEnableState(File baseDir) { in readBackupEnableState() argument 46 File enableFile = new File(baseDir, BACKUP_ENABLE_FILE); in readBackupEnableState() 65 private static void writeBackupEnableState(File baseDir, boolean enable) { in writeBackupEnableState() argument 66 File enableFile = new File(baseDir, BACKUP_ENABLE_FILE); in writeBackupEnableState() 67 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/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | FingerprintUpdateActiveUserClient.java | 82 File baseDir; in start() local 84 baseDir = Environment.getUserSystemDirectory(getTargetUserId()); in start() 86 baseDir = Environment.getDataVendorDeDirectory(getTargetUserId()); in start() 89 mDirectory = new File(baseDir, FP_DATA_DIR); in start()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 243 File baseDir = new File(baseTestDirStr); in testMtpDatabaseThumbnail() local 244 baseDir.mkdirs(); in testMtpDatabaseThumbnail() 246 final File jpgfileBadThumb = new File(baseDir, "jpgfileBadThumb.jpg"); in testMtpDatabaseThumbnail() 247 final File jpgFileNoThumb = new File(baseDir, "jpgFileNoThumb.jpg"); in testMtpDatabaseThumbnail() 248 final File jpgfileBad = new File(baseDir, "jpgfileBad.jpg"); in testMtpDatabaseThumbnail() 249 final File pngFile1 = new File(baseDir, "pngFile1.png"); in testMtpDatabaseThumbnail() 250 final File pngFileBad = new File(baseDir, "pngFileBad.png"); in testMtpDatabaseThumbnail()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTestable.java | 105 private File makeDirs(File baseDir, String filePath) { in makeDirs() argument 108 return new File(baseDir, filePath); in makeDirs() 110 File mappedDir = new File(baseDir, path.getParent()); in makeDirs()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 61 File baseDir = new File(Environment.getDataDirectory(), "local"); in dumpWindowToFile() local 62 if (!baseDir.exists()) { in dumpWindowToFile() 63 baseDir.mkdir(); in dumpWindowToFile() 64 baseDir.setExecutable(true, false); in dumpWindowToFile() 65 baseDir.setWritable(true, false); in dumpWindowToFile() 66 baseDir.setReadable(true, false); in dumpWindowToFile()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 851 private File generateFile(@NonNull File baseDir, int depth) { in generateFile() argument 853 return new File(baseDir, Long.toString(globalBeginMillis) + HISTORY_FILE_SUFFIX); in generateFile() 922 File baseDir = null; in getLastPersistTimeMillisDLocked() local 924 baseDir = sHistoricalAppOpsDir.startRead(); in getLastPersistTimeMillisDLocked() 925 final File[] files = baseDir.listFiles(); in getLastPersistTimeMillisDLocked() 946 wtf("Error reading historical app ops. Deleting history.", e, baseDir); in getLastPersistTimeMillisDLocked() 972 File baseDir = null; in collectHistoricalOpsBaseDLocked() local 974 baseDir = sHistoricalAppOpsDir.startRead(); in collectHistoricalOpsBaseDLocked() 978 filesInvariant.startTracking(baseDir); in collectHistoricalOpsBaseDLocked() 980 final Set<String> historyFiles = getHistoricalFileNames(baseDir); in collectHistoricalOpsBaseDLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 522 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in listSyntheticPasswordHandlesForUser() local 524 File[] files = baseDir.listFiles(); in listSyntheticPasswordHandlesForUser() 548 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in ensureSyntheticPasswordDirectoryForUser() local 549 if (!baseDir.exists()) { in ensureSyntheticPasswordDirectoryForUser() 550 baseDir.mkdir(); in ensureSyntheticPasswordDirectoryForUser() 557 final File baseDir = getSyntheticPasswordDirectoryForUser(userId); in getSynthenticPasswordStateFilePathForUser() local 559 return new File(baseDir, baseName).getAbsolutePath(); in getSynthenticPasswordStateFilePathForUser()
|
/frameworks/base/core/java/android/net/netstats/ |
D | NetworkStatsDataMigrationUtils.java | 150 File baseDir = new File(getPlatformSystemDir(), "netstats"); in getPlatformBaseDir() local 151 baseDir.mkdirs(); in getPlatformBaseDir() 152 return baseDir; in getPlatformBaseDir()
|
/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/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/ |
D | StagedInstallInternalTest.java | 544 String baseDir = "/data/app-staging"; in getStagingDirectories() local 547 return getDevice().getFileEntry(baseDir).getChildren(false) in getStagingDirectories()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1267 public static @Nullable File createDir(File baseDir, String name) { in createDir() argument 1268 final File dir = new File(baseDir, name); in createDir()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 3078 for (File baseDir: baseDirs) { in getExcludedDeviceNames() 3079 File confFile = new File(baseDir, EXCLUDED_DEVICES_PATH); in getExcludedDeviceNames() 3110 final File baseDir = Environment.getVendorDirectory(); in loadStaticInputPortAssociations() local 3111 final File confFile = new File(baseDir, PORT_ASSOCIATIONS_PATH); in loadStaticInputPortAssociations()
|