Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/screenshot/
Dupdate_goldens.py61 for filename in os.listdir(args.source_directory):
62 if not (filename.endswith('.png') or filename.find('_actual') < 0):
64 actual_screenshot_files[get_stripped_actual_screenshot_file(filename)] = filename
66 for filename in os.listdir(args.source_directory):
67 if not (filename.endswith('.txt') or filename.endswith('.textpb')):
70 pb_file = open(os.path.join(args.source_directory, filename), 'r')
/platform_testing/libraries/screenshot/scripts/
Ddeviceless_converter.py40 def processFile(filename: str, cfg: Config, mc: ModuleConfig) -> None:
41 print("Attempting roboify on: " , filename)
44 new_filename = filename.replace("/tests/", "/tests/multivalentTests/")
49 os.rename(filename, new_filename)
57 os.rename(new_filename, filename)
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIDownloadsHelper.java53 public void openFile(String filename); in openFile() argument
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCrashUtils.java336 private final String filename; field in CrashUtils.BacktraceFrameInfo
339 public BacktraceFrameInfo(String filename, String method) { in BacktraceFrameInfo() argument
340 this.filename = filename; in BacktraceFrameInfo()
345 return this.filename; in getFilename()
566 String filename = frame.optString(FILENAME); in match()
571 || (filename != null && filenamePattern.matcher(filename).find())); in match()
/platform_testing/tools/automotive/proxy/
DAndroid.bp49 filename: "proxy_config.json",
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBaselineProfileCollectorTest.java67 private void createFileInOutputDir(String filename) throws IOException { in createFileInOutputDir() argument
68 new File(getOutputDir().toPath().resolve(filename).toString()).createNewFile(); in createFileInOutputDir()
/platform_testing/libraries/audio-test-harness/instrumentation/src/com/android/media/audiotestharness/instrumentation/
DAudioTestHarnessCaptureTest.java156 private void writeSamplesToAppStorage(String filename, short[] toWrite) throws IOException { in writeSamplesToAppStorage() argument
157 File outputFile = new File(getActivity().getFilesDir(), filename); in writeSamplesToAppStorage()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java79 public static void saveBugreport(Instrumentation instr, String filename) in saveBugreport() argument
83 templateToFilename(filename)); in saveBugreport()
DAuptTestRunner.java350 String filename = String.format("dumpheap-%s-%d", proc, count);
351 String tempFilename = "/data/local/tmp/" + filename;
352 String finalFilename = mResultsDirectory + "/" + filename;
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java129 private String takeScreenshotToFile(@NonNull String filename) { in takeScreenshotToFile() argument
130 File f = new File(mContext.getFilesDir(), filename); in takeScreenshotToFile()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/
DBootTimeTest.java267 private void saveDmesgInfo(String filename) throws DeviceNotAvailableException { in saveDmesgInfo() argument
271 filename, LogDataType.HOST_LOG, new FileInputStreamSource(dmesgFile, false)); in saveDmesgInfo()
/platform_testing/libraries/sts-common-util/sts-sdk/package/
Dbuild.gradle35 // the project name to your submodule as well as the APK output filename.
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java245 private void copySystemLibToVendorIfMissing(String filename) in copySystemLibToVendorIfMissing() argument
253 filename)); in copySystemLibToVendorIfMissing()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java500 private JSONObject stackFrame(String filename, String method) throws JSONException { in stackFrame() argument
501 return new JSONObject().put(CrashUtils.FILENAME, filename).put(CrashUtils.METHOD, method); in stackFrame()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneUtils.java555 String filename = frame.getFileName(); // empty proto field returns ""
559 filenamePattern == null || filenamePattern.matcher(filename).find();
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/util/
DTombstoneUtilsTest.java96 String filename = String.format("tombstones/tombstone-%03d.pb", index); in testGetAllCrashes() local
98 try (InputStream is = getClass().getClassLoader().getResourceAsStream(filename)) { in testGetAllCrashes()
/platform_testing/libraries/motion/golden_updater/
Dwatch_local_tests.py545 def parse_text_proto(filename): argument
549 with open(filename, "r") as file:
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java668 private File getExactFileNameMatcher(String parentName, String filename) { in getExactFileNameMatcher() argument
669 return argThat(f -> f.getParent().contains(parentName) && f.getName().equals(filename)); in getExactFileNameMatcher()