Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java103 private void mockCountTests(File binary, int numOfTest) throws Exception { in mockCountTests() argument
107 EasyMock.eq(binary.getAbsolutePath()), in mockCountTests()
113 private void mockListenerStarted(File binary, int count) throws Exception { in mockListenerStarted() argument
115 EasyMock.eq(binary.getName()), in mockListenerStarted()
122 private void mockListenerLog(File binary) { in mockListenerLog() argument
124 EasyMock.eq(binary.getName() + "-stderr"), in mockListenerLog()
129 private void mockTestRunExpect(File binary, CommandResult res) throws Exception { in mockTestRunExpect() argument
132 EasyMock.anyLong(), EasyMock.eq(binary.getAbsolutePath()))) in mockTestRunExpect()
152 File binary = FileUtil.createTempFile("rust-dir", ""); in testRun() local
155 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRun()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java116 File binary = FileUtil.createTempFile("python-dir", ""); in testRun() local
119 setter.setOptionValue("python-binaries", binary.getAbsolutePath()); in testRun()
129 EasyMock.anyLong(), EasyMock.eq(binary.getAbsolutePath()))) in testRun()
132 EasyMock.eq(binary.getName()), in testRun()
137 EasyMock.eq(binary.getName() + "-stdout"), in testRun()
141 EasyMock.eq(binary.getName() + "-stderr"), in testRun()
150 FileUtil.deleteFile(binary); in testRun()
157 File binary = FileUtil.createTempFile("python-dir", ""); in testRun_failWithIncludeFilters() local
160 setter.setOptionValue("python-binaries", binary.getAbsolutePath()); in testRun_failWithIncludeFilters()
170 EasyMock.anyLong(), EasyMock.eq(binary.getAbsolutePath()))) in testRun_failWithIncludeFilters()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableTargetTestTest.java16 package com.android.tradefed.testtype.binary;
80 public String findBinary(String binary) { in testRun_cmdSuccess()
81 return binary; in testRun_cmdSuccess()
124 public String findBinary(String binary) { in testRun_pathNotExist()
168 public String findBinary(String binary) { in testRun_cmdFailed()
169 return binary; in testRun_cmdFailed()
217 public String findBinary(String binary) { in testRun_addExcludeFilter()
218 return binary; in testRun_addExcludeFilter()
273 public String findBinary(String binary) { in testRun_addIncludeFilter()
274 return binary; in testRun_addIncludeFilter()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_data.py73 def __init__(self, binary, channel, sample_format): argument
86 if binary:
87 self.read_binary(binary)
89 def read_binary(self, binary): argument
106 np_array = numpy.fromstring(binary, dtype=np_dtype)
Dcheck_quality.py170 binary=self._binary,
450 binary = None
452 binary = f.read()
454 binary=binary, channel=channel, sample_format='S%d_LE' % bit_width)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java16 package com.android.tradefed.testtype.binary;
224 public abstract String findBinary(String binary) throws DeviceNotAvailableException; in findBinary() argument
329 for (String binary : mBinaryPaths) { in getAllTestCommands()
330 testCommands.put(new File(binary).getName(), binary); in getAllTestCommands()
DExecutableTargetTest.java16 package com.android.tradefed.testtype.binary;
54 public String findBinary(String binary) throws DeviceNotAvailableException { in findBinary() argument
55 for (String path : binary.split(" ")) { in findBinary()
56 if (mDevice.isExecutable(path)) return binary; in findBinary()
DExecutableHostTest.java16 package com.android.tradefed.testtype.binary;
68 public String findBinary(String binary) { in findBinary() argument
69 File bin = new File(binary); in findBinary()
90 File src = FileUtil.findFile(binary, getAbi(), scanDirs.toArray(new File[] {})); in findBinary()
/tools/test/connectivity/acts/framework/tests/metrics/
Dcore_test.py201 binary = Mock()
202 metric.get_binary = Mock(return_value=binary)
216 binary,
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessor.java80 binary, enumConstant
206 if (!(mTraceProcessorOutputFormat == METRIC_FILE_FORMAT.binary) && in processPerfettoMetrics()
235 case binary: in processPerfettoMetrics()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dsyslog_lib.py171 def set_on_output_callback(self, on_output_callback, binary=False): argument
186 self._binary_output = binary
/tools/test/connectivity/acts/framework/acts/libs/proc/
Dprocess.py77 def set_on_output_callback(self, on_output_callback, binary=False): argument
92 self._binary_output = binary
/tools/test/connectivity/acts/framework/tests/
Daudio_analysis_integrationtest.py137 binary = open(file_path, 'rb').read()
138 data = audio_data.AudioRawData(binary, 2, 'S32_LE')
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py1770 def write_read_verify_data(client_ad, server_ad, msg, binary=False): argument
1784 if binary:
1793 if binary:
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessorTest.java336 setupPerfettoMetricFile(METRIC_FILE_FORMAT.binary, true); in testParsingBinaryProto()
530 if (format.equals(METRIC_FILE_FORMAT.binary)) { in setupPerfettoMetricFile()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java162 File binary = copyFile(binaryFile.getAbsolutePath(), binaryFilesDir); in run() local
163 FileUtil.chmod(binary, EXECUTABLE); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java69 binary, enumConstant
528 } else if(mTraceProcessorOutputFormat.equals(METRIC_FILE_FORMAT.binary)) { in getLogDataType()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto5 // Redistribution and use in source and binary forms, with or without
11 // * Redistributions in binary form must reproduce the above
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt10 --in Input SigningCertificateLineage. This file contains a binary representation of
16 --out File into which to put the binary representation of a
Dhelp_rotate.txt9 --in Input SigningCertificateLineage. This file contains a binary representation of
16 --out File into which to put the binary representation of a
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java294 import com.android.tradefed.testtype.binary.ExecutableHostTestTest;
295 import com.android.tradefed.testtype.binary.ExecutableTargetTestTest;
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto5 // Redistribution and use in source and binary forms, with or without
11 // * Redistributions in binary form must reproduce the above
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/tests/
DAndroid.mk.bak38 # All gtests in all files should be compiled into one binary
/tools/asuite/atest/
DAndroid.bp86 // of updatedb, but there's no updatedb binary on test server.
/tools/acloud/
DAndroid.bp35 // Make acloud's built name to acloud-dev default build python3 binary.

12