/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 39 private static InputStream open(String path) throws FileNotFoundException { in open() argument 40 File asset = new File(path); in open() 54 public InputStream openAsset(String path, int mode) throws IOException { in openAsset() argument 55 return open(mAssetPath + path); in openAsset() 59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { in openNonAsset() argument 60 return open(path); in openNonAsset()
|
/platform_testing/scripts/perf-setup/ |
D | p23-setup.sh | 50 for path in /sys/class/devfreq/*{bci,mif,dsu,int}; do 51 local max_freq=`cat $path/max_freq` 52 echo $max_freq > $path/exynos_data/debug_scaling_devfreq_max 53 echo $max_freq > $path/exynos_data/debug_scaling_devfreq_min 55 local cur_freq=`cat $path/cur_freq` 56 echo "`basename $path` -> $cur_freq"
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/ |
D | DevicelessDevMachineExportStrategy.kt | 23 import kotlin.io.path.outputStream in <lambda>() 24 import kotlin.io.path.writeText in <lambda>() 114 private fun Bitmap.writeTo(path: Path) { in <lambda>() 116 check(!Files.exists(path) || Files.isRegularFile(path)) in <lambda>() 119 Files.createDirectories(path.parent) in <lambda>() 122 path.outputStream().use { stream -> in <lambda>()
|
/platform_testing/libraries/screenshot/ |
D | update_goldens.py | 48 source_directory = os.path.normpath(args.source_directory) 50 if not os.path.exists(source_directory): 54 if not os.path.isdir(source_directory): 70 pb_file = open(os.path.join(args.source_directory, filename), 'r') 92 src_path = os.path.join( 95 dest_path = os.path.join(pathlib.Path.home(), args.android_build_top, golden_path)
|
/platform_testing/tests/bettertogether/quickstart/performance_test/ |
D | gms_auto_updates_util.py | 110 path = os.path.join(tmp_dir, f'play_store_config_{name}.xml') 112 self._device.adb.pull([device_path, path]) 116 config_doc = ElementTree.parse(path) if os.path.isfile(path) else None 145 tree.write(path, xml_declaration=True, encoding='utf-8') 146 return path
|
/platform_testing/tests/bettertogether/betocq/ |
D | gms_auto_updates_util.py | 110 path = os.path.join(tmp_dir, f'play_store_config_{name}.xml') 112 self._device.adb.pull([device_path, path]) 116 config_doc = ElementTree.parse(path) if os.path.isfile(path) else None 145 tree.write(path, xml_declaration=True, encoding='utf-8') 146 return path
|
/platform_testing/libraries/screenshot/scripts/ |
D | deviceless_converter.py | 12 gradlew_dir: String = os.path.join(cfg.build_top, mc.gradlew_location) 13 with open(os.path.expanduser(outputFile), "w") as of: 14 ret = subprocess.run([os.path.join(gradlew_dir, "gradlew"), f"{mc.gradlew_target}"], 24 java_binary = os.path.join(java_home, 'bin/java') 38 yield os.path.join(root, name) 45 dirname = os.path.dirname(new_filename) 46 basename = os.path.basename(new_filename) 71 for f in walkDir(os.path.join(cfg.build_top, d)):
|
/platform_testing/libraries/motion/golden_updater/ |
D | watch_local_tests.py | 24 from os import path 85 if args.android_build_top is None or not os.path.exists(args.android_build_top): 149 GOLDEN_ACCESS_TOKEN_LOCATION = os.path.expanduser("~/.config/motion-golden/.token") 160 self.root_directory = path.abspath(path.dirname(__file__)) 180 parsed = urllib.parse.urlparse(self.path) 182 if parsed.path == "/service/list": 184 elif parsed.path.startswith("/golden/"): 185 requested_file_start_index = parsed.path.find("/", len("/golden/") + 1) 186 requested_file = parsed.path[requested_file_start_index + 1 :] 206 parsed = urllib.parse.urlparse(self.path) [all …]
|
/platform_testing/tests/bettertogether/betocq/directed_tests/ |
D | mcc_5g_wfd_dfs_5g_sta_test.py | 37 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 38 if _betocq_dir not in sys.path: 39 sys.path.append(_betocq_dir)
|
D | scc_dfs_5g_hotspot_sta_test.py | 37 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 38 if _betocq_dir not in sys.path: 39 sys.path.append(_betocq_dir)
|
D | scc_indoor_5g_wfd_sta_test.py | 37 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 38 if _betocq_dir not in sys.path: 39 sys.path.append(_betocq_dir)
|
D | scc_5g_wfd_dbs_2g_sta_test.py | 34 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 35 if _betocq_dir not in sys.path: 36 sys.path.append(_betocq_dir)
|
D | scc_5g_wlan_sta_test.py | 32 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 33 if _betocq_dir not in sys.path: 34 sys.path.append(_betocq_dir)
|
D | mcc_5g_wfd_non_dbs_2g_sta_test.py | 36 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 37 if _betocq_dir not in sys.path: 38 sys.path.append(_betocq_dir)
|
D | scc_dfs_5g_wfd_sta_test.py | 36 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 37 if _betocq_dir not in sys.path: 38 sys.path.append(_betocq_dir)
|
D | mcc_5g_hotspot_dfs_5g_sta_test.py | 38 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 39 if _betocq_dir not in sys.path: 40 sys.path.append(_betocq_dir)
|
D | scc_5g_wfd_sta_test.py | 31 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 32 if _betocq_dir not in sys.path: 33 sys.path.append(_betocq_dir)
|
D | scc_2g_wfd_sta_test.py | 31 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 32 if _betocq_dir not in sys.path: 33 sys.path.append(_betocq_dir)
|
D | scc_5g_aware_sta_test.py | 30 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 31 if _betocq_dir not in sys.path: 32 sys.path.append(_betocq_dir)
|
D | bt_performance_test.py | 24 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 25 if _betocq_dir not in sys.path: 26 sys.path.append(_betocq_dir)
|
D | mcc_2g_wfd_indoor_5g_sta_test.py | 38 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 39 if _betocq_dir not in sys.path: 40 sys.path.append(_betocq_dir)
|
D | mcc_aware_2g_5g_sta_test.py | 28 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 29 if _betocq_dir not in sys.path: 30 sys.path.append(_betocq_dir)
|
D | scc_2g_wlan_sta_test.py | 35 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 36 if _betocq_dir not in sys.path: 37 sys.path.append(_betocq_dir)
|
D | ble_performance_test.py | 24 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 25 if _betocq_dir not in sys.path: 26 sys.path.append(_betocq_dir)
|
/platform_testing/tests/bettertogether/betocq/compound_tests/ |
D | bt_2g_wifi_coex_test.py | 28 _betocq_dir = os.path.dirname(os.path.dirname(__file__)) 29 if _betocq_dir not in sys.path: 30 sys.path.append(_betocq_dir)
|