Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 131) sorted by relevance

123456

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DScreenRecorderTest.java33 import java.nio.file.Files;
34 import java.nio.file.Path;
65 File file = mScreenRecorder.getPath().toFile(); in videoIsRecorded() local
66 assertThat(file.exists()).isTrue(); in videoIsRecorded()
74 Path file = mScreenRecorder.save(TEST_VIDEO_FILENAME); in videoCanBeSaved() local
75 assertThat(Files.exists(file)).isTrue(); in videoCanBeSaved()
/platform_testing/libraries/health/runners/longevity/platform/samples/
DAndroid.bp5 // you may not use this file except in compliance with the License.
29 * directory, which gets packed into a .jar file and ends up under the assets/
36 "&& for file in $${src_protos[@]} ; do fname=$$(basename $$file) " +
38 "$(location :profile-proto-def) < $$file > " +
40 "echo \"\033[0;31mFailed to parse profile $$file. See above for errors.\033[0m\" " +
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DTransitionMonitor.java24 import java.nio.file.Files;
25 import java.nio.file.Path;
26 import java.nio.file.Paths;
DTraceMonitor.java25 import java.nio.file.Path;
26 import java.nio.file.Paths;
DWindowManagerTraceMonitor.java23 import java.nio.file.Path;
DLayersTraceMonitor.java23 import java.nio.file.Path;
DScreenRecorder.java26 import java.nio.file.Path;
/platform_testing/libraries/health/runners/longevity/platform/tests/
DAndroid.bp5 // you may not use this file except in compliance with the License.
29 * directory, which gets packed into a .jar file and ends up under the assets/
36 "&& for file in $${src_protos[@]} ; do fname=$$(basename $$file) " +
38 "$(location :profile-proto-def) < $$file > " +
40 "echo \"\033[0;31mFailed to parse profile $$file. See above for errors.\033[0m\" " +
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/util/
DSendToInstrumentation.java43 public static void sendFile(Instrumentation instru, String key, File file) { in sendFile() argument
46 b.putString(key, file.getAbsolutePath()); in sendFile()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DBinderCollectionHelper.java90 File file = File.createTempFile("temp-ipc-tracing-dump", ".txt"); in getMetrics() local
95 COPY_COMMAND, TRACE_FILE_PATH, file.getAbsolutePath())); in getMetrics()
100 file.getAbsolutePath(), file.length())); in getMetrics()
101 BufferedReader reader = new BufferedReader(new FileReader(file)); in getMetrics()
103 file.delete(); in getMetrics()
/platform_testing/tests/health/scenarios/tests/
DAndroid.bp4 // you may not use this file except in compliance with the License.
29 * directory, which gets packed into a .jar file and ends up under the assets/
36 "&& for file in $${src_protos[@]} ; do fname=$$(basename $$file) " +
38 "$(location :profile-proto-def) < $$file > " +
40 "echo \"\033[0;31mFailed to parse profile $$file. See above for errors.\033[0m\" " +
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DIncidentReportListener.java25 import java.nio.file.Files;
26 import java.nio.file.Path;
27 import java.nio.file.StandardOpenOption;
/platform_testing/libraries/device-collectors/src/main/platform-collectors/
DAndroid.bp4 // you may not use this file except in compliance with the License.
25 * an assets/statsd-configs/ directory, which gets packed into a .jar file and ends up under the
33 "&& for file in $${protos[@]} ; do cp $$file $$out_dir/$$assets_dir/ ; done " +
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java41 public static void saveProcessOutput(Instrumentation instr, String command, File file) in saveProcessOutput() argument
44 command, file.getAbsolutePath())); in saveProcessOutput()
46 OutputStream out = new FileOutputStream(file); in saveProcessOutput()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/
DREADME.md18 3. Write a README file explaining what the config(s) in the new subdirectory does and put it under
29 section (and this section only) in the Android Metrics documentation to create a new config file.
47 Once the config file is generated, it can be checked in following the steps in the "Checking in a
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java83 File file = new File(filePath); in startCollecting() local
87 if (file.exists() && !file.delete()) { in startCollecting()
100 if (!file.createNewFile()) { in startCollecting()
/platform_testing/tests/perf/PerformanceLaunch/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/libraries/health/composers/host/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/libraries/health/options/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/utils/wifistrengthscanner/
DAndroid.bp5 // you may not use this file except in compliance with the License.
/platform_testing/tests/example/jarhosttest/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/tests/example/devcodelab/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/libraries/health/utils/
DAndroid.bp4 // you may not use this file except in compliance with the License.
/platform_testing/utils/esimutility/
DAndroid.bp5 // you may not use this file except in compliance with the License.
/platform_testing/libraries/junitxml/
DAndroid.bp5 // you may not use this file except in compliance with the License.

123456