Home
last modified time | relevance | path

Searched refs:subDirs (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxStorageManagerUnitTest.java289 final SubDirectories subDirs = new SubDirectories("/does/not/exist"); in test_SdkSubDirectories_NonExistingParentPath() local
291 assertThat(subDirs.getSdkSubDir("does.not.exist")).isNull(); in test_SdkSubDirectories_NonExistingParentPath()
292 assertThat(subDirs.getSdkSubDir(SDK_NAME)).isNull(); in test_SdkSubDirectories_NonExistingParentPath()
304 final SubDirectories subDirs = new SubDirectories(packageDir); in test_SdkSubDirectories_GetSdkSubDir() local
306 assertThat(subDirs.getSdkSubDir("does.not.exist")).isNull(); in test_SdkSubDirectories_GetSdkSubDir()
307 assertThat(subDirs.getSdkSubDir("does.not.exist", /*fullPath=*/ true)).isNull(); in test_SdkSubDirectories_GetSdkSubDir()
310 assertThat(subDirs.getSdkSubDir(SDK_NAME)).isEqualTo(expectedSubDirName); in test_SdkSubDirectories_GetSdkSubDir()
312 assertThat(subDirs.getSdkSubDir(SDK_NAME, /*fullPath=*/ true)).isEqualTo(expectedFullPath); in test_SdkSubDirectories_GetSdkSubDir()
327 final SubDirectories subDirs = new SubDirectories(packageDir); in test_SdkSubDirectories_IsValid() local
329 assertThat(subDirs.isValid(Collections.emptySet())).isFalse(); in test_SdkSubDirectories_IsValid()
[all …]
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java399 final SubDirectories subDirs = new SubDirectories(packageDir); in reconcileSdkDataPackageDirs() local
401 if (subDirs.isValid(expectedSdkNames)) { in reconcileSdkDataPackageDirs()