Home
last modified time | relevance | path

Searched refs:baseDir (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java43 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/
DCameraTestResultPrinter.java50 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/
DVolumeLoader.java34 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/
DLockSettingsStorageTestable.java64 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/
DAccessibilityNodeInfoDumper.java54 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/
DHistoricalRegistry.java722 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/
DLockSettingsStorage.java523 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in listSyntheticPasswordHandlesForUser() local
525 File[] files = baseDir.listFiles(); in listSyntheticPasswordHandlesForUser()
549 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in ensureSyntheticPasswordDirectoryForUser() local
550 if (!baseDir.exists()) { in ensureSyntheticPasswordDirectoryForUser()
551 baseDir.mkdir(); in ensureSyntheticPasswordDirectoryForUser()
558 final File baseDir = getSyntheticPasswordDirectoryForUser(userId); in getSynthenticPasswordStateFilePathForUser() local
560 return new File(baseDir, baseName).getAbsolutePath(); in getSynthenticPasswordStateFilePathForUser()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java437 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/
DFingerprintService.java780 File baseDir; in updateActiveGroup() local
782 baseDir = Environment.getUserSystemDirectory(userId); in updateActiveGroup()
784 baseDir = Environment.getDataVendorDeDirectory(userId); in updateActiveGroup()
787 File fpDir = new File(baseDir, FP_DATA_DIR); in updateActiveGroup()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java319 File baseDir = new File(getDefaultSystemDir(), "netstats"); in getDefaultBaseDir() local
320 baseDir.mkdirs(); in getDefaultBaseDir()
321 return baseDir; in getDefaultBaseDir()
362 NetworkStatsObservers statsObservers, File systemDir, File baseDir) { in NetworkStatsService() argument
372 mBaseDir = checkNotNull(baseDir, "missing baseDir"); in NetworkStatsService()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1873 for (File baseDir: baseDirs) { in getExcludedDeviceNames()
1874 File confFile = new File(baseDir, EXCLUDED_DEVICES_PATH); in getExcludedDeviceNames()
1906 File baseDir = Environment.getVendorDirectory(); in getInputPortAssociations() local
1907 File confFile = new File(baseDir, PORT_ASSOCIATIONS_PATH); in getInputPortAssociations()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1139 File baseDir = new File(statsDir, "netstats"); in getBaseDir() local
1140 baseDir.mkdirs(); in getBaseDir()
1141 return baseDir; in getBaseDir()
/frameworks/base/core/java/android/os/
DFileUtils.java1240 public static @Nullable File createDir(File baseDir, String name) { in createDir() argument
1241 final File dir = new File(baseDir, name); in createDir()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java950 final File baseDir = Environment.getDataVendorDeDirectory(userId); in updateActiveGroup() local
951 final File faceDir = new File(baseDir, FACE_DATA_DIR); in updateActiveGroup()