Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 35) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java117 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_randomEvents() local
126 FileUtil.deleteFile(tmp); in testParse_randomEvents()
159 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_invalidEventOrder() local
168 FileUtil.deleteFile(tmp); in testParse_invalidEventOrder()
188 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_testNotStarted() local
196 FileUtil.writeToFile(startRun, tmp, true); in testParse_testNotStarted()
202 FileUtil.writeToFile(testEnded, tmp, true); in testParse_testNotStarted()
203 resultParser.parseFile(tmp); in testParse_testNotStarted()
207 FileUtil.deleteFile(tmp); in testParse_testNotStarted()
227 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_noTimeStamp() local
[all …]
/tools/dexter/slicer/export/slicer/
Dbuffer.h131 dex::u1 tmp[4]; in PushULeb128() local
132 dex::u1* end = dex::WriteULeb128(tmp, value); in PushULeb128()
133 assert(end > tmp && end - tmp <= 4); in PushULeb128()
134 return Push(tmp, end - tmp); in PushULeb128()
138 dex::u1 tmp[4]; in PushSLeb128() local
139 dex::u1* end = dex::WriteSLeb128(tmp, value); in PushSLeb128()
140 assert(end > tmp && end - tmp <= 4); in PushSLeb128()
141 return Push(tmp, end - tmp); in PushSLeb128()
Dintrusive_list.h49 auto tmp(*this);
51 return tmp;
61 auto tmp(*this);
63 return tmp;
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java342 List<String> tmp = new ArrayList<String>(); in testStartGce_timeout()
343 tmp.add(""); in testStartGce_timeout()
344 return tmp; in testStartGce_timeout()
448 List<String> tmp = new ArrayList<String>(); in testStartGce()
449 tmp.add(""); in testStartGce()
450 return tmp; in testStartGce()
488 List<String> tmp = new ArrayList<String>(); in testStartGce_failed()
489 tmp.add(""); in testStartGce_failed()
490 return tmp; in testStartGce_failed()
547 List<String> tmp = new ArrayList<String>(); in testStartGce_bootFail()
[all …]
DRemoteAndroidVirtualDeviceTest.java182 List<String> tmp = new ArrayList<String>(); in testExceptionFromParser()
183 tmp.add(""); in testExceptionFromParser()
184 return tmp; in testExceptionFromParser()
/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly24 …log-file-path=/tmp/atest_result/20200616_105829_apjgcqmm/log --no-enable-granular-attempts --no-us…
29 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
31 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
33 1^/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir168418226813439916382…
43 �/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/device_logcat_setu…
46 �/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/device_logcat_test…
49 �/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/executeShellComman…
52 t/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/host_adb_log_166000…
55 �/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/device_logcat_tear…
58 o/tmp/atest_result/20200616_105829_apjgcqmm/log/invocation_10830271556174369472/host_log_4629798235…
[all …]
/tools/tradefederation/core/
DAndroid.mk77 rm -rf $(dir $@)/tmp && mkdir -p $(dir $@)/tmp
79 cp -f $(call word-colon,1,$(f)) $(dir $@)/tmp/$(call word-colon,2,$(f)) &&) true
80 echo $(BUILD_NUMBER_FROM_FILE) > $(dir $@)/tmp/version.txt
81 $(SOONG_ZIP) -o $@ -C $(dir $@)/tmp -f $(dir $@)/tmp/version.txt \
82 $(foreach f,$(PRIVATE_COPY_PAIRS),-f $(dir $@)/tmp/$(call word-colon,2,$(f)))
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFChunkTest.java81 File tmp = File.createTempFile(DataSourceFromRAFChunkTest.class.getSimpleName(), ".bin"); in createDataSource() local
84 Files.write(tmp.toPath(), fullContents); in createDataSource()
85 f = new RandomAccessFile(tmp, "r"); in createDataSource()
88 tmp.delete(); in createDataSource()
94 new DataSourceFromRAFTest.TmpFileCloseable(tmp, f)); in createDataSource()
DDataSourceFromRAFTest.java77 File tmp = File.createTempFile(DataSourceFromRAFTest.class.getSimpleName(), ".bin"); in createDataSource() local
80 Files.write(tmp.toPath(), contents); in createDataSource()
81 f = new RandomAccessFile(tmp, "r"); in createDataSource()
84 tmp.delete(); in createDataSource()
90 new TmpFileCloseable(tmp, f)); in createDataSource()
DDataSinkFromRAFTest.java36 File tmp = File.createTempFile(DataSourceFromRAFTest.class.getSimpleName(), ".bin"); in createDataSink() local
39 f = new RandomAccessFile(tmp, "rw"); in createDataSink()
42 tmp.delete(); in createDataSink()
47 new DataSourceFromRAFTest.TmpFileCloseable(tmp, f)); in createDataSink()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DOutputStreamDataSink.java69 byte[] tmp = new byte[Math.min(buf.remaining(), MAX_READ_CHUNK_SIZE)]; in consume()
71 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume()
72 buf.get(tmp, 0, chunkSize); in consume()
73 mOut.write(tmp, 0, chunkSize); in consume()
DByteArrayDataSink.java83 byte[] tmp = new byte[Math.min(buf.remaining(), MAX_READ_CHUNK_SIZE)]; in consume()
85 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume()
86 buf.get(tmp, 0, chunkSize); in consume()
87 System.arraycopy(tmp, 0, mArray, mSize, chunkSize); in consume()
/tools/tradefederation/core/tests/res/testtype/
Dpython_subtest_output.txt8 File "/tmp/example_test.py", line 39, in test_with_more_failing_subtests
16 File "/tmp/example_test.py", line 41, in test_with_more_failing_subtests
24 File "/tmp/example_test.py", line 27, in test_with_some_failing_subtests
32 File "/tmp/example_test.py", line 31, in test_with_some_failing_subtests
Dpython_output1.txt35 File "/tmp/Soong.python_jxrjVK/test_adb.py", line 374, in test_emulator_connect
44 File "/tmp/Soong.python_jxrjVK/test_adb.py", line 481, in test_disconnect
/tools/treble/build/sandbox/
Dnsjail.cfg68 # Point $HOME to /tmp in case the toolchain needs to write something out there
69 envar: "HOME=/tmp"
71 dst: "/tmp"
89 src_content: "nobody:x:999999:65534:nobody:/tmp:/bin/bash"
/tools/tradefederation/core/src/com/android/tradefed/config/
DArgsOptionParser.java342 String tmp = grabNextValue(args, name, "for its key"); in parseLongOption() local
345 String[] parts = p.split(tmp, /* allow empty-string values */ -1); in parseLongOption()
353 name, tmp)); in parseLongOption()
355 key = tmp.replaceAll("\\\\=", "="); in parseLongOption()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java937 IConfiguration tmp = null; in testCreateConfigurationFromArgs_templateName_notExistTest() local
939 tmp = mFactory.createConfigurationFromArgs(new String[]{configName, in testCreateConfigurationFromArgs_templateName_notExistTest()
944 assertTrue(tmp.getTests().size() == 2); in testCreateConfigurationFromArgs_templateName_notExistTest()
948 tmp = mFactory.createConfigurationFromArgs(new String[]{configName, in testCreateConfigurationFromArgs_templateName_notExistTest()
953 assertTrue(tmp.getTests().size() == 2); in testCreateConfigurationFromArgs_templateName_notExistTest()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt703 val tmp = System.getenv("TMPDIR") in <lambda>() constant
704 if (tmp != null) { in <lambda>()
708 val dir = File(tmp, relative) in <lambda>()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java936 File tmp = File.createTempFile(getClass().getSimpleName(), ".apk"); in assertGolden() local
939 tmp.toPath(), in assertGolden()
947 fail(tmp + " differs from " + expectedOutResourceName); in assertGolden()
/tools/test/connectivity/
DPREUPLOAD.cfg5 acts_unittests = /tmp/acts_preupload_virtualenv/bin/python3 ./acts_tests/tests/meta/ActsUnitTest.py
6 destroy_virtualenv = rm -rf /tmp/acts_preupload_virtualenv/
/tools/tradefederation/core/atest/tools/
Dupdatedb_darwin.sh42 TMPDIR=/tmp
79 : ${DATABASE:=/tmp/locate.database}
/tools/asuite/atest/tools/
Dupdatedb_darwin.sh42 TMPDIR=/tmp
79 : ${DATABASE:=/tmp/locate.database}
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java120 HostMetric tmp = mMetrics.remove(0); in generateEmailBody() local
122 JSONObject metric = tmp.toJson(); in generateEmailBody()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1448 val tmp = System.getProperty("java.io.tmpdir") in <lambda>() constant
1449 if (tmp != null) { in <lambda>()
1450 s = s.replace(tmp, "TEST") in <lambda>()
/tools/trebuchet/scripts/
Drun-user-switch-perf.sh16 adb pull /sdcard/atrace-ss.txt /tmp

12