/platform_testing/libraries/screenshot/ |
D | update_goldens.py | 61 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/ |
D | deviceless_converter.py | 40 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/ |
D | IDownloadsHelper.java | 53 public void openFile(String filename); in openFile() argument
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | CrashUtils.java | 336 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/ |
D | Android.bp | 49 filename: "proxy_config.json",
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BaselineProfileCollectorTest.java | 67 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/ |
D | AudioTestHarnessCaptureTest.java | 156 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/ |
D | FilesystemUtil.java | 79 public static void saveBugreport(Instrumentation instr, String filename) in saveBugreport() argument 83 templateToFilename(filename)); in saveBugreport()
|
D | AuptTestRunner.java | 350 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/ |
D | ThemeHelper.java | 129 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/ |
D | BootTimeTest.java | 267 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/ |
D | build.gradle | 35 // 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/ |
D | RootcanalUtils.java | 245 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/ |
D | CrashUtilsTest.java | 500 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/ |
D | TombstoneUtils.java | 555 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/ |
D | TombstoneUtilsTest.java | 96 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/ |
D | watch_local_tests.py | 545 def parse_text_proto(filename): argument 549 with open(filename, "r") as file:
|
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/ |
D | StatsdListenerTest.java | 668 private File getExactFileNameMatcher(String parentName, String filename) { in getExactFileNameMatcher() argument 669 return argThat(f -> f.getParent().contains(parentName) && f.getName().equals(filename)); in getExactFileNameMatcher()
|