Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py41 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)
118 framework_res_path = os.path.join(os.environ['OUT'], 'system/framework/framework-res.apk')
125 if os.path.isdir(os.path.join(sdk_dir, dir)):
132 android_jar_path = os.path.join(sdk_dir, best_dir, 'android.jar')
155 os.remove(os.path.join(path, filename))
167 root_folder = os.path.join(args.workspace, 'quick_rro')
168 manifest_file = os.path.join(root_folder, 'AndroidManifest.xml')
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
DAudioGroupTest.java106 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 …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityEventBuilderTest.java70 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 …]
/packages/modules/Gki/
Ddownload_boot_prebuilt.py70 url = os.path.join(url_base, filename)
71 dest_filename = os.path.join(dest_dir, filename)
77 arch_dir = os.path.join(boot_prebuilt, ver, arch)
78 variant_dir = os.path.join(arch_dir, variant)
88 logger.info("Calling: %s", " ".join(args))
90 shutil.move(os.path.join(variant_dir, boot_img_name), os.path.join(arch_dir, stored_img_name))
110 boot_prebuilt = os.path.join(ANDROID_BUILD_TOP, BOOT_PREBUILT_REL_DIR)
114 for arch in os.listdir(os.path.join(boot_prebuilt, ver)):
130 success_dirs.append(os.path.join(BOOT_PREBUILT_REL_DIR, ver, arch))
135 logger.info(" ".join(args))
Dota_from_raw_image.py76 zip.write(img_path, arcname=os.path.join("IMAGES", name + ".img"))
84 zip.writestr("META/ab_partitions.txt", "\n".join(names) + "\n")
99 shutil.copy(payload.payload_file, os.path.join(args.out, "payload.bin"))
101 shutil.copy(payload.payload_properties, os.path.join(args.out, "payload_properties.txt"))
/packages/modules/adb/
Dtest_device.py483 large_input = b'\n'.join(characters)
509 script = ";".join([x.strip() for x in script.strip().splitlines()])
545 thread.join()
749 full_path = posixpath.join(in_dir, base_name)
817 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
838 empty_dir_path = os.path.join(host_dir, 'empty')
843 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty")
866 with open(os.path.join(host_dir, 'foo'), 'w') as f:
869 symlink_path = os.path.join(host_dir, 'symlink')
876 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')])
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/apitest/
Dauto-generate-resources.py30 ROOT_FOLDER = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../'))
31 OUTPUT_FILE_PATH = os.path.join(ROOT_FOLDER, 'tests/apitest/')
70 resources = get_all_resources(os.path.join(ROOT_FOLDER, 'car-ui-lib/src/main/res'))
71 …check_resource_names(resources, get_resources_from_single_file(os.path.join(OUTPUT_FILE_PATH, 'res…
73 …OVERLAYABLE_OUTPUT_FILE_PATH = os.path.join(ROOT_FOLDER, 'car-ui-lib/src/main/res-overlayable/valu…
76 old_mapping = get_resources_from_single_file(os.path.join(OUTPUT_FILE_PATH, 'current.xml'))
77 compare_resources(old_mapping, resources, os.path.join(OUTPUT_FILE_PATH, 'current.xml'))
103 with open(os.path.join(OUTPUT_FILE_PATH, output_file), 'wb') as f:
212 print('Resources removed:\n' + '\n'.join(map(lambda x: str(x), removed)))
214 print('Resources added:\n' + '\n'.join(map(lambda x: str(x), added)))
Dresource_utils.py64 allResDirs = [f for f in os.listdir(resDir) if os.path.isdir(os.path.join(resDir, f))]
73 for file in os.listdir(os.path.join(resDir, dir)):
77 ResourceLocation(os.path.join(resDir, dir, file))))
79 for resource in get_ids_from_layout_file(os.path.join(resDir, dir, file)):
83 for file in os.listdir(os.path.join(resDir, dir)):
85 for resource in get_resources_from_single_file(os.path.join(resDir, dir, file)):
/packages/apps/Car/tests/tools/rro/
Dresource_utils.py58 allResDirs = [f for f in os.listdir(resDir) if os.path.isdir(os.path.join(resDir, f))]
65 for file in os.listdir(os.path.join(resDir, dir)):
66 filePath = os.path.abspath(os.path.join(resDir, dir, file))
70 ResourceLocation(os.path.join(resDir, dir, file))))
72 for resource in get_ids_from_layout_file(os.path.join(resDir, dir, file)):
75 for file in os.listdir(os.path.join(resDir, dir)):
76 filePath = os.path.abspath(os.path.join(resDir, dir, file))
78 for resource in get_resources_from_single_file(os.path.join(resDir, dir, file),
/packages/modules/ArtPrebuilt/
Dupdate-art-module-prebuilts.py67 os.path.join(arch, apex_name + ".apex"),
68 os.path.join(PACKAGE_PATH, apex_name + "-" + arch + ".apex"),
76 os.path.join("mainline-sdks",
78 os.path.join(SDK_PATH, SDK_VERSION, sdk_dir),
163 bp_file.write("\n".join(header_lines + content_lines))
169 msg = " ".join(cmd) if isinstance(cmd, list) else cmd
248 check_call(["cp", os.path.join(local_dist, entry.source_path), install_dir])
283 .format(path, " ".join(roots)))
355 bp_path = os.path.join(entry.install_path, "Android.bp")
/packages/services/Car/tools/emulator/
Dvhal_const_generate.py63 script_directory = os.path.join(os.path.dirname(os.path.abspath(__file__)))
64 parent_location = os.path.abspath(os.path.join(script_directory, '..'))
88 vhal_location = os.path.join(android_build_top, 'hardware','interfaces','automotive','vehicle')
90 vhal_location = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
98 vhal_20_file = os.path.join(vhal_location, '2.0', 'types.hal')
106 vhal_20_file = open(os.path.join(script_directory, 'vhal_consts_2_0.py'), 'w')
/packages/modules/common/tools/
Dfinalize_sdk.py40 print("Running: " + ' '.join(fetch_cmd))
65 return os.path.join(base, 'test-exports')
67 return os.path.join(base, 'host-exports')
81 cmdline = " ".join(filter(lambda x: x not in ['-a', '--amend_last_commit'], sys.argv))
91 target_dir = os.path.join(repo, dir)
95 with zipfile.ZipFile(os.path.join(tmpdir, f)) as zipFile:
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DRaceConditionReproducerTest.java66 tb.join(); in run3_3_TestAction()
115 tb.join(); in test3_3_enter_exit()
163 tb.join(); in test2_1_2()
164 tc.join(); in test2_1_2()
199 tb.join(); in test2_1_2_enter_exit()
200 tc.join(); in test2_1_2_enter_exit()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java91 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in quickViewer()
109 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in gestureScale()
122 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in jobProgressDialog()
137 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in docDetails()
153 + TextUtils.join(" ", tokens)); in forcePaging()
157 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in forcePaging()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java90 t.join(); in testDefaultAllowDecoding()
102 t.join(); in testCancelDecoding()
115 t.join(); in testAllowDecoding()
131 t1.join(); in testThreadDecoding()
132 t2.join(); in testThreadDecoding()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/
DTextUtils.java60 public static CharSequence join(Iterable<CharSequence> list) { in join() method in TextUtils
62 return join(delimiter, list); in join()
70 public static String join(CharSequence delimiter, Object[] tokens) { in join() method in TextUtils
89 public static String join(CharSequence delimiter, Iterable<?> tokens) { in join() method in TextUtils
/packages/modules/StatsD/statsd/tests/log_event/
DLogEventQueue_test.cpp71 reader.join(); in TEST()
72 writer.join(); in TEST()
105 reader.join(); in TEST()
106 writer.join(); in TEST()
/packages/modules/NeuralNetworks/tools/test_generator/tests/
Dtest.py140 return os.path.abspath(os.path.join(OrigFile.OrigDir, "../"))
194 ' '.join(args),
205 ' '.join(args),
227 print ('Executing:', ' '.join(args))
237 tests.fail('subprocess.call failed: ' + ' '.join(args))
/packages/modules/NeuralNetworks/tools/test_generator/
Dspec_visualizer.py58 TEMPLATE_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "spec_viz_template.html")
67 return "[%s]" % (", ".join(str(i) for i in data))
71 return "<br/>".join("<b>%s:</b> %s"%(k.capitalize(), v) for k, v in data.items())
210 "inputs": ", ".join(FormatOperand(i) for i in op.ins),
211 "outputs": ", ".join(FormatOperand(o) for o in op.outs),
Dexample_generator.py58 return ("\n" + " " * indent).join(s.split('\n'))
82 ",\n".join(str_pair(k, var[k])
87 return "{%s}" % (", ".join(ToCpp(i, indent) for i in var))
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DActualKeyboardBuilder.java150 sb.append(MoreKeySpecStringizer.STRINGIZER.join(moreKeys)); in stringize()
172 return KeyStringizer.STRINGIZER.join(keys); in toString()
181 return KeyStringizer.STRINGIZER.join(keyArray); in stringize()
192 return KeyArrayStringizer.STRINGIZER.join(rows, "\n" /* delimiter */); in toString()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java63 return this.args.equals(TextUtils.join(";", args)); in match()
113 + " for " + (projection == null ? null : TextUtils.join(",", projection)) in query()
115 + " with " + (selectionArgs == null ? null : TextUtils.join(";", selectionArgs))); in query()
130 + cursor.getCount() + " contains " + TextUtils.join(",", in query()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DInitialConfiguration.java21 import static android.text.TextUtils.join;
66 join(", ", ipAddresses), join(", ", directlyConnectedRoutes), in toString()
67 join(", ", dnsServers)); in toString()
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp228 mReconnectThread->join(); in onClosed()
266 mReconnectThread->join(); in ~DnsTlsTransport()
363 dotProbeThread.join(); in validate()
364 udpProbeThread.join(); in validate()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp533 std::string join(const std::string& joint, Iterator begin, Iterator end, ToStringFunc func) { in join() function
542 std::string join(const std::string& joint, const std::vector<T>& range, ToStringFunc func) { in join() function
543 return join(joint, range.begin(), range.end(), func); in join()
552 os << "from_hex([" << join(", ", data, data + length, toHexFloatString<T>) << "])"; in dumpTestBufferToSpecFileHelper()
556 os << "[" << join(", ", data, data + length, defaultToStringFunc<T>) << "]"; in dumpTestBufferToSpecFileHelper()
609 << join(", ", operand.dimensions, defaultToStringFunc<uint32_t>) << "]"; in dumpTestOperand()
639 << join(", ", operation.inputs, toOperandName) << ").To(" in dumpTestOperation()
640 << join(", ", operation.outputs, toOperandName) << ")\n"; in dumpTestOperation()

12345678910>>...13