/cts/apps/CameraITS/ |
D | Android.mk | 16 its-dir-name := CameraITS 17 its-dir := $(HOST_OUT)/$(its-dir-name) 18 its-build-stamp := $(its-dir)/build_stamp 24 $(its-dir): $(its-build-stamp) 28 mkdir -p $(its-dir) 29 $(ACP) -rfp cts/apps/$(its-dir-name)/* $(its-dir) 30 rm $(its-dir)/Android.mk
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AbiTest.java | 27 for (String dir : new File("/").list()) { in testNo64() 28 … if (!dir.equals("data") && !dir.equals("dev") && !dir.equals("proc") && !dir.equals("sys")) { in testNo64() 29 checkElfFilesInDirectory(new File("/" + dir)); in testNo64() 34 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory() argument 35 if (!dir.isDirectory()) { in checkElfFilesInDirectory() 39 if (isSymbolicLink(dir)) { in checkElfFilesInDirectory() 43 File[] files = dir.listFiles(); in checkElfFilesInDirectory()
|
D | FileObserverTest.java | 44 File dir = getContext().getFilesDir(); in setUp() local 45 mTestFile = new File(dir, TEST_FILE); in setUp() 47 mTestDir = new File(dir, TEST_DIR); in setUp() 141 File dir = getContext().getFilesDir(); in testFileObserver() local 142 mTestFile = new File(dir, TEST_FILE); in testFileObserver() 144 mTestDir = new File(dir, TEST_DIR); in testFileObserver() 147 MockFileObserver movedFrom = new MockFileObserver(dir.getPath()); in testFileObserver()
|
D | FileAccessPermissionTest.java | 86 public boolean accept(File dir, String filename) { in testApksAlwaysReadable() 108 File dir = getContext().getFilesDir(); in testAccessAppDataDir() local 109 assertTrue(dir.canRead()); in testAccessAppDataDir() 110 assertTrue(dir.canWrite()); in testAccessAppDataDir() 111 File newFile = new File(dir, System.currentTimeMillis() + "test.txt"); in testAccessAppDataDir()
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 17 LOCAL_PATH:= $(call my-dir) 66 notification-bot := $(call intermediates-dir-for,APPS,NotificationBot)/package.apk 67 permission-app := $(call intermediates-dir-for,APPS,CtsPermissionApp)/package.apk 86 cts-dir := $(HOST_OUT)/cts-verifier 87 verifier-dir-name := android-cts-verifier 88 verifier-dir := $(cts-dir)/$(verifier-dir-name) 89 verifier-zip-name := $(verifier-dir-name).zip 90 verifier-zip := $(cts-dir)/$(verifier-zip-name) 112 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP) 113 $(hide) mkdir -p $(verifier-dir) [all …]
|
/cts/hostsidetests/security/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir) 32 selinux_general_seapp_contexts := $(call intermediates-dir-for,ETC,general_seapp_contexts)/general_… 34 selinux_general_file_contexts := $(call intermediates-dir-for,ETC,general_file_contexts)/general_fi… 36 selinux_general_property_contexts := $(call intermediates-dir-for,ETC,general_property_contexts)/ge… 38 selinux_general_service_contexts := $(call intermediates-dir-for,ETC,general_service_contexts)/gene… 42 selinux_general_policy := $(call intermediates-dir-for,ETC,general_sepolicy.conf)/general_sepolicy.… 48 LOCAL_GENERATED_SOURCES := $(call local-generated-sources-dir)/android/cts/security/SELinuxNeverall… 52 mkdir -p $(dir $@)
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeTestUtils.java | 34 public static boolean compressDirectory(File dir, File file) throws IOException { in compressDirectory() argument 35 if (dir == null || !dir.exists() || file == null || file.exists()) { in compressDirectory() 39 final File[] srcFiles = dir.listFiles(); in compressDirectory() 71 public static boolean deleteDirectory(File dir) { in deleteDirectory() argument 72 final File files[] = dir.listFiles(); in deleteDirectory() 78 return dir.delete(); in deleteDirectory()
|
/cts/tools/vm-tests-tf/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir) 66 intermediates := $(call intermediates-dir-for,JAVA_LIBRARIES,vm-tests-tf,HOST) 80 $(vmteststf_jar): PRIVATE_INTERMEDIATES_CLASSES := $(call intermediates-dir-for,JAVA_LIBRARIES,cts-… 88 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@) 89 …$(hide) mkdir -p $(PRIVATE_INTERMEDIATES_HOSTJUNIT_FILES)/dot/junit $(dir $(PRIVATE_INTERMEDIATES_… 101 $(hide) cd $(dir $@) && zip -q -r android.core.vm-tests-tf.jar tests 103 $(vmteststf_jar) : $(vmteststf_dep_jars) $(JACK_JAR) $(JILL_JAR) $(call intermediates-dir-for,JAVA_… 104 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@) 105 …$(hide) mkdir -p $(PRIVATE_INTERMEDIATES_HOSTJUNIT_FILES)/dot/junit $(dir $(PRIVATE_INTERMEDIATES_… 109 …$(call intermediates-dir-for,JAVA_LIBRARIES,core-libart,,COMMON)/classes.jack:$(cts-tf-dalvik-lib.… [all …]
|
/cts/tests/signature/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 41 intermediates.COMMON := $(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME),,COMMON) 55 $(hide) rm -f $(dir $@)/api_ver_is_* \ 56 && mkdir -p $(dir $@) && touch $@ 61 @ mkdir -p $(dir $@)
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 278 File dir = new File("/sys/class/xt_idletimer"); in testIdletimerDirectoryExistsAndSane() local 279 assertTrue(dir.isDirectory()); in testIdletimerDirectoryExistsAndSane() 280 assertTrue(dir.canRead()); in testIdletimerDirectoryExistsAndSane() 281 assertFalse(dir.canWrite()); in testIdletimerDirectoryExistsAndSane() 282 assertTrue(dir.canExecute()); in testIdletimerDirectoryExistsAndSane() 284 assertFileOwnedBy(dir, "root"); in testIdletimerDirectoryExistsAndSane() 285 assertFileOwnedByGroup(dir, "root"); in testIdletimerDirectoryExistsAndSane() 377 String[] dir = f.list(new FilenameFilter() { in testDeviceTreeCpuCurrent() 384 for(String cpuDir : dir) { in testDeviceTreeCpuCurrent() 610 for (String dir : OTHER_RANDOM_DIRECTORIES) { in testOtherRandomDirectoriesNotWritable() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/ |
D | Android.mk | 17 LOCAL_PATH:= $(call my-dir) 32 featureOfApk := $(call intermediates-dir-for,APPS,$(featureOf))/package.apk 33 localRStamp := $(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME),,COMMON)/src/R.stamp
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 44 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo() local 45 addResult(SYSTEM_PRIV, dir != null && dir.startsWith(PRIV_APP_DIR)); in collectDeviceInfo()
|
/cts/suite/cts/hostTests/jank/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 34 $(cts_library_jar_): $(call intermediates-dir-for,JAVA_LIBRARIES,$(LOCAL_DEVICE_JAR_))/javalib.jar … 36 $(hide) $(ACP) -fp $(call intermediates-dir-for,JAVA_LIBRARIES,$(LOCAL_DEVICE_JAR_))/javalib.jar $@
|
/cts/tools/utils/ |
D | VogarUtils.java | 66 public static ExpectationStore provideExpectationStore(String dir) throws IOException { in provideExpectationStore() argument 67 if (dir == null) { in provideExpectationStore() 70 ExpectationStore result = ExpectationStore.parse(getExpectationFiles(dir), ModeId.DEVICE); in provideExpectationStore() 74 private static Set<File> getExpectationFiles(String dir) { in getExpectationFiles() argument 76 File[] files = new File(dir).listFiles(new FilenameFilter() { in getExpectationFiles() 78 public boolean accept(File dir, String name) { in getExpectationFiles()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 71 public boolean accept(File dir, String filename) { in cleanup() 401 File dir = new File(s + "/foobardir-" + SystemClock.elapsedRealtime()); in testAccess() local 402 assertFalse("please remove " + dir.getAbsolutePath() in testAccess() 403 + " before running", dir.exists()); in testAccess() 404 File file = new File(dir, "foobar"); in testAccess() 417 assertFalse(dir.getAbsolutePath() + " was created", dir.exists()); in testAccess() 424 File dir = new File(s); in testAccess() local 425 File file = new File(dir, "foobar.jpg"); in testAccess() 449 File dir = new File(s + "/foobardir"); in testAccess() local 450 File file = new File(dir, "foobar.jpg"); in testAccess() [all …]
|
/cts/tests/tests/deqp/ |
D | Android.mk | 17 LOCAL_PATH:= $(call my-dir) 32 $(cts_deqp_apk): $(call intermediates-dir-for,APPS,$(cts_deqp_name))/package.apk
|
/cts/tests/tests/nativeopengl/libnativeopengltests/ |
D | Android.mk | 19 LOCAL_PATH := $(call my-dir)/../standalone/jni/ 20 REAL_LOCAL_PATH := $(call my-dir)
|
/cts/ |
D | CtsCoverage.mk | 31 $(hide) mkdir -p $(dir $@) 40 …ncies := $(foreach c, $(CTS_COVERAGE_TEST_CASE_LIST), $(call intermediates-dir-for,APPS,$(c))/pack… 49 cts_coverage_test_cases_dependencies := $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk 58 …oreach c, $(CTS_COVERAGE_TEST_CASE_LIST) CtsVerifier, $(call intermediates-dir-for,APPS,$(c))/pack… 88 $(hide) mkdir -p $(dir $@)
|
/cts/tests/tests/openglperf/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 44 $(cts_replica_apk): $(call intermediates-dir-for,APPS,$(cts_replica_name))/package.apk
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionAppCompat/src/com/android/cts/usepermission/ |
D | UsePermissionCompatTest.java | 72 for (File dir : getAllPackageSpecificPaths(context)) { in testCompatRevoked() 73 if (dir != null) { in testCompatRevoked() 74 assertDirNoAccess(dir); in testCompatRevoked()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 58 private int countFiles(File dir) { in countFiles() argument 60 File[] files = dir.listFiles(); in countFiles()
|
/cts/build/ |
D | device_info_package.mk | 32 manifest_xml := $(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME))/AndroidManifest.xml 41 $(hide) mkdir -p $(dir $@)
|
/cts/suite/audio_quality/ |
D | Android.mk | 20 CTS_AUDIO_TOP:= $(call my-dir) 38 $(hide) cd $(dir $@) && \
|
/cts/tests/core/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir)
|
/cts/tests/netsecpolicy/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir)
|