Home
last modified time | relevance | path

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

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/
DCommonUtilsTest.java68 File subDir = new File(dir, "sub"); in deleteDirOrFile_unreadableSubDir() local
69 assertThat(subDir.mkdirs()).isTrue(); in deleteDirOrFile_unreadableSubDir()
70 File file = new File(subDir, "file"); in deleteDirOrFile_unreadableSubDir()
72 subDir.setReadable(false); in deleteDirOrFile_unreadableSubDir()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java548 final String subDir = mSdkSubDirs.getOrDefault(sdkName, null); in getSdkSubDir() local
549 if (subDir == null || !fullPath) return subDir; in getSdkSubDir()
550 return Paths.get(mBaseDir, subDir).toString(); in getSdkSubDir()
556 final String subDir = mInternalSubDirs.getOrDefault(subDirName, null); in getInternalSubDir() local
557 if (subDir == null || !fullPath) return subDir; in getInternalSubDir()
558 return Paths.get(mBaseDir, subDir).toString(); in getInternalSubDir()
606 final String subDir = getSdkSubDir(sdkName); in getOrGenerateSdkSubDir() local
607 if (subDir != null) return subDir; in getOrGenerateSdkSubDir()
615 final String subDir = mInternalSubDirs.getOrDefault(internalDirName, null); in getOrGenerateInternalSubDir() local
616 if (subDir != null) return subDir; in getOrGenerateInternalSubDir()
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DMicrodroidHostTestCaseBase.java185 for (File subDir : FileUtil.findDirsUnder(testsDir, testsDir.getParentFile())) { in findTestFile()
186 if (!subDir.getName().equals(moduleName)) { in findTestFile()
189 File testFile = FileUtil.findFile(subDir, name); in findTestFile()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderForFuseTest.java290 final File subDir = new File(parent, "subdir" + System.nanoTime()); in createSubdirWithOneFile() local
291 subDir.mkdirs(); in createSubdirWithOneFile()
293 final File file = new File(subDir, "test" + System.nanoTime() + ".jpg"); in createSubdirWithOneFile()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxStorageManagerUnitTest.java377 for (String subDir : internalSubDirs) { in test_SdkSubDirectories_GenerateSubDirNames_InternalOnly_NonExisting()
378 if (subDir.equals(SubDirectories.SHARED_DIR)) continue; in test_SdkSubDirectories_GenerateSubDirNames_InternalOnly_NonExisting()
379 final String[] tokens = subDir.split("#"); in test_SdkSubDirectories_GenerateSubDirNames_InternalOnly_NonExisting()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java136 final File subDir = new File(dir, dirName); in generateValues() local
137 File file = new File(subDir, "legacy" + System.nanoTime() + "." in generateValues()