/aosp12/build/make/tools/releasetools/ |
H A D | test_merge_target_files.py | 68 createEmptyFile(os.path.join(input_dir, 'a.h')) 69 createEmptyFile(os.path.join(input_dir, 'b.h')) 140 os.makedirs(os.path.join(output_dir, 'META')) 149 os.makedirs(os.path.join(vendor_dir, 'META')) 174 os.makedirs(os.path.join(output_dir, 'META')) 183 os.makedirs(os.path.join(conflict_dir, 'META')) 195 os.makedirs(os.path.join(output_dir, 'META')) 204 os.makedirs(os.path.join(vendor_dir, 'META')) 268 }, os.path.join(product_out_dir, 'policy')) 269 self.assertEqual(' '.join(cmd), [all …]
|
H A D | test_validate_target_files.py | 60 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 75 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 92 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 147 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 171 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 183 verity_key_ramdisk = os.path.join( 202 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 214 verity_key_ramdisk = os.path.join( 235 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 288 os.mkdir(os.path.join(input_tmp, 'IMAGES')) [all …]
|
H A D | test_build_image.py | 122 with open(os.path.join(root_dir, 'init'), 'w') as init_fp: 126 with open(os.path.join(origin_in, 'file'), 'w') as in_fp: 128 os.symlink('../etc', os.path.join(origin_in, 'symlink')) 140 os.path.join(in_dir, 'init'), os.path.join(root_dir, 'init'))) 142 os.path.join(in_dir, 'system', 'file'), 143 os.path.join(origin_in, 'file'))) 155 with open(os.path.join(origin_in, 'file'), 'w') as in_fp: 157 os.symlink('../etc', os.path.join(origin_in, 'symlink')) 171 os.path.join(in_dir, 'init'), os.path.join(root_dir, 'init'))) 173 os.path.join(in_dir, 'system', 'file'), [all …]
|
H A D | test_sign_apex.py | 34 foo_apex = os.path.join(self.testdata_dir, 'foo.apex') 35 payload_key = os.path.join(self.testdata_dir, 'testkey_RSA4096.key') 36 container_key = os.path.join(self.testdata_dir, 'testkey') 47 test_apex = os.path.join(self.testdata_dir, 'has_apk.apex') 48 payload_key = os.path.join(self.testdata_dir, 'testkey_RSA4096.key') 49 container_key = os.path.join(self.testdata_dir, 'testkey') 50 apk_keys = {'wifi-service-resources.apk': os.path.join( 63 apex = os.path.join(test_utils.get_current_dir(), 'com.android.apex.compressed.v1.capex') 64 payload_key = os.path.join(self.testdata_dir, 'testkey_RSA4096.key') 65 container_key = os.path.join(self.testdata_dir, 'testkey')
|
H A D | test_common.py | 1129 '\n'.join([ 1153 '\n'.join([ 1196 '\n'.join([ 1221 '\n'.join([ 1251 '\n'.join([ 1276 '\n'.join([ 1351 file_path = os.path.join(self.testdata_dir, 1371 info_values = ''.join( 1865 loc = os.path.join(self._tempdir, prefix, name) 2151 'ODM/etc/build.prop': '\n'.join(build_prop), [all …]
|
H A D | test_add_img_to_target_files.py | 41 path = os.path.join(OPTIONS.input_tmp, prefix) 46 image_path = os.path.join(path, image + '.img') 50 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES') 63 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO') 66 with open(os.path.join(radio_path, 'modem.img'), 'wb') as image_fp: 81 os.path.exists(os.path.join(images_path, image + '.img'))) 90 os.path.exists(os.path.join(images_path, image + '.img'))) 114 os.path.exists(os.path.join(images_path, image + '.img'))) 145 meta_path = os.path.join(OPTIONS.input_tmp, 'META') 172 self.assertEqual('\n'.join(expected), plain_text) [all …]
|
H A D | merge_target_files.py | 303 original_file_path = os.path.join(from_dir, file_path) 304 copied_file_path = os.path.join(to_dir, file_path) 512 os.path.join(vendor_target_files_dir, 'META', 527 output_dynamic_partitions_info_txt = os.path.join( 593 file_path = os.path.join(d, 'META', file_name) 654 os.path.join(output_target_files_dir, 'META', 657 vendor_fc_path = os.path.join(vendor_target_files_dir, 'META', 768 ' '.join(duplicates)) 786 image_path = os.path.join(output_target_files_dir, 'IMAGES', 1107 shareduid_violation_modules = os.path.join( [all …]
|
H A D | test_check_target_files_vintf.py | 70 test_delta_dir = os.path.join(self.testdata_dir, test_delta_rel_path) 75 write_string_to_file(content, os.path.join(test_dir, rel_path)) 83 output_file = os.path.join(test_dir, rel_root, f) 84 with open(os.path.join(root, f)) as inp: 106 write_string_to_file('', os.path.join(test_dir, 'META/kernel_configs.txt')) 108 os.path.join(test_dir, 'META/kernel_version.txt')) 116 write_string_to_file('', os.path.join(test_dir, 'META/kernel_configs.txt')) 118 os.path.join(test_dir, 'META/kernel_version.txt')) 127 os.path.join(test_dir, 'META/misc_info.txt'), mode='a') 136 os.path.join(test_dir, 'META/misc_info.txt'), mode='a') [all …]
|
/aosp12/system/tools/mkbootimg/tests/ |
H A D | mkbootimg_test.py | 119 '--out', os.path.join(temp_out_dir, 'out'), 238 boot_signature = os.path.join( 307 msg = '\n'.join([ 310 ' ' + '\n '.join(expected_output), 313 ' ' + '\n '.join(output), 321 vendor_boot_img_reconstructed = os.path.join( 381 vendor_boot_img_reconstructed = os.path.join( 425 boot_img_reconstructed = os.path.join( 467 boot_img_reconstructed = os.path.join( 531 boot_img_reconstructed = os.path.join( [all …]
|
/aosp12/frameworks/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 119 m_pTestee->join<InputTree::Inclusive>(pos, a); in TEST_F() 121 m_pTestee->join<InputTree::Positional>(pos, b); in TEST_F() 122 m_pTestee->join<InputTree::Inclusive>(pos, c); in TEST_F() 124 m_pTestee->join<InputTree::Positional>(pos, d); in TEST_F() 125 m_pTestee->join<InputTree::Inclusive>(pos, e); in TEST_F() 146 m_pTestee->join<InputTree::Inclusive>(pos, a); in TEST_F() 174 m_pTestee->join<InputTree::Inclusive>(pos, 0); in TEST_F() 189 m_pTestee->join<InputTree::Inclusive>(pos, a); in TEST_F() 192 m_pTestee->join<InputTree::Inclusive>(pos, c); in TEST_F() 195 m_pTestee->join<InputTree::Inclusive>(pos, e); in TEST_F() [all …]
|
/aosp12/system/bt/gd/cert/ |
H A D | bluetooth_packets_python3_setup.py | 33 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "system/bt/gd") 34 BT_PACKETS_GEN_DIR = os.path.join(ANDROID_BUILD_TOP, 40 os.path.join(GD_DIR, "l2cap/fcs.cc"), 41 os.path.join(GD_DIR, "packet/bit_inserter.cc"), 42 os.path.join(GD_DIR, "packet/byte_inserter.cc"), 43 os.path.join(GD_DIR, "packet/byte_observer.cc"), 44 os.path.join(GD_DIR, "packet/iterator.cc"), 46 os.path.join(GD_DIR, "packet/packet_view.cc"), 47 os.path.join(GD_DIR, "packet/raw_builder.cc"), 48 os.path.join(GD_DIR, "packet/view.cc"), [all …]
|
/aosp12/frameworks/rs/ |
H A D | build_rs.py | 44 out_dir = os.path.join(top_out, *args) 95 install_dir = os.path.join(install_host_dir, package_name) 135 lib_install = os.path.join(install_dir, 'bin', lib_name) 178 install_path = os.path.join(install_dir, dirname) 203 headers_dst = os.path.join( 254 built_lib = os.path.join( 259 built_lib = os.path.join( 265 lib_dir = os.path.join(install_dir, 'platform') 274 headers_dst = os.path.join(headers_dst_base, 'scriptc') 279 headers_dst = os.path.join(headers_dst_base, 'cpp/util') [all …]
|
/aosp12/system/bt/test/ |
H A D | gen_coverage.py | 181 source_file = os.path.join(os.path.join(WORKING_DIR, tests[0]['test_name']), "style.css") 182 dest_file = os.path.join(WORKING_DIR, "style.css") 194 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name) 200 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name)) 228 logging.debug('cmd: ' + " ".join(cmd)) 229 if subprocess.call(" ".join(cmd), shell=True) != 0: 251 test_cmd = os.path.join(os.path.join(get_native_test_root_or_die(), test_name), test_name) 259 logging.debug('cmd: ' + " ".join(cmd)) 260 if subprocess.call(" ".join(cmd), shell=True) != 0: 282 test_cmd = os.path.join(os.path.join(get_native_test_root_or_die(), test_name), test_name) [all …]
|
/aosp12/frameworks/base/services/incremental/test/ |
H A D | path_test.cpp | 44 EXPECT_STREQ("", path::join("", "").c_str()); in TEST() 46 EXPECT_STREQ("/", path::join("", "/").c_str()); in TEST() 47 EXPECT_STREQ("/", path::join("/", "").c_str()); in TEST() 48 EXPECT_STREQ("/", path::join("/", "/").c_str()); in TEST() 49 EXPECT_STREQ("/", path::join("/"s, "/").c_str()); in TEST() 50 EXPECT_STREQ("/", path::join("/"sv, "/").c_str()); in TEST() 53 EXPECT_STREQ("/a/b/c/d", path::join("/a/b/"s, "c", "d").c_str()); in TEST() 54 EXPECT_STREQ("/a/b/c/d", path::join("/a/b/", "c", "d").c_str()); in TEST() 55 EXPECT_STREQ("/a/b/c/d", path::join("/", "a/b/", "c", "d").c_str()); in TEST() 56 EXPECT_STREQ("/a/b/c/d", path::join("/", "a/b", "c", "d").c_str()); in TEST() [all …]
|
/aosp12/system/apex/apexer/ |
H A D | apexer_test.py | 68 print("\nRunning: \n%s\n" % " ".join(args)) 70 logger.info(" Running: \"%s\"", " ".join(args)) 78 args[0] = os.path.join(host_command_dir, args[0]) 189 file_path = os.path.join(dir_name, "bin", i) 198 path = os.path.join(dir_name, "bin") 203 ld_library_path = os.path.join(dir_name, "lib64") 219 file_path = os.path.join(dir_name, i) 243 if os.path.exists(os.path.join(dir_name, i)): 244 os.remove(os.path.join(dir_name, i)) 258 if os.path.exists(os.path.join(dir_name, i)): [all …]
|
/aosp12/system/bt/gd/rust/facade_proto/ |
H A D | build.rs | 47 let proto_out_dir = out_dir.join("proto_out"); in main() 48 let grpc_out_dir = out_dir.join("grpc_out"); in main() 63 Ok(dir) => PathBuf::from(dir).join("bt/gd"), in main() 71 let facade_dir = proto_root.join("facade"); in main() 72 let proto_input_files = [facade_dir.join("common.proto")]; in main() 87 proto_root.join("hci/facade/hci_facade.proto"), in main() 89 proto_root.join("hal/hal_facade.proto"), in main() 90 proto_root.join("facade/rootservice.proto"), in main() 93 proto_root.join("hci/facade"), in main() 94 proto_root.join("hal"), in main() [all …]
|
/aosp12/frameworks/base/startop/scripts/iorap/ |
H A D | compiler_test.py | 36 TEXTCACHE = os.path.join(DIR, 'test_fixtures/compiler/common_textcache') 37 SYSTRACE = os.path.join(DIR, 'test_fixtures/compiler/common_systrace') 38 ARGV = [os.path.join(DIR, 'compiler.py'), '-i', TEXTCACHE, '-t', SYSTRACE] 39 PERFETTO_TRACE = os.path.join(DIR, 52 expected = os.path.join(DIR, 54 output = tmpdir.mkdir('compiler').join('tmp_systrace') 63 output = tmpdir.mkdir('compiler').join('output') 66 expected = os.path.join(DIR, 71 expected = os.path.join(DIR, 76 expected = os.path.join(DIR,
|
/aosp12/bionic/libc/kernel/tools/ |
H A D | update_all.py | 29 update_dir = os.path.join(get_kernel_dir(), update_rel_dir) 33 src_dir = os.path.normpath(os.path.join(original_dir, src_rel_dir)) 35 mod_src_dir = os.path.join(modified_dir, src_rel_dir) 36 update_dir = os.path.join(get_kernel_dir(), update_rel_dir) 44 src_file = os.path.normpath(os.path.join(root, file)) 47 if os.path.exists(os.path.join(mod_src_dir, rel_path)): 48 src_file = os.path.join(mod_src_dir, rel_path) 49 src_str = os.path.join("<modified>", src_rel_dir, rel_path) 52 dst_file = os.path.join(update_dir, rel_path) 64 update_path = os.path.join(update_rel_dir, rel_path) [all …]
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/ |
H A D | AudioGroupTest.java | 106 mStreamA.join(mGroup); in testTraffic() 109 mStreamB.join(mGroup); in testTraffic() 112 mStreamA.join(null); in testTraffic() 118 mStreamA.join(mGroup); in testTraffic() 129 mStreamA.join(mGroup); in testSetMode() 130 mStreamB.join(mGroup); in testSetMode() 140 mStreamA.join(mGroup); in testAdd() 143 mStreamB.join(mGroup); in testAdd() 146 mStreamA.join(mGroup); in testAdd() 151 mStreamA.join(mGroup); in testRemove() [all …]
|
/aosp12/packages/apps/Car/libs/car-ui-lib/tests/tools/ |
H A D | quick_rro.py | 41 return ''.join(chars) 56 hash.update(''.join(args.resources).encode('UTF-8')) 60 path = os.path.join(root, file) 81 err = 'command failed: ' + ' '.join(command_args) 125 if os.path.isdir(os.path.join(sdk_dir, dir)): 155 os.remove(os.path.join(path, filename)) 167 root_folder = os.path.join(args.workspace, 'quick_rro') 171 signed_apk = os.path.join(root_folder, package_name + '.apk') 177 values_folder = os.path.join(resource_folder, 'values') 178 resource_file = os.path.join(values_folder, 'values.xml') [all …]
|
/aosp12/system/apex/tests/testdata/sharedlibs/build/ |
H A D | shared_libs_repack.py | 99 logger.info(' Running: \"%s\"', ' '.join(args)) 143 file_path = os.path.join(dir_name, i) 166 if os.path.exists(os.path.join(dir_name, i)): 167 os.remove(os.path.join(dir_name, i)) 169 shutil.rmtree(os.path.join(dir_name, 'lost+found')) 219 return os.path.join(dirname, tool_name) 230 os.path.join( 263 result += ' '.join(config) + '\n' 284 lib_paths = [os.path.join(payload_dir, lib_dir, lib) 349 shutil.rmtree(os.path.join(payload_dir, 'bin')) [all …]
|
/aosp12/system/bt/ |
H A D | build.py | 167 return ' '.join(rust_flags) 175 cargo_home = os.path.join(self.output_dir, 'cargo_home') 177 os.makedirs(os.path.join(cargo_home, 'bin'), exist_ok=True) 187 libdir = os.path.join(self.use_board, self.libdir) 237 return os.path.join(self.output_dir, 'out/Default') 274 'libdir': os.path.join(self.sysroot, self.libdir), 305 gn_args_args += ['use={%s}' % (' '.join(use_args))] 317 '--args=%s' % ' '.join(gn_args_args), 378 …os.path.join(self._gn_default_output(), 'bluetooth_packetgen'), os.path.join(self.env['CARGO_HOME'… 384 rust_dir = os.path.join(self._gn_default_output(), 'rust') [all …]
|
/aosp12/packages/services/Car/car_product/car_ui_portrait/tools/ |
H A D | export_emulator.py | 12 return os.path.join(os.environ['ANDROID_BUILD_TOP'], path) 15 return os.path.join(os.environ['ANDROID_PRODUCT_OUT'], path) 18 outputDir = os.path.join(outputDir, abi) 22 copy2(fromProductOut('system-qemu.img'), os.path.join(outputDir, 'system.img')) 23 copy2(fromProductOut('vendor-qemu.img'), os.path.join(outputDir, 'vendor.img')) 28 copy2(fromProductOut('ramdisk-qemu.img'), os.path.join(outputDir, 'ramdisk.img')) 33 copytree(fromProductOut('data'), os.path.join(outputDir, 'data'), dirs_exist_ok=True) 34 copy2(fromProductOut('system/build.prop'), os.path.join(outputDir, 'build.prop')) 58 os.makedirs(os.path.join(outputDir, '.android/avd/my_car_avd.avd/'), exist_ok=True) 59 with open(os.path.join(outputDir, '.android/avd/my_car_avd.ini'), 'w') as f: [all …]
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/ |
H A D | RSUnitTests.py | 289 return os.path.join(ThisScriptDir(), 'src', 'com', 'android', 'rs', 295 return os.path.join(ThisScriptDir(), 'supportlibonlysrc', 'com', 301 return os.path.join(ThisScriptDir(), 'supportlibsrc_gen', 'com', 320 in_path = os.path.join(java_file_dir, java_file_name) 321 out_path = os.path.join(SupportLibGenTestDir(), java_file_name) 336 in_path = os.path.join(rs_file_dir, rs_file_name) 337 out_path = os.path.join(SupportLibGenTestDir(), rs_file_name) 439 return os.path.join(ThisScriptDir(), '..', 'RSTestForward', 450 return os.path.join(ForwardDirLocation(build_tool_version_name), 456 return os.path.join(ForwardDirLocation(build_tool_version_name), [all …]
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
H A D | IpConnectivityEventBuilderTest.java | 70 String want = String.join("\n", in testLinkLayerInferrence() 89 want = String.join("\n", in testLinkLayerInferrence() 107 want = String.join("\n", in testLinkLayerInferrence() 125 want = String.join("\n", in testLinkLayerInferrence() 142 want = String.join("\n", in testLinkLayerInferrence() 159 want = String.join("\n", in testLinkLayerInferrence() 176 want = String.join("\n", in testLinkLayerInferrence() 205 String want = String.join("\n", in testDefaultNetworkEventSerialization() 236 String want = String.join("\n", in testDhcpClientEventSerialization() 261 String want = String.join("\n", in testDhcpErrorEventSerialization() [all …]
|