Home
last modified time | relevance | path

Searched refs:AndroidFileEnvironment (Results 1 – 6 of 6) sorted by relevance

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidUriTest.java53 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), "module/"); in builder_missingAccountDirectory_throwsException()
60 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_filesLocation()
86 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_filesLocation_withEmailAccount()
99 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_filesLocation_withEmptyAccountName()
108 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_filesLocation_withEmptyAccountType()
117 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_filesLocation_withMalformedAccount()
127 File root = new File(AndroidFileEnvironment.getDeviceProtectedDataDir(context), "files"); in builder_directBootFilesDirectory()
142 File root = new File(AndroidFileEnvironment.getDeviceProtectedDataDir(context), "cache"); in builder_directBootCacheDirectory()
156 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_allowsEmptyRelativePath()
164 File file = new File(AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context), filePath); in builder_unsupportedModule_throwsException()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidUriAdapter.java97 rootLocation = AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context); in toFile()
103 File filesDir = AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context); in toFile()
DAndroidFileEnvironment.java36 public final class AndroidFileEnvironment { class
240 private AndroidFileEnvironment() {} in AndroidFileEnvironment() method in AndroidFileEnvironment
DAndroidUri.java280 File filesDir = AndroidFileEnvironment.getFilesDirWithPreNWorkaround(context); in fromAbsolutePath()
293 File dpsDataDir = AndroidFileEnvironment.getDeviceProtectedDataDir(context); in fromAbsolutePath()
DAndroidFileBackend.java266 File dpsDataDir = AndroidFileEnvironment.getDeviceProtectedDataDir(context); in getDpsDataDirPath()
DBUILD240 srcs = ["AndroidFileEnvironment.java"],