Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java107 final List<File> paths = getAllPackageSpecificPaths(getContext()); in testAllPackageDirsWritable() local
108 for (File path : paths) { in testAllPackageDirsWritable()
134 for (File path : paths) { in testAllPackageDirsWritable()
143 final List<File> paths = new ArrayList<File>(); in getAllPackageSpecificPaths() local
144 Collections.addAll(paths, context.getExternalCacheDirs()); in getAllPackageSpecificPaths()
145 Collections.addAll(paths, context.getExternalFilesDirs(null)); in getAllPackageSpecificPaths()
146 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); in getAllPackageSpecificPaths()
147 Collections.addAll(paths, context.getExternalMediaDirs()); in getAllPackageSpecificPaths()
148 Collections.addAll(paths, context.getObbDirs()); in getAllPackageSpecificPaths()
149 return paths; in getAllPackageSpecificPaths()
[all …]
DExternalStorageTest.java56 final List<File> paths = getAllPackageSpecificPaths(getContext()); in testAllWalkingUpTreeNoAccess() local
59 for (File path : paths) { in testAllWalkingUpTreeNoAccess()
/cts/libs/install/src/com/android/cts/install/lib/
DTestApp.java96 File[] paths) { in TestApp() argument
100 mResourceNames = new String[paths.length]; in TestApp()
101 for (int i = 0; i < paths.length; ++i) { in TestApp()
102 mResourceNames[i] = paths[i].getName(); in TestApp()
107 for (int i = 0; i < paths.length; ++i) { in TestApp()
108 if (paths[i].getName().equals(res)) { in TestApp()
109 return new FileInputStream(paths[i]); in TestApp()
/cts/hostsidetests/edi/src/android/edi/cts/
DClasspathDeviceInfo.java78 ImmutableList<String> paths = Classpaths.getJarsOnClasspath(mDevice, classpath); in collectClasspathJarInfo() local
79 IntStream.range(0, paths.size()) in collectClasspathJarInfo()
81 .mapToObj(i -> new JarInfo(i, paths.get(i))) in collectClasspathJarInfo()
109 .flatMap(sharedLibraryInfo -> IntStream.range(0, sharedLibraryInfo.paths.size()) in collectSharedLibraries()
112 new JarInfo(i, sharedLibraryInfo.paths.get(i), sharedLibraryInfo)) in collectSharedLibraries()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java163 final List<File> paths = getPrimaryPackageSpecificPaths(getContext()); in testPrimaryWalkingUpTreeReadWrite() local
166 for (File path : paths) { in testPrimaryWalkingUpTreeReadWrite()
231 final List<File> paths = getSecondaryPackageSpecificPaths(getContext()); in testSecondaryWalkingUpTreeReadWrite() local
234 for (File path : paths) { in testSecondaryWalkingUpTreeReadWrite()
285 final List<File> paths = getAllPackageSpecificPathsExceptMedia(getContext()); in testVerifyNoMediaCreated() local
287 for (File path : paths) { in testVerifyNoMediaCreated()
292 for (File path : paths) { in testVerifyNoMediaCreated()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java335 final List<File> paths = new ArrayList<File>(); in testExternalStorageIsolatedWrite() local
336 Collections.addAll(paths, Environment.getExternalStorageDirectory()); in testExternalStorageIsolatedWrite()
337 Collections.addAll(paths, in testExternalStorageIsolatedWrite()
339 Collections.addAll(paths, context.getExternalCacheDirs()); in testExternalStorageIsolatedWrite()
340 Collections.addAll(paths, context.getExternalFilesDirs(null)); in testExternalStorageIsolatedWrite()
341 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); in testExternalStorageIsolatedWrite()
342 Collections.addAll(paths, context.getExternalMediaDirs()); in testExternalStorageIsolatedWrite()
343 Collections.addAll(paths, context.getObbDirs()); in testExternalStorageIsolatedWrite()
346 for (File path : paths) { in testExternalStorageIsolatedWrite()
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadExternalStorageTest.java47 final List<File> paths = getAllPackageSpecificPaths(getContext()); in testAllWalkingUpTreeReadOnly() local
50 for (File path : paths) { in testAllWalkingUpTreeReadOnly()
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java299 String[] paths = getIntent().getStringExtra(INTENT_EXTRA_PATH) in renameFile() local
301 File src = new File(paths[0]); in renameFile()
302 File dst = new File(paths[1]); in renameFile()
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/
DAndroid.bp37 // exclude_srcs does not work because it uses paths local to Android.bp.
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile17 # F0401 ignores import errors since gpylint does not have the python paths
59 #import-paths=
324 # paths.
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java1420 String[] authorities, String[] ports, String[] paths, int[] pathTypes) { in Match() argument
1422 if (paths != null) { in Match()
1423 for (int i = 0; i < paths.length; i++) { in Match()
1424 addDataPath(paths[i], pathTypes[i]); in Match()
1430 String[] authorities, String[] ports, String[] paths, int[] pathTypes, in Match() argument
1432 this(actions, categories, mimeTypes, schemes, authorities, ports, paths, pathTypes); in Match()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java332 final String paths = String.format("%s%s%s", in renameFileAs() local
334 return getResultFromTestApp(testApp, paths, RENAME_FILE_QUERY); in renameFileAs()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java3098 private void deletePaths(String... paths) { in deletePaths() argument
3099 for (String path: paths) { in deletePaths()