Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 34) sorted by relevance

12

/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/
DWatchdogEventLogger.java38 for (String type : ROLLBACK_EVENT_TYPES) { in resetProperties()
39 String key = PROP_PREFIX + type; in resetProperties()
58 private boolean matchProperty(String type, String attr, String expectedVal) throws Exception { in matchProperty() argument
59 String key = PROP_PREFIX + type + "." + attr; in matchProperty()
70 public boolean watchdogEventOccurred(String type, String logPackage, in watchdogEventOccurred() argument
72 return mDevice.getBooleanProperty(PROP_PREFIX + type, false) in watchdogEventOccurred()
73 && matchProperty(type, "logPackage", logPackage) in watchdogEventOccurred()
74 && matchProperty(type, "rollbackReason", rollbackReason) in watchdogEventOccurred()
75 && matchProperty(type, "failedPackageName", failedPackageName); in watchdogEventOccurred()
95 void eventOccurred(String type, String logPackage, String rollbackReason, in eventOccurred() argument
[all …]
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsReportLog.java87 public void addValue(String source, String message, double value, ResultType type, in addValue() argument
89 super.addValue(source, message, value, type, unit); in addValue()
101 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument
102 super.addValue(message, value, type, unit); in addValue()
115 public void addValues(String source, String message, double[] values, ResultType type, in addValues() argument
117 super.addValues(source, message, values, type, unit); in addValues()
129 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument
130 super.addValues(message, values, type, unit); in addValues()
142 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument
154 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument
[all …]
/test/suite_harness/common/host-side/tradefed/tests/res/testdata/
Dperf-dump.txt1 record mmap2: type 10, misc 1, size 136
9 record mmap2: type 10, misc 8194, size 136
17 record comm: type 3, misc 0, size 64
23 record comm: type 3, misc 8192, size 64
29 record mmap2: type 10, misc 8194, size 136
37 record mmap2: type 10, misc 1, size 126
45 record mmap2: type 10, misc 8194, size 136
53 record mmap2: type 10, misc 8194, size 136
61 record mmap2: type 10, misc 8194, size 136
69 record mmap2: type 10, misc 8194, size 136
[all …]
/test/vts-testcase/kernel/bow/
DBowTest.cpp181 SectorTypes type; member
185 return type == te.type && offset == te.offset; in operator ==()
203 te.type = SECTOR0; in GetTable()
205 te.type = SECTOR0_CURRENT; in GetTable()
207 te.type = UNCHANGED; in GetTable()
209 te.type = BACKUP; in GetTable()
211 te.type = FREE; in GetTable()
213 te.type = CHANGED; in GetTable()
215 te.type = TOP; in GetTable()
264 int Write(SectorTypes type) { in Write() argument
[all …]
/test/vts-testcase/kernel/ltp/testcase/tools/
Dgen_ltp_config.py43 type=str,
49 type=int,
55 type=str,
61 type=str,
67 type=str,
/test/dittosuite/example/android/
Dbinder_nested_parcel.ditto9 type: PARCEL,
14 type: STRING_16,
19 type: STRING_16,
Dbinder_gen.ditto11 type: STRING_16,
/test/mlts/benchmark/tools/
Dconvert_binary_to_img.py44 …parser.add_argument('-i','--input', type=str, required=True, help='Path to input binary file. File…
45 …parser.add_argument('-s','--shape', type=int, required=True, nargs=3, help='Output image shape. e.…
/test/app_compat/csuite/tools/script/
Dgenerate_module.py215 type=_file_path,
220 type=_dir_path,
225 type=_file_path,
230 type=_file_path,
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DTestUtils.java516 public void addTestArtifact(String name, LogDataType type, byte[] bytes) { in addTestArtifact() argument
517 mTestLogData.addTestLog(name, type, new ByteArrayInputStreamSource(bytes)); in addTestArtifact()
521 public void addTestArtifact(String name, LogDataType type, File file) { in addTestArtifact() argument
522 mTestLogData.addTestLog(name, type, new FileInputStreamSource(file)); in addTestArtifact()
526 public void addTestArtifact(String name, LogDataType type, InputStreamSource source) { in addTestArtifact() argument
527 mTestLogData.addTestLog(name, type, source); in addTestArtifact()
540 void addTestArtifact(String name, LogDataType type, byte[] bytes); in addTestArtifact() argument
549 void addTestArtifact(String name, LogDataType type, InputStreamSource inputStreamSource); in addTestArtifact() argument
558 void addTestArtifact(String name, LogDataType type, File file); in addTestArtifact() argument
/test/vts-testcase/hal/treble/vintf/
Dutils.cpp160 Partition PartitionOfType(SchemaType type) { in PartitionOfType() argument
161 switch (type) { in PartitionOfType()
180 *os << to_string(v->type()) << " manifest"; in PrintTo()
DSingleManifestTest.cpp337 Partition expected_partition = PartitionOfType(manifest->type()); in TEST_P()
406 auto expected_partition = PartitionOfType(manifest->type()); in TEST_P()
433 << manifest->type() in TEST_P()
713 const std::string type = package + "." + interface; in TEST_P() local
714 const std::string name = type + "/" + instance; in TEST_P()
728 metadataForInterface(type); in TEST_P()
764 std::cout << "INFO: using unfrozen hash '" << hash << "' for " << type in TEST_P()
778 std::cout << "INFO: missing hash for " << type in TEST_P()
/test/dittosuite/
Dditto2cpp.py26 type=str)
28 help="Source .ditto files", type=str)
/test/mlts/benchmark/jni/
Drun_tflite.cpp260 switch (input_tensor->type) { in setInput()
295 switch (output_tensor->type) { in getOutputError()
318 FATAL("Output sensor type %d not supported", output_tensor->type); in getOutputError()
577 bool BenchmarkModel::benchmarkSingleTypeOfCompilation(CompilationBenchmarkType type, in benchmarkSingleTypeOfCompilation() argument
587 if (type == CompilationBenchmarkType::PREPARE_FROM_CACHE) { in benchmarkSingleTypeOfCompilation()
599 switch (type) { in benchmarkSingleTypeOfCompilation()
612 static_cast<int>(type)); in benchmarkSingleTypeOfCompilation()
640 bool BenchmarkModel::benchmarkSingleTypeOfCompilationWithWarmup(CompilationBenchmarkType type, in benchmarkSingleTypeOfCompilationWithWarmup() argument
648 bool success = benchmarkSingleTypeOfCompilation(type, in benchmarkSingleTypeOfCompilationWithWarmup()
658 success = benchmarkSingleTypeOfCompilation(type, in benchmarkSingleTypeOfCompilationWithWarmup()
Drun_tflite.h140 bool benchmarkSingleTypeOfCompilation(CompilationBenchmarkType type,
145 bool benchmarkSingleTypeOfCompilationWithWarmup(CompilationBenchmarkType type,
/test/dittosuite/schema/
DAndroid.bp17 type: "full",
Dbenchmark.proto35 oneof type { oneof
82 optional Type type = 1; field
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java404 for (String type : mResultTypes) { in setupFields()
405 if (!type.equals(PASSED) && !type.equals(FAILED) && !type.equals(NOT_EXECUTED)) { in setupFields()
406 throw new ConfigurationException(String.format("result type %s invalid", type)); in setupFields()
/test/mlts/benchmark/results/
Dgenerate_result.py434 result.backend_type + ', ' + snake_case_to_title(type)
436 for type in COMPILATION_TYPES
437 if getattr(result.compilation_results, type)
440 getattr(result.compilation_results, type)
442 for type in COMPILATION_TYPES
443 if getattr(result.compilation_results, type)
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java188 public void testLog(String name, LogDataType type, InputStreamSource stream) { in testLog() argument
195 LogFile info = new LogFile(name, null, type); in testLog()
204 logFile = mTestLogSaver.saveAndGZipLogData(name, type, inputStream); in testLog()
208 logFile = mTestLogSaver.saveLogData(name, type, inputStream); in testLog()
DCertificationReportCreator.java280 IConfiguration configuration, File resultFile, String dataName, LogDataType type) { in logReportFiles() argument
289 loggedFile = saver.saveLogData(dataName, type, stream); in logReportFiles()
298 listener.testLog(dataName, type, source); in logReportFiles()
/test/vts-testcase/kernel/encryption/
Dutils.cpp286 if (!GetFsBlockDeviceAndType(mountpoint, &info->fs_blk_device, &info->type)) in GetFilesystemInfo()
289 if (!GetFilesystemUuid(info->fs_blk_device, info->type, &info->uuid)) in GetFilesystemInfo()
296 << " with type " << info->type << "; UUID is " in GetFilesystemInfo()
Dvts_kernel_encryption.h115 std::string type; member
/test/dittosuite/include/ditto/
Dresult.h39 void AddMeasurement(const std::string& type, const std::vector<double>& samples);
/test/vts-testcase/security/avb/
DAndroid.bp87 type: "full",

12