/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/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/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | FingerprintUpdateActiveUserClient.java | 86 File baseDir; in start() local 88 baseDir = Environment.getUserSystemDirectory(getTargetUserId()); in start() 90 baseDir = Environment.getDataVendorDeDirectory(getTargetUserId()); in start() 93 mDirectory = new File(baseDir, FP_DATA_DIR); in start()
|
/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/native/opengl/libs/EGL/ |
D | MultifileBlobCache.h | 106 size_t maxTotalEntries, const std::string& baseDir); 132 bool createStatus(const std::string& baseDir); 133 bool checkStatus(const std::string& baseDir);
|
D | MultifileBlobCache.cpp | 66 size_t maxTotalEntries, const std::string& baseDir) in MultifileBlobCache() argument 78 if (baseDir.empty()) { in MultifileBlobCache() 104 mMultifileDirName = baseDir + ".multifile"; in MultifileBlobCache() 523 bool MultifileBlobCache::createStatus(const std::string& baseDir) { in createStatus() argument 540 std::string cacheStatus = baseDir + "/" + kMultifileBlobCacheStatusFile; in createStatus() 561 bool MultifileBlobCache::checkStatus(const std::string& baseDir) { in checkStatus() argument 562 std::string cacheStatus = baseDir + "/" + kMultifileBlobCacheStatusFile; in checkStatus()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 828 private File generateFile(@NonNull File baseDir, int depth) { in generateFile() argument 830 return new File(baseDir, Long.toString(globalBeginMillis) + HISTORY_FILE_SUFFIX); in generateFile() 899 File baseDir = null; in getLastPersistTimeMillisDLocked() local 901 baseDir = sHistoricalAppOpsDir.startRead(); in getLastPersistTimeMillisDLocked() 902 final File[] files = baseDir.listFiles(); in getLastPersistTimeMillisDLocked() 923 wtf("Error reading historical app ops. Deleting history.", e, baseDir); in getLastPersistTimeMillisDLocked() 949 File baseDir = null; in collectHistoricalOpsBaseDLocked() local 951 baseDir = sHistoricalAppOpsDir.startRead(); in collectHistoricalOpsBaseDLocked() 955 filesInvariant.startTracking(baseDir); in collectHistoricalOpsBaseDLocked() 957 final Set<String> historyFiles = getHistoricalFileNames(baseDir); in collectHistoricalOpsBaseDLocked() [all …]
|
/frameworks/base/core/java/android/net/netstats/ |
D | NetworkStatsDataMigrationUtils.java | 148 File baseDir = new File(getPlatformSystemDir(), "netstats"); in getPlatformBaseDir() local 149 baseDir.mkdirs(); in getPlatformBaseDir() 150 return baseDir; in getPlatformBaseDir()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 461 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in listSyntheticPasswordProtectorsForUser() local 463 File[] files = baseDir.listFiles(); in listSyntheticPasswordProtectorsForUser() 487 File baseDir = getSyntheticPasswordDirectoryForUser(userId); in ensureSyntheticPasswordDirectoryForUser() local 488 if (!baseDir.exists()) { in ensureSyntheticPasswordDirectoryForUser() 489 baseDir.mkdir(); in ensureSyntheticPasswordDirectoryForUser()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 438 File baseDir = userId == UserHandle.USER_SYSTEM ? Environment.getDataDirectory() in getStashFile() local 440 return new File(baseDir, STASH_FILE); in getStashFile()
|
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/ |
D | StagedInstallInternalTest.java | 642 String baseDir = "/data/app-staging"; in getStagingDirectories() local 645 return getDevice().getFileEntry(baseDir).getChildren(false) in getStagingDirectories()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 2449 for (File baseDir: baseDirs) { in getExcludedDeviceNames() 2450 File confFile = new File(baseDir, EXCLUDED_DEVICES_PATH); in getExcludedDeviceNames() 2494 File baseDir = Environment.getOdmDirectory(); in loadStaticInputPortAssociations() local 2495 File confFile = new File(baseDir, PORT_ASSOCIATIONS_PATH); in loadStaticInputPortAssociations() 2498 baseDir = Environment.getVendorDirectory(); in loadStaticInputPortAssociations() 2499 confFile = new File(baseDir, PORT_ASSOCIATIONS_PATH); in loadStaticInputPortAssociations()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1374 public static @Nullable File createDir(File baseDir, String name) { in createDir() argument 1375 final File dir = new File(baseDir, name); in createDir()
|