Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 28) 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/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/apksig/src/test/java/com/android/apksig/util/
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()
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()
/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/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
Dpython_output3.txt30 File "/tmp/Soong.python_9InCfP/test_adb.py", line 439, in test_reconnect
/tools/test/connectivity/
DPREUPLOAD.cfg5 acts_unittests = /tmp/acts_preupload_virtualenv/bin/python3 ./acts/tests/meta/ActsUnitTest.py
6 destroy_virtualenv = rm -rf /tmp/acts_preupload_virtualenv/
/tools/asuite/atest/tools/
Dupdatedb_darwin.sh42 TMPDIR=/tmp
79 : ${DATABASE:=/tmp/locate.database}
/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/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"
80 src_content: "nobody:x:999999:65534:nobody:/tmp:/bin/bash"
/tools/trebuchet/scripts/
Drun-user-switch-perf.sh16 adb pull /sdcard/atrace-ss.txt /tmp
/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/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/trebuchet/trebuchet/system-server-analyzer/
DREADME.md25 Opening `/tmp/atrace-ss.txt`
/tools/trebuchet/trebuchet/user-switch-analyzer/
DREADME.md31 Opening /tmp/atrace-ss.txt
/tools/carrier_settings/python/
Dupdate_carrier_data.py279 tmp = sorted(carriers.entry, key=lambda c: c.canonical_name)
281 carriers.entry.extend(tmp)
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java936 IConfiguration tmp = null; in testCreateConfigurationFromArgs_templateName_notExistTest() local
938 tmp = mFactory.createConfigurationFromArgs(new String[]{configName, in testCreateConfigurationFromArgs_templateName_notExistTest()
943 assertTrue(tmp.getTests().size() == 2); in testCreateConfigurationFromArgs_templateName_notExistTest()
947 tmp = mFactory.createConfigurationFromArgs(new String[]{configName, in testCreateConfigurationFromArgs_templateName_notExistTest()
952 assertTrue(tmp.getTests().size() == 2); in testCreateConfigurationFromArgs_templateName_notExistTest()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java1297 File tmp = File.createTempFile(getClass().getSimpleName(), ".apk"); in assertGolden() local
1300 tmp.toPath(), in assertGolden()
1308 fail(tmp + " differs from " + expectedOutResourceName); in assertGolden()

12